aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcInstrInfo.td
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-03-16 22:37:13 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-03-16 22:37:13 +0000
commit032f80fbf1c3eb270cbbf551f73468513fd175e1 (patch)
tree027550ae44d9c9846afd28529a93f2fe7ef25426 /lib/Target/Sparc/SparcInstrInfo.td
parent79db7405f78fa009efc5a530addc9dda0894aa3e (diff)
downloadexternal_llvm-032f80fbf1c3eb270cbbf551f73468513fd175e1.zip
external_llvm-032f80fbf1c3eb270cbbf551f73468513fd175e1.tar.gz
external_llvm-032f80fbf1c3eb270cbbf551f73468513fd175e1.tar.bz2
Add UMULrr and SMULrr instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.td')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 222cded..3d8282c 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -71,6 +71,10 @@ def ADDrr : F3_1<2, 0b000000, "add">;
// Section B.15 - Subtract Instructions, p. 110
def SUBrr : F3_1<2, 0b000100, "sub">;
+// Section B.18 - Multiply Instructions, p. 113
+def UMULrr : F3_1<2, 0b001010, "umul">;
+def SMULrr : F3_1<2, 0b001011, "smul">;
+
// Section B.20 - SAVE and RESTORE, p. 117
def SAVErr : F3_1<2, 0b111100, "save">; // save r, r, r
def SAVEri : F3_2<2, 0b111100, "save">; // save r, i, r