[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 17 12:43:07 PST 2005
Changes in directory llvm/lib/Target/SparcV8:
SparcV8InstrInfo.td updated: 1.59 -> 1.60
---
Log message:
Add store patterns
---
Diffs of the changes: (+6 -3)
SparcV8InstrInfo.td | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.59 llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.60
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.59 Sat Dec 17 14:32:47 2005
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.td Sat Dec 17 14:42:55 2005
@@ -175,13 +175,16 @@
// Section B.4 - Store Integer Instructions, p. 95
def STBri : F3_2<3, 0b000101,
(ops MEMri:$addr, IntRegs:$src),
- "stb $src, [$addr]", []>;
+ "stb $src, [$addr]",
+ [(truncstore IntRegs:$src, ADDRri:$addr, i8)]>;
def STHri : F3_2<3, 0b000110,
(ops MEMri:$addr, IntRegs:$src),
- "sth $src, [$addr]", []>;
+ "sth $src, [$addr]",
+ [(truncstore IntRegs:$src, ADDRri:$addr, i16)]>;
def STri : F3_2<3, 0b000100,
(ops MEMri:$addr, IntRegs:$src),
- "st $src, [$addr]", []>;
+ "st $src, [$addr]",
+ [(store IntRegs:$src, ADDRri:$addr)]>;
def STDri : F3_2<3, 0b000111,
(ops MEMri:$addr, IntRegs:$src),
"std $src, [$addr]", []>;
More information about the llvm-commits
mailing list