Skip to content

Commit ae22ce5

Browse files
author
Brian Gaeke
committed
Add UMULrr and SMULrr instructions.
llvm-svn: 12452
1 parent ae0ca8b commit ae22ce5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Target/SparcV8/SparcV8InstrInfo.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ def ADDrr : F3_1<2, 0b000000, "add">;
7171
// Section B.15 - Subtract Instructions, p. 110
7272
def SUBrr : F3_1<2, 0b000100, "sub">;
7373

74+
// Section B.18 - Multiply Instructions, p. 113
75+
def UMULrr : F3_1<2, 0b001010, "umul">;
76+
def SMULrr : F3_1<2, 0b001011, "smul">;
77+
7478
// Section B.20 - SAVE and RESTORE, p. 117
7579
def SAVErr : F3_1<2, 0b111100, "save">; // save r, r, r
7680
def SAVEri : F3_2<2, 0b111100, "save">; // save r, i, r

0 commit comments

Comments
 (0)