Commit Graph

905 Commits

Author SHA1 Message Date
Evan Cheng
12d3a91386 Test inline asm modifier 'c'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35036 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-08 22:45:31 +00:00
Chris Lattner
7754d2fd8d upgrade this testcase, add test for fp immediate to memory operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35034 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-08 22:33:06 +00:00
Bill Wendling
71b91ac76f Add MMX arithmetic testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35032 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-08 22:14:51 +00:00
Evan Cheng
c795466254 Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35029 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-08 19:27:32 +00:00
Evan Cheng
fd9429ab4b New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35006 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-07 08:12:39 +00:00
Evan Cheng
ba0d804aa7 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34991 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-07 00:13:48 +00:00
Bill Wendling
229baffc4e Add the emms intrinsic for MMX support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34938 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-05 23:09:45 +00:00
Lauro Ramos Venancio
6d7dd8ef46 Use init_array/fini_array sections for static contructors/destructors when the ABI is AAPCS.
Fix SingleSource/Regression/C/ConstructorDestructorAttributes test on arm-linux-gnueabi.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34931 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-05 17:59:58 +00:00
Chris Lattner
53546d8ab4 new testcase, corresponds to:
long long test(long long A, unsigned B) {
  return (A + ((long long)B << 32));
}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34911 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-04 20:39:47 +00:00
Chris Lattner
4f263a00bf New testcase for PR1239
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34892 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-03 23:42:50 +00:00
Evan Cheng
c6214693a4 Add a new test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34842 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-02 10:37:19 +00:00
Anton Korobeynikov
9dd9abd87f Ensure that fastcall'ed function is correctly mangled & stack is
properly aligned


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34788 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-01 16:29:22 +00:00
Chris Lattner
ba3f7c6e83 Eliminate enable-x86-fastcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34753 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-28 18:38:58 +00:00
Chris Lattner
7e08570379 fastcc -> fastcall
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34749 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-28 18:35:36 +00:00
Chris Lattner
b5d808887a fastcc -> fastcall
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34747 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-28 18:21:50 +00:00
Chris Lattner
08553f9a33 fastcc -> fastcall
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34746 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-28 17:42:50 +00:00
Evan Cheng
63f8a21545 Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34710 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-28 00:36:33 +00:00
Reid Spencer
87d266e593 This test passes on x86/Linux now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34686 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-27 20:46:44 +00:00
Reid Spencer
79224c4407 XFAIL this on x86-Linux until its fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34651 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-27 02:45:12 +00:00
Chris Lattner
6c0880c624 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34622 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-26 03:16:20 +00:00
Chris Lattner
df6b57ad48 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34614 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 23:08:29 +00:00
Chris Lattner
f82435d4d7 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34612 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 22:23:15 +00:00
Jim Laskey
98770d4ed2 Test for PR1224.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34609 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 21:43:21 +00:00
Chris Lattner
113296ba51 verify that double is returned in XMM0 if the function is fastcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34591 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 09:30:03 +00:00
Chris Lattner
f4acec1be8 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34583 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 08:23:01 +00:00
Chris Lattner
4283c118cf verify i128 return on x86-64 continues to codegen optimally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34575 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 06:06:49 +00:00
Chris Lattner
8c0261b590 testcase for PR1219
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34550 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-24 02:08:00 +00:00
Bill Wendling
e36126e474 Make the testcase correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34543 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 23:23:41 +00:00
Bill Wendling
4e9dc936b3 Testcase for PR1164
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34542 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 23:19:32 +00:00
Bill Wendling
145aad04db PR1164:
Generate local names with a "llvm_cbe_" prefix using the actual name of the
variable instead of a temporary name.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34540 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 22:45:08 +00:00
Jim Laskey
da10e3350a New test - practically wrote itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34538 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 22:12:08 +00:00
Lauro Ramos Venancio
acdfa445ac bugfix: SP wasn't updated for varargs when frame pointer was eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34537 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 21:53:48 +00:00
Lauro Ramos Venancio
600c383e5c Fix stack alignment in functions with varargs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34532 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 20:32:57 +00:00
Evan Cheng
0430a8df0e -march=arm -enable-thumb => -march=thumb
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34522 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-23 03:15:39 +00:00
Evan Cheng
85f00083f5 Added test case for PR1207.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34429 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-19 21:53:59 +00:00
Evan Cheng
d1b2c5b34d Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34427 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-19 21:47:02 +00:00
Chris Lattner
0f74372ebf new test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34372 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 06:57:11 +00:00
Chris Lattner
6e1472a928 Test that large absolute addresses are properly folded into addr modes on
both ppc32 and ppc64.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34370 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 06:41:57 +00:00
Chris Lattner
419116fb72 new testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34367 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 05:59:01 +00:00
Dale Johannesen
6070f2e2d2 adding PR 1200 comment by request
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34360 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 01:12:15 +00:00
Dale Johannesen
6b896cec8b Fixes PR 1200
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34359 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 00:44:34 +00:00
Chris Lattner
6985dca2a0 testcase for recent targetdata regression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34355 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-16 23:11:43 +00:00
Reid Spencer
1500515406 Update this test to compile properly and check against the correct
string generated by the CBE. This is no longer an XFAIL.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34327 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 21:01:58 +00:00
Chris Lattner
b42b411f74 sanity check for *basic* i128 arithmetic on all hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34259 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:59:21 +00:00
Chris Lattner
727c235840 new testcase, by Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34255 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:41:24 +00:00
Lauro Ramos Venancio
3630e78db9 Add ABI information to ARM subtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34245 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
876eaf1135 According to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34241 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 14:07:13 +00:00
Chris Lattner
b76f903fd3 new testcase for PR1197
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34215 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 01:05:10 +00:00
Chris Lattner
511e1d1456 Add ppc-specific test for better i64 compare codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34082 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-09 04:49:46 +00:00
Evan Cheng
1cbd333618 i64 setcc tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34067 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 22:27:55 +00:00