Chris Lattner
|
ad9a6ccb83
|
Remove attribution from file headers, per discussion on llvmdev.
llvm-svn: 45418
|
2007-12-29 20:36:04 +00:00 |
|
Anton Korobeynikov
|
58298cb9cc
|
Fix PIC jump table codegen on x86-32/linux. In fact, such thing should be applied
to all targets uses GOT-relative offsets for PIC (Alpha?)
llvm-svn: 44108
|
2007-11-14 09:18:41 +00:00 |
|
Evan Cheng
|
7d8deec92f
|
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
llvm-svn: 43924
|
2007-11-09 01:32:10 +00:00 |
|
Duncan Sands
|
f6837e8634
|
Fix for visibility warnings generated by gcc-4.2.
llvm-svn: 43500
|
2007-10-30 13:14:37 +00:00 |
|
Dale Johannesen
|
a85f11d870
|
Long double patch 4 of N: initial x87 implementation.
Lots of problems yet but some simple things work.
llvm-svn: 40847
|
2007-08-05 18:49:15 +00:00 |
|
Dan Gohman
|
e2dcfd1516
|
Delete the svn:executable property on these files, which aren't executable.
llvm-svn: 40441
|
2007-07-23 19:26:08 +00:00 |
|
Dan Gohman
|
d3b3703430
|
Say AT&T instead of Intel in the comments for AT&T support.
llvm-svn: 37716
|
2007-06-25 15:11:25 +00:00 |
|
Evan Cheng
|
adeea85f7d
|
- Switch X86-64 JIT to large code size model.
- Re-enable some codegen niceties for X86-64 static relocation model codegen.
- Clean ups, etc.
llvm-svn: 32238
|
2006-12-05 19:50:18 +00:00 |
|
Chris Lattner
|
758352e9b1
|
Implement getSectionForFunction, use it when printing function body.
llvm-svn: 30737
|
2006-10-05 02:43:52 +00:00 |
|
Evan Cheng
|
15dd42884e
|
Committing X86-64 support.
llvm-svn: 30177
|
2006-09-08 06:48:29 +00:00 |
|
Jim Laskey
|
9da25f6119
|
Make target asm info a property of the target machine.
llvm-svn: 30162
|
2006-09-07 22:06:40 +00:00 |
|
Jim Laskey
|
6b86ef852c
|
Separate target specific asm properties from the asm printers.
llvm-svn: 30126
|
2006-09-06 18:34:40 +00:00 |
|
Evan Cheng
|
a7ee4891c5
|
I can't spell: Register, not Regsiter.
llvm-svn: 28021
|
2006-04-28 23:19:39 +00:00 |
|
Evan Cheng
|
516164744a
|
Implemented x86 inline asm b, h, w, k modifiers.
llvm-svn: 28020
|
2006-04-28 23:11:40 +00:00 |
|
Evan Cheng
|
a8b295feb2
|
Bare-bone X86 inline asm printer support.
llvm-svn: 28014
|
2006-04-28 21:19:05 +00:00 |
|
Evan Cheng
|
7ec94f2ff7
|
Added getTargetLowering() to TargetMachine. Refactored targets to support this.
llvm-svn: 26742
|
2006-03-13 23:20:37 +00:00 |
|
Evan Cheng
|
2327759419
|
Enable Dwarf debugging info.
llvm-svn: 26581
|
2006-03-07 02:02:57 +00:00 |
|
Evan Cheng
|
005de9e2bb
|
Added MMX, SSE1, and SSE2 vector instructions and some simple patterns.
Fixed some existing bugs (wrong predicates, prefixes) at the same time.
llvm-svn: 26310
|
2006-02-22 02:26:30 +00:00 |
|
Evan Cheng
|
bf3558a375
|
x86 / Darwin PIC support.
llvm-svn: 26273
|
2006-02-18 00:15:05 +00:00 |
|
Chris Lattner
|
da4bd5c64e
|
Eliminate the printCallOperand method, using a 'call' modifier on
printOperand instead.
llvm-svn: 26025
|
2006-02-06 23:41:19 +00:00 |
|
Evan Cheng
|
45ebd632f2
|
- Allow XMM load (for scalar use) to be folded into ANDP* and XORP*.
- Use XORP* to implement fneg.
llvm-svn: 25857
|
2006-01-31 22:28:30 +00:00 |
|
Nate Begeman
|
84be54b731
|
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.
llvm-svn: 24541
|
2005-11-30 18:54:35 +00:00 |
|
Nate Begeman
|
8c2dadc92e
|
Add support for printing the sse scalar comparison instruction mnemonics.
llvm-svn: 22440
|
2005-07-14 22:52:25 +00:00 |
|
Chris Lattner
|
b299933fc7
|
Refactor X86AsmPrinter.cpp into multiple files. Patch contributed
by Aaron Gray, cleaned up by me.
llvm-svn: 22324
|
2005-07-01 22:44:09 +00:00 |
|