Chris Lattner
|
4ee451de36
|
Remove attribution from file headers, per discussion on llvmdev.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-12-29 20:36:04 +00:00 |
|
Evan Cheng
|
cc41586b9d
|
Much improved pic jumptable codegen:
Then:
call "L1$pb"
"L1$pb":
popl %eax
...
LBB1_1: # entry
imull $4, %ecx, %ecx
leal LJTI1_0-"L1$pb"(%eax), %edx
addl LJTI1_0-"L1$pb"(%ecx,%eax), %edx
jmpl *%edx
.align 2
.set L1_0_set_3,LBB1_3-LJTI1_0
.set L1_0_set_2,LBB1_2-LJTI1_0
.set L1_0_set_5,LBB1_5-LJTI1_0
.set L1_0_set_4,LBB1_4-LJTI1_0
LJTI1_0:
.long L1_0_set_3
.long L1_0_set_2
Now:
call "L1$pb"
"L1$pb":
popl %eax
...
LBB1_1: # entry
addl LJTI1_0-"L1$pb"(%eax,%ecx,4), %eax
jmpl *%eax
.align 2
.set L1_0_set_3,LBB1_3-"L1$pb"
.set L1_0_set_2,LBB1_2-"L1$pb"
.set L1_0_set_5,LBB1_5-"L1$pb"
.set L1_0_set_4,LBB1_4-"L1$pb"
LJTI1_0:
.long L1_0_set_3
.long L1_0_set_2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43924 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-11-09 01:32:10 +00:00 |
|
Duncan Sands
|
14db5efbf0
|
Fix for visibility warnings generated by gcc-4.2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43500 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-10-30 13:14:37 +00:00 |
|
Dale Johannesen
|
59a587337e
|
Long double patch 4 of N: initial x87 implementation.
Lots of problems yet but some simple things work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40847 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-08-05 18:49:15 +00:00 |
|
Dan Gohman
|
63491b2e15
|
Delete the svn:executable property on these files, which aren't executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40441 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-07-23 19:26:08 +00:00 |
|
Chris Lattner
|
afbfdeddff
|
Implement getSectionForFunction, use it when printing function body.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30737 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-10-05 02:43:52 +00:00 |
|
Evan Cheng
|
25ab690a43
|
Committing X86-64 support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30177 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-09-08 06:48:29 +00:00 |
|
Jim Laskey
|
a0f3d17daa
|
Make target asm info a property of the target machine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30162 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-09-07 22:06:40 +00:00 |
|
Jim Laskey
|
563321a258
|
Separate target specific asm properties from the asm printers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30126 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-09-06 18:34:40 +00:00 |
|
Chris Lattner
|
2d90ac7ca6
|
Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28104 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-04 18:05:43 +00:00 |
|
Chris Lattner
|
ea50fabfd4
|
Remove a bunch more SparcV9 specific stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28093 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-04 01:15:02 +00:00 |
|
Jeff Cohen
|
51b776d259
|
De-virtualize SwitchSection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28047 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-02 03:58:45 +00:00 |
|
Jeff Cohen
|
c6a057b04d
|
De-virtualize EmitZeroes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28046 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-02 03:46:13 +00:00 |
|
Jeff Cohen
|
4f1ea1e9d9
|
Finish support for Microsoft ML/MASM. May still be a few rough edges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28045 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-02 03:11:50 +00:00 |
|
Jeff Cohen
|
c884db47f1
|
Make Intel syntax mode friendlier to Microsoft ML assembler (still needs more work).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28044 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-02 01:16:28 +00:00 |
|
Chris Lattner
|
99f2632b4b
|
Remove %'s from register names when in intel mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28027 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-05-01 05:53:50 +00:00 |
|
Evan Cheng
|
55c25f2a2f
|
I can't spell: Register, not Regsiter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28021 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-04-28 23:19:39 +00:00 |
|
Evan Cheng
|
62f2700bcf
|
Implemented x86 inline asm b, h, w, k modifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28020 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-04-28 23:11:40 +00:00 |
|
Evan Cheng
|
3d48a90fbd
|
Bare-bone X86 inline asm printer support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28014 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-04-28 21:19:05 +00:00 |
|
Evan Cheng
|
c4c6257c1a
|
Added getTargetLowering() to TargetMachine. Refactored targets to support this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26742 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-03-13 23:20:37 +00:00 |
|
Evan Cheng
|
3c992d291b
|
Enable Dwarf debugging info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26581 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-03-07 02:02:57 +00:00 |
|
Evan Cheng
|
470a6adc78
|
Added MMX, SSE1, and SSE2 vector instructions and some simple patterns.
Fixed some existing bugs (wrong predicates, prefixes) at the same time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26310 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-02-22 02:26:30 +00:00 |
|
Evan Cheng
|
7ccced634a
|
x86 / Darwin PIC support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26273 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-02-18 00:15:05 +00:00 |
|
Chris Lattner
|
a3b8c57b9e
|
Eliminate the printCallOperand method, using a 'call' modifier on
printOperand instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26025 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-02-06 23:41:19 +00:00 |
|
Evan Cheng
|
223547ab31
|
- Allow XMM load (for scalar use) to be folded into ANDP* and XORP*.
- Use XORP* to implement fneg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25857 91177308-0d34-0410-b5e6-96231b3b80d8
|
2006-01-31 22:28:30 +00:00 |
|
Nate Begeman
|
85a168a734
|
Fix a typo in my latest change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24542 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-11-30 18:57:39 +00:00 |
|
Nate Begeman
|
391c5d231a
|
No longer track value types for asm printer operands, and remove them as
an argument to every operand printing function. Requires some slight
tweaks to x86, the only user.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24541 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-11-30 18:54:35 +00:00 |
|
Nate Begeman
|
6c7cb29038
|
Add support for printing the sse scalar comparison instruction mnemonics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22440 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-07-14 22:52:25 +00:00 |
|
Chris Lattner
|
b36cbd0286
|
Refactor X86AsmPrinter.cpp into multiple files. Patch contributed
by Aaron Gray, cleaned up by me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22324 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-07-01 22:44:09 +00:00 |
|