Chris Lattner
|
59fe2be1c4
|
fix a warning
llvm-svn: 35152
|
2007-03-19 00:39:32 +00:00 |
|
Devang Patel
|
2dabb16eac
|
Support 'I' inline asm constraint.
llvm-svn: 35129
|
2007-03-17 00:13:28 +00:00 |
|
Bill Wendling
|
8ced23ee5a
|
And now support for MMX logical operations.
llvm-svn: 35125
|
2007-03-16 09:44:46 +00:00 |
|
Bill Wendling
|
feaff80149
|
Multiplication support for MMX.
llvm-svn: 35118
|
2007-03-15 21:24:36 +00:00 |
|
Evan Cheng
|
00edaa08b5
|
Under X86-64 large code model, do not emit 32-bit pc relative calls.
llvm-svn: 35108
|
2007-03-14 22:11:11 +00:00 |
|
Evan Cheng
|
fc80b5b712
|
Notes about codegen issues.
llvm-svn: 35107
|
2007-03-14 21:03:53 +00:00 |
|
Evan Cheng
|
50a0af3b57
|
Clean up.
llvm-svn: 35105
|
2007-03-14 20:20:19 +00:00 |
|
Evan Cheng
|
2617c8dd3a
|
Oops.
llvm-svn: 35104
|
2007-03-14 19:44:58 +00:00 |
|
Evan Cheng
|
371b8e8fa9
|
X86-64 JIT is in large code model. Need stubs for direct calls.
llvm-svn: 35097
|
2007-03-14 10:51:55 +00:00 |
|
Evan Cheng
|
1092e481ce
|
x86-64 JIT stub codegen.
llvm-svn: 35096
|
2007-03-14 10:48:08 +00:00 |
|
Evan Cheng
|
15de6714a4
|
Preliminary support for X86-64 JIT stub codegen.
llvm-svn: 35095
|
2007-03-14 10:44:30 +00:00 |
|
Evan Cheng
|
0eeb8b59eb
|
More flexible TargetLowering LSR hooks for testing whether an immediate is
a legal target address immediate or scale.
llvm-svn: 35073
|
2007-03-12 23:28:50 +00:00 |
|
Evan Cheng
|
4224fa3617
|
Stupid bug: SSE2 supports v2i64 add / sub.
llvm-svn: 35070
|
2007-03-12 22:58:52 +00:00 |
|
Bill Wendling
|
236cfc4344
|
Adding more arithmetic operators to MMX. This is an almost exact copy of
the addition. Please let me know if you have suggestions.
llvm-svn: 35055
|
2007-03-10 09:57:05 +00:00 |
|
Bill Wendling
|
5fef3fd7e7
|
Added "padd*" support for MMX. Added MMX move stuff to X86InstrInfo so that
moves, loads, etc. are recognized.
llvm-svn: 35031
|
2007-03-08 22:09:11 +00:00 |
|
Evan Cheng
|
7d528d089c
|
Putting more constants which do not contain relocations into .literal{4|8|16}
llvm-svn: 35026
|
2007-03-08 08:31:54 +00:00 |
|
Evan Cheng
|
14b63d89c1
|
Put constant data to .const, .const_data, .literal{4|8|16} sections.
llvm-svn: 35016
|
2007-03-08 01:07:07 +00:00 |
|
Bill Wendling
|
8f49ba1000
|
Remove useless pattern fragments.
llvm-svn: 35009
|
2007-03-07 18:23:09 +00:00 |
|
Anton Korobeynikov
|
85d6c1ebad
|
Refactoring of formal parameter flags. Enable properly use of
zext/sext/aext stuff.
llvm-svn: 35008
|
2007-03-07 16:25:09 +00:00 |
|
Bill Wendling
|
3c201ddd02
|
Properly support v8i8 and v4i16 types. It now converts them to v2i32 for
load and stores.
llvm-svn: 35002
|
2007-03-07 05:43:18 +00:00 |
|
Anton Korobeynikov
|
090c2d50ea
|
Fix DWARF debugging information on x86/Linux and (hopefully)
Mingw32/Cygwin targets. This fixes PR978
llvm-svn: 35000
|
2007-03-07 02:47:57 +00:00 |
|
Bill Wendling
|
a02d43fbbd
|
Add LOAD/STORE support for MMX.
llvm-svn: 34978
|
2007-03-06 18:53:42 +00:00 |
|
Anton Korobeynikov
|
6da6c8c48b
|
Use new SDIselParamAttr enumeration. This removes "magick" constants
from formal attributes' flags processing.
llvm-svn: 34963
|
2007-03-06 08:12:33 +00:00 |
|
Bill Wendling
|
c52174dee3
|
Add the emms intrinsic for MMX support.
llvm-svn: 34938
|
2007-03-05 23:09:45 +00:00 |
|
Chris Lattner
|
6d7701714e
|
add missing braces
llvm-svn: 34905
|
2007-03-04 06:13:52 +00:00 |
|
Evan Cheng
|
2fb461c1b5
|
X86-64 VACOPY needs custom expansion. va_list is a struct { i32, i32, i8*, i8* }.
llvm-svn: 34857
|
2007-03-02 23:16:35 +00:00 |
|
Anton Korobeynikov
|
7cec92bcd2
|
Simplify things
llvm-svn: 34849
|
2007-03-02 21:50:27 +00:00 |
|
Chris Lattner
|
55dcf58453
|
argument lowering should copy from the vreg shadows of live-in arguments
passed in registers, not directly from the pregs themselves.
llvm-svn: 34838
|
2007-03-02 05:12:29 +00:00 |
|
Chris Lattner
|
e29ef5d9cb
|
add a note
llvm-svn: 34837
|
2007-03-02 05:04:52 +00:00 |
|
Anton Korobeynikov
|
eaf27d276a
|
Ensure that fastcall'ed function is correctly mangled & stack is
properly aligned
llvm-svn: 34788
|
2007-03-01 16:29:22 +00:00 |
|
Chris Lattner
|
bcc44762bc
|
remove dead option
llvm-svn: 34754
|
2007-02-28 18:39:53 +00:00 |
|
Chris Lattner
|
d8c7e8999e
|
bugfix: fastcall does not require the first two params to be marked 'inreg',
they always get registers.
llvm-svn: 34748
|
2007-02-28 18:35:11 +00:00 |
|
Chris Lattner
|
a66d550298
|
use high-level functions in CCState
llvm-svn: 34739
|
2007-02-28 07:09:55 +00:00 |
|
Chris Lattner
|
3663b6e73a
|
make use of helper functions in CCState for analyzing formals and calls.
llvm-svn: 34737
|
2007-02-28 07:00:42 +00:00 |
|
Chris Lattner
|
3762b44a0c
|
switch LowerFastCCCallTo over to using the new fastcall description.
llvm-svn: 34734
|
2007-02-28 06:26:33 +00:00 |
|
Chris Lattner
|
a8dd712470
|
switch LowerFastCCArguments over to using the autogenerated Fastcall description.
llvm-svn: 34733
|
2007-02-28 06:21:19 +00:00 |
|
Chris Lattner
|
9a1f1c41b0
|
add new CC_X86_32_FastCall calling conv, which describes fastcall on win32.
Factor out a CC_X86_32_Common convention, which is the part shared between
ccc, stdcall and fastcall
llvm-svn: 34732
|
2007-02-28 06:20:01 +00:00 |
|
Chris Lattner
|
3b16744840
|
rearrange code
llvm-svn: 34731
|
2007-02-28 06:10:12 +00:00 |
|
Chris Lattner
|
023751c20b
|
remove fastcc (not fastcall) support
llvm-svn: 34730
|
2007-02-28 06:05:16 +00:00 |
|
Chris Lattner
|
012066f78b
|
switch LowerCCCArguments over to using autogenerated CC.
llvm-svn: 34729
|
2007-02-28 05:46:49 +00:00 |
|
Chris Lattner
|
6424f8e245
|
simplify sret handling
llvm-svn: 34728
|
2007-02-28 05:39:26 +00:00 |
|
Chris Lattner
|
76147834d6
|
switch LowerCCCCallTo over to using an autogenerated callingconv
llvm-svn: 34727
|
2007-02-28 05:31:48 +00:00 |
|
Chris Lattner
|
d663281088
|
rename stuff
llvm-svn: 34726
|
2007-02-28 05:30:29 +00:00 |
|
Chris Lattner
|
eef57fed6e
|
switch return value passing and the x86-64 calling convention information
over to being autogenerated from the X86CallingConv.td file.
llvm-svn: 34722
|
2007-02-28 04:55:35 +00:00 |
|
Chris Lattner
|
3eb95551d7
|
make subtarget references work.
llvm-svn: 34721
|
2007-02-28 04:51:41 +00:00 |
|
Evan Cheng
|
116f97f2c7
|
PEI now passes a RegScavenger ptr to eliminateFrameIndex.
llvm-svn: 34707
|
2007-02-28 00:21:17 +00:00 |
|
Chris Lattner
|
da909a2df7
|
reenable generation of CC info
llvm-svn: 34699
|
2007-02-27 22:12:19 +00:00 |
|
Evan Cheng
|
b314459812
|
Back out previous commit temporarily.
llvm-svn: 34694
|
2007-02-27 21:47:22 +00:00 |
|
Chris Lattner
|
4d29a90170
|
build cc info
llvm-svn: 34684
|
2007-02-27 20:44:31 +00:00 |
|
Chris Lattner
|
da49dee51d
|
a note
llvm-svn: 34670
|
2007-02-27 17:21:09 +00:00 |
|