[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Sep 8 11:29:42 PDT 2004
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.td updated: 1.102 -> 1.103
---
Log message:
Use a shorter form to express implicit use/defs in FpGETRESULT and
FpSETRESULT.
---
Diffs of the changes: (+4 -6)
Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.102 llvm/lib/Target/X86/X86InstrInfo.td:1.103
--- llvm/lib/Target/X86/X86InstrInfo.td:1.102 Wed Sep 8 11:54:54 2004
+++ llvm/lib/Target/X86/X86InstrInfo.td Wed Sep 8 13:29:31 2004
@@ -885,13 +885,11 @@
def FpMUL : FPI<0, Pseudo, TwoArgFP , (ops RFP, RFP, RFP), "">; // f1 = fmul f2, f3
def FpDIV : FPI<0, Pseudo, TwoArgFP , (ops RFP, RFP, RFP), "">; // f1 = fdiv f2, f3
-let Uses = [ST0] in {
- def FpGETRESULT : FPI<0, Pseudo, SpecialFP, (ops RFP), "">; // FPR = ST(0)
-}
+def FpGETRESULT : FPI<0, Pseudo, SpecialFP, (ops RFP), "">,
+ Imp<[ST0], []>; // FPR = ST(0)
-let Defs = [ST0] in {
- def FpSETRESULT : FPI<0, Pseudo, SpecialFP, (ops RFP), "">; // ST(0) = FPR
-}
+def FpSETRESULT : FPI<0, Pseudo, SpecialFP, (ops RFP), "">,
+ Imp<[], [ST0]>; // ST(0) = FPR
// FADD reg, mem: Before stackification, these are represented by: R1 = FADD* R2, [mem]
def FADD32m : FPI<0xD8, MRM0m, OneArgFPRW, (ops f32mem:$src), "fadd $src">; // ST(0) = ST(0) + [mem32real]
More information about the llvm-commits
mailing list