1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
Commit Graph

2875 Commits

Author SHA1 Message Date
Rafael Espindola
413aa20bc8 compare doubles
llvm-svn: 30856
2006-10-10 16:33:47 +00:00
Rafael Espindola
4ea6435132 add some tests for floating point compare
llvm-svn: 30855
2006-10-10 14:26:06 +00:00
Evan Cheng
2fc9d4f580 Add test case from PR940.
llvm-svn: 30852
2006-10-10 04:33:46 +00:00
Evan Cheng
ddd78757d1 shufps with load folding is better than movaps; movsd.
llvm-svn: 30849
2006-10-09 22:42:31 +00:00
Rafael Espindola
0e13b176ed add some tests for floating point arithmetic
llvm-svn: 30840
2006-10-09 19:15:17 +00:00
Rafael Espindola
bae07b25d6 add float -> double and double -> float conversion
llvm-svn: 30835
2006-10-09 17:50:29 +00:00
Chris Lattner
15afec7495 xfail this until andrew has a chance to implement the alpha TM method.
llvm-svn: 30833
2006-10-09 17:34:40 +00:00
Rafael Espindola
6abf128f64 add a test for adds adcs
llvm-svn: 30832
2006-10-09 17:30:15 +00:00
Chris Lattner
967f755f45 new testcase for PR892
llvm-svn: 30824
2006-10-08 23:52:06 +00:00
Chris Lattner
724ebf87a0 new testcase for SROA for stuff like "union { int*, float* }".
llvm-svn: 30822
2006-10-08 23:27:37 +00:00
Chris Lattner
8a76c70571 new testcase we miscompile
llvm-svn: 30816
2006-10-07 21:54:08 +00:00
Rafael Espindola
38e9e2e01d implement FUITOS and FUITOD
llvm-svn: 30803
2006-10-07 14:24:52 +00:00
Rafael Espindola
90a24709fb implement FLDD
llvm-svn: 30802
2006-10-07 14:03:39 +00:00
Rafael Espindola
54301ca490 add support for calling functions that return double
llvm-svn: 30771
2006-10-06 19:10:05 +00:00
Rafael Espindola
d870b158b3 fix some bugs affecting functions with no arguments
llvm-svn: 30767
2006-10-06 17:26:30 +00:00
Rafael Espindola
f679bdf121 add support for calling functions that have double arguments
llvm-svn: 30765
2006-10-06 12:50:22 +00:00
Rafael Espindola
f0e4950ef4 implement a ArgumentLayout class to factor code common to LowerFORMAL_ARGUMENTS and LowerCALL
implement FMDRR
add support for f64 function arguments

llvm-svn: 30754
2006-10-05 16:48:49 +00:00
Chris Lattner
6f645eeac6 new testcase
llvm-svn: 30751
2006-10-05 06:51:54 +00:00
Andrew Lenharth
ff4a3b5545 Check that jump tables wind up in the rodata section
llvm-svn: 30747
2006-10-05 03:27:52 +00:00
Chris Lattner
bf18a53eb9 Verify that jump tables are emitted to the same section as the function is,
when codegen'ing in pic mode.  This fixes a miscompilation of a switch stmt
in a template, as the template goes to a non-.text section.

llvm-svn: 30743
2006-10-05 03:12:36 +00:00
Chris Lattner
097967c438 pattern match min/max nodes
llvm-svn: 30718
2006-10-04 06:56:02 +00:00
Rafael Espindola
b77754ce4d Implement floating point constants
llvm-svn: 30704
2006-10-03 17:27:58 +00:00
Chris Lattner
a74ee6650d testcase for PR933
llvm-svn: 30702
2006-10-03 17:17:54 +00:00
Nick Lewycky
0da988d8a7 Move break-crit-edges before the predicate simplifier. Allows us to
optimize in more cases.

