[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 17 12:47:28 PST 2005
Changes in directory llvm/lib/Target/SparcV8:
SparcV8InstrInfo.td updated: 1.61 -> 1.62
---
Log message:
add patterns for FP stores
---
Diffs of the changes: (+12 -20)
SparcV8InstrInfo.td | 32 ++++++++++++--------------------
1 files changed, 12 insertions(+), 20 deletions(-)
Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.61 llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.62
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.61 Sat Dec 17 14:44:36 2005
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.td Sat Dec 17 14:47:16 2005
@@ -206,29 +206,21 @@
// Section B.5 - Store Floating-point Instructions, p. 97
def STFrr : F3_1<3, 0b100100,
- (ops MEMrr:$addr, IntRegs:$src),
- "st $src, [$addr]", []>;
+ (ops MEMrr:$addr, FPRegs:$src),
+ "st $src, [$addr]",
+ [(store FPRegs:$src, ADDRrr:$addr)]>;
def STFri : F3_2<3, 0b100100,
- (ops MEMri:$addr, IntRegs:$src),
- "st $src, [$addr]", []>;
+ (ops MEMri:$addr, FPRegs:$src),
+ "st $src, [$addr]",
+ [(store FPRegs:$src, ADDRri:$addr)]>;
def STDFrr : F3_1<3, 0b100111,
- (ops MEMrr:$addr, IntRegs:$src),
- "std $src, [$addr]", []>;
+ (ops MEMrr:$addr, DFPRegs:$src),
+ "std $src, [$addr]",
+ [(store DFPRegs:$src, ADDRrr:$addr)]>;
def STDFri : F3_2<3, 0b100111,
- (ops MEMri:$addr, IntRegs:$src),
- "std $src, [$addr]", []>;
-def STFSRrr : F3_1<3, 0b100101,
- (ops MEMrr:$addr, IntRegs:$src),
- "st $src, [$addr]", []>;
-def STFSRri : F3_2<3, 0b100101,
- (ops MEMri:$addr, IntRegs:$src),
- "st $src, [$addr]", []>;
-def STDFQrr : F3_1<3, 0b100110,
- (ops MEMrr:$addr, IntRegs:$src),
- "std $src, [$addr]", []>;
-def STDFQri : F3_2<3, 0b100110,
- (ops MEMri:$addr, IntRegs:$src),
- "std $src, [$addr]", []>;
+ (ops MEMri:$addr, DFPRegs:$src),
+ "std $src, [$addr]",
+ [(store DFPRegs:$src, ADDRri:$addr)]>;
// Section B.9 - SETHI Instruction, p. 104
def SETHIi: F2_1<0b100,
More information about the llvm-commits
mailing list