llvm-6502/lib/Target/X86
Chris Lattner d62d5d7e5b Split compare instruction handling OUT of handleTwoArgFP into handleCompareFP.
This makes the code much simpler, and the two cases really do belong apart.
Once we do it, it's pretty obvious how flawed the logic was for A != A case,
so I fixed it (fixing PR369).

This also uses freeStackSlotAfter instead of inserting an fxchg then
popStackAfter'ing in the case where there is a dead result (unlikely, but
possible), producing better code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14139 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 04:25:06 +00:00
..
.cvsignore Tell CVS to ignore all .inc files 2003-08-03 15:50:17 +00:00
FloatingPoint.cpp Split compare instruction handling OUT of handleTwoArgFP into handleCompareFP. 2004-06-11 04:25:06 +00:00
InstSelectPattern.cpp Clean up a lot of the code I added yesterday by exposing the IntrinsicLowering 2003-12-28 21:23:38 +00:00
InstSelectSimple.cpp Fix for PR#366. We use getClassB() so that we can handle cast instructions 2004-06-09 15:18:51 +00:00
Makefile Tablgen files for really simple instruction selector 2004-04-06 19:34:00 +00:00
PeepholeOptimizer.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
Printer.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
X86.h Tablgen files for really simple instruction selector 2004-04-06 19:34:00 +00:00
X86.td Add support for the printImplicitDefsBefore flag 2004-04-13 17:18:39 +00:00
X86AsmPrinter.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
X86CodeEmitter.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
X86FloatingPoint.cpp Split compare instruction handling OUT of handleTwoArgFP into handleCompareFP. 2004-06-11 04:25:06 +00:00
X86InstrBuilder.h Add assertion for scale verification. 2004-03-04 18:05:02 +00:00
X86InstrInfo.cpp A big X86 instruction rename. The instructions are renamed to make 2004-02-29 08:50:03 +00:00
X86InstrInfo.h Add support for the printImplicitDefsBefore flag 2004-04-13 17:18:39 +00:00
X86InstrInfo.td Add immediate forms of in/out. Use let to shorten lines 2004-04-13 17:19:31 +00:00
X86InstrSel.td Tablgen files for really simple instruction selector 2004-04-06 19:34:00 +00:00
X86InstrSelInfo.td Tablgen files for really simple instruction selector 2004-04-06 19:34:00 +00:00
X86ISelPattern.cpp Clean up a lot of the code I added yesterday by exposing the IntrinsicLowering 2003-12-28 21:23:38 +00:00
X86ISelSimple.cpp Fix for PR#366. We use getClassB() so that we can handle cast instructions 2004-06-09 15:18:51 +00:00
X86JITInfo.h Clean up a lot of the code I added yesterday by exposing the IntrinsicLowering 2003-12-28 21:23:38 +00:00
X86PeepholeOpt.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
X86RegisterInfo.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
X86RegisterInfo.h Another API change to MRegisterInfo::foldMemoryOperand. Instead of a 2004-03-14 20:14:27 +00:00
X86RegisterInfo.td Improve allocation order: 2004-02-29 09:17:01 +00:00
X86SimpInstrSelector.cpp Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00
X86TargetMachine.cpp Fix the fixed stack offset, patch contributed by Vladimir Prus 2004-06-10 06:19:25 +00:00
X86TargetMachine.h Convert to the new TargetMachine interface. 2004-06-02 05:55:25 +00:00