- Feb 11, 2010
-
-
Chris Lattner authored
llvm-svn: 95915
-
Chris Lattner authored
use a multipattern that generates both the 1-byte and 4-byte versions from the same defm llvm-svn: 95901
-
Chris Lattner authored
fixes the remaining x86-64 jit failures afaik. llvm-svn: 95867
-
Chris Lattner authored
r12b, etc) also encodes to a R/M value of 4, which is just as illegal as ESP/RSP for the non-sib version an address. This fixes x86-64 jit miscompilations of a bunch of programs. llvm-svn: 95866
-
Chris Lattner authored
Stub out some dummy fixups to make things work. We can now emit fixups like this: subl $20, %esp ## encoding: [0x83,0xec,A] ## fixup A - offset: 2, value: 20, kind: fixup_1byte_imm Emitting $20 as a single-byte fixup to be later resolved by the assembler is ridiculous of course (vs just emitting the byte) but this is a failure of the matcher, which should be producing an imm of 20, not an MCExpr of 20. llvm-svn: 95860
-
Chris Lattner authored
and rename it to EmitImmediate. llvm-svn: 95859
-
Chris Lattner authored
llvm-svn: 95858
-
Chris Lattner authored
llvm-svn: 95857
-
Mon P Wang authored
lowering and requires that certain types exist in ValueTypes.h. Modified widening to check if an op can trap and if so, the widening algorithm will apply only the op on the defined elements. It is safer to do this in widening because the optimizer can't guarantee removing unused ops in some cases. llvm-svn: 95823
-
- Feb 10, 2010
-
-
Eli Friedman authored
code with lots of bitfields. llvm-svn: 95809
-
Daniel Dunbar authored
x86_32-encoding.s in on expectation of it passing. llvm-svn: 95806
-
Dan Gohman authored
llvm-svn: 95781
-
Chris Lattner authored
displacement values. llvm-svn: 95773
-
Chris Lattner authored
throughout the X86 encoder. llvm-svn: 95771
-
Chris Lattner authored
even for the immediate case. No functionality change. llvm-svn: 95770
-
Daniel Dunbar authored
MCInst it came from. llvm-svn: 95767
-
Chris Lattner authored
OutStreamer.AddBlankLine instead of textually. llvm-svn: 95734
-
Kevin Enderby authored
prefix which is part of the opcode encoding. llvm-svn: 95729
-
Chris Lattner authored
Enhance the x86 backend to show the hex values of immediates in comments when they are large. For example: movl $1072693248, 4(%esp) ## imm = 0x3FF00000 llvm-svn: 95728
-
David Greene authored
TableGen fragment refactoring. Move some utility TableGen defs, classes, etc. into a common file so they may be used my multiple pattern files. We will use this for the AVX specification to help with the transition from the current SSE specification. llvm-svn: 95727
-
Daniel Dunbar authored
llvm-svn: 95709
-
- Feb 09, 2010
-
-
Daniel Dunbar authored
llvm-svn: 95708
-
Chris Lattner authored
llvm-svn: 95699
-
Chris Lattner authored
in X86-32 mode. This is still required in x86-64 mode to avoid forming [disp+rip] encoding. Rewrite the SIB byte decision logic to be actually understandable. llvm-svn: 95693
-
Chris Lattner authored
a confusing idiom to check for ESP or RSP. llvm-svn: 95690
-
Chris Lattner authored
llvm-svn: 95689
-
Chris Lattner authored
into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
-
Chris Lattner authored
llvm-svn: 95650
-
Chris Lattner authored
llvm-svn: 95649
-
Chris Lattner authored
llvm-svn: 95634
-
Chris Lattner authored
llvm-svn: 95627
-
Chris Lattner authored
2 files changed, 48 insertions(+), 83 deletions(-) llvm-svn: 95599
-
- Feb 08, 2010
-
-
Chris Lattner authored
backend to use X86MCTargetExpr, simplifying a bunch of code. llvm-svn: 95595
-
Sean Callanan authored
for register tokens. Before, if it encountered '%al,' it would report 'al,' as the token. Now it correctly reports '%al'. llvm-svn: 95594
-
Chris Lattner authored
llvm-svn: 95593
-
Chris Lattner authored
representing @GOT and friends. Use it for personality references as a first use. llvm-svn: 95588
-
Dan Gohman authored
its current purpose. llvm-svn: 95564
-
Torok Edwin authored
Thanks to Kristaps Straupe for noticing the bug. llvm-svn: 95537
-
- Feb 06, 2010
-
-
Evan Cheng authored
only run for x86 with fastisel. I've found it being very effective in eliminating some obvious dead code as result of formal parameter lowering especially when tail call optimization eliminated the need for some of the loads from fixed frame objects. It also shrinks a number of the tests. A couple of tests no longer make sense and are now eliminated. llvm-svn: 95493
-
Evan Cheng authored
Do not emit callseq instructions around sibcalls. This eliminated some unnecessary stack adjustments. llvm-svn: 95475
-