llvm-svn: 30699
2006-10-03 14:52:23 +00:00
Chris Lattner
1fb57b827d New testcase for PR932
llvm-svn: 30695
2006-10-03 07:00:13 +00:00
Rafael Espindola
36c3e0028b fix the names of the 64bit fp register
initial support for returning 64bit floating point numbers

llvm-svn: 30692
2006-10-02 19:30:56 +00:00
Chris Lattner
6af8b25e96 New testcase
llvm-svn: 30683
2006-10-01 22:35:45 +00:00
Chris Lattner
495e607273 new testcase, malloc should be promoted to [2 x double].
llvm-svn: 30681
2006-10-01 19:39:45 +00:00
Rafael Espindola
1b39270c95 add floating point registers
implement SINT_TO_FP

llvm-svn: 30673
2006-09-29 21:20:16 +00:00
Chris Lattner
b4e7c0864c Adjust this to the wonky syntax that GCC expects.
llvm-svn: 30670
2006-09-29 17:34:56 +00:00
Reid Spencer
01dbd99342 Use the -emit-llvm switch to generate LLVM assembly that can be parsed
by the test case.

llvm-svn: 30654
2006-09-28 21:36:21 +00:00
Reid Spencer
a9cff027ba Add a test case for PR902.
llvm-svn: 30653
2006-09-28 21:20:05 +00:00
Chris Lattner
69a6c409d3 new testcase
llvm-svn: 30651
2006-09-28 20:48:17 +00:00
Chris Lattner
91b0d2fded Testcase for PR924
llvm-svn: 30649
2006-09-28 18:58:02 +00:00
Jim Laskey
70a90d65c9 Make sure C++ protection shows up in debug info
llvm-svn: 30626
2006-09-27 16:55:19 +00:00
Devang Patel
e7c6b0e0e5 Add http://llvm.org/bugs/show_bug.cgi?id=923 test case.
llvm-svn: 30622
2006-09-27 02:58:44 +00:00
Chris Lattner
c5f6ea0da9 test that the no_dead_strip directive is emitted on darwin-x86
llvm-svn: 30607
2006-09-26 03:44:20 +00:00
John Criswell
eda10c2fcd Regression test for PR#922.
llvm-svn: 30599
2006-09-25 19:12:01 +00:00
Andrew Lenharth
9746e69742 Fix
llvm-svn: 30596
2006-09-25 14:04:53 +00:00
Andrew Lenharth
c6ed3c74e7 basic jump table test
llvm-svn: 30592
2006-09-24 19:42:02 +00:00
Bill Wendling
a609cf48a3 Use "%llvmgxx" instead of "llvm-g++".
llvm-svn: 30580
2006-09-22 07:09:01 +00:00
Nate Begeman
29f99e606d Testcase for better rotate left and mask support
llvm-svn: 30579
2006-09-22 05:49:57 +00:00
Bill Wendling
e1c45087bd Regression testcase for PR855.
llvm-svn: 30578
2006-09-22 05:34:25 +00:00
Rafael Espindola
a51ec7153c more condition codes
llvm-svn: 30567
2006-09-21 13:06:26 +00:00
Rafael Espindola
4de4f87be5 if a constant can't be an immediate, add it to the constant pool
llvm-svn: 30566
2006-09-21 11:29:52 +00:00
Chris Lattner
0ba3a4b93c new testcase
llvm-svn: 30554
2006-09-21 05:11:01 +00:00
Nick Lewycky
eb301d20a6 Once we're down to "setcc type constant1, constant2", at least come up
with the right answer.

llvm-svn: 30550
2006-09-20 23:02:24 +00:00
Nick Lewycky
99b3c50130 Use a total ordering to compare instructions.
Fixes infinite loop in resolve().

llvm-svn: 30540
2006-09-20 17:04:01 +00:00
Andrew Lenharth
054efcd85d catch another constant
llvm-svn: 30533
2006-09-20 15:04:55 +00:00
Chris Lattner
2d711ecbc2 new testcase
llvm-svn: 30516
2006-09-20 06:40:37 +00:00