aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.td
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-09-08 18:29:31 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-09-08 18:29:31 +0000
commit93c1ab2e1584262c978046bb118a7cc01218df0b (patch)
treec50042acaa0fef139c4e28ea2ccc5d71eb3d586e /lib/Target/X86/X86InstrInfo.td
parent978f629ba9409c9da26fc32ce50d385564c1dcc4 (diff)
downloadexternal_llvm-93c1ab2e1584262c978046bb118a7cc01218df0b.zip
external_llvm-93c1ab2e1584262c978046bb118a7cc01218df0b.tar.gz
external_llvm-93c1ab2e1584262c978046bb118a7cc01218df0b.tar.bz2
Use a shorter form to express implicit use/defs in FpGETRESULT and
FpSETRESULT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.td')
-rw-r--r--lib/Target/X86/X86InstrInfo.td10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index 67db9ea..2cab50b 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -885,13 +885,11 @@ def FpSUB : FPI<0, Pseudo, TwoArgFP , (ops RFP, RFP, RFP), "">; // f1 = fsub
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]