- Feb 13, 2010
-
-
Daniel Dunbar authored
llvm-svn: 96055
-
Chris Lattner authored
encoder and decoder by using new MRM_ forms. llvm-svn: 96048
-
Chris Lattner authored
rip-relative addresses, and add a testcase. llvm-svn: 96040
-
Chris Lattner authored
llvm-svn: 96038
-
Chris Lattner authored
addressing. This isn't complete because I need an MCContext to generate new MCExprs. llvm-svn: 96036
-
- Feb 12, 2010
-
-
Chris Lattner authored
llvm-svn: 96031
-
Chris Lattner authored
llvm-svn: 96029
-
Chris Lattner authored
llvm-svn: 96028
-
Chris Lattner authored
is pc relative or not, mark call and branches as pcrel. llvm-svn: 96026
-
Chris Lattner authored
llvm-svn: 96011
-
Anton Korobeynikov authored
llvm-svn: 95981
-
Anton Korobeynikov authored
This should fix alot of problems we saw so far, e.g. PRs 5851 & 2936 llvm-svn: 95980
-
Chris Lattner authored
This will work better for the disassembler for modeling things like lfence/monitor/vmcall etc. llvm-svn: 95960
-
Chris Lattner authored
great solution for the disassembler, we'll go with "plan b". llvm-svn: 95957
-
Daniel Dunbar authored
with "tied memory operands", which is wrong. llvm-svn: 95950
-
Chris Lattner authored
llvm-svn: 95949
-
Nate Begeman authored
movq (%ecx,%edx,2), %xmm2 movhps (%ecx,%eax,2), %xmm2 rather than: movq (%eax, %edx, 2), %xmm2 movq (%eax, %ebx, 2), %xmm3 movlhps %xmm3, %xmm2 Testcase forthcoming. llvm-svn: 95948
-
Chris Lattner authored
busted in both encoders. I'm not bothering to fix it in the old one at this point. llvm-svn: 95947
-
- Feb 11, 2010
-
-
Chris Lattner authored
testb %al, %al ## <MCInst #2412 TEST8rr ## <MCOperand Reg:2> ## <MCOperand Reg:2>> jne LBB1_7 ## <MCInst #938 JNE_1 ## <MCOperand Expr:(LBB1_7)>> llvm-svn: 95935
-
Chris Lattner authored
implemented, llvm-mc --show-inst now uses it to print the instruction opcode as well as the number. llvm-svn: 95929
-
Chris Lattner authored
8 or 32-bit immediates, which allows the new encoder to handle them. llvm-svn: 95927
-
Chris Lattner authored
the tables to be const. Teach MCCodeEmitter to handle the target-indep kinds so that we don't crash on them. llvm-svn: 95924
-
Chris Lattner authored
llvm-svn: 95920
-
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
-