diff options
| author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-15 15:05:29 +0000 |
|---|---|---|
| committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-15 15:05:29 +0000 |
| commit | ffd144174dcd4a825172e75682abfee9d8e0e9bb (patch) | |
| tree | 35844f879acdf6b4d0052fd8467998b2aca6808c /llvm/lib | |
| parent | e7050ad0a1a0bb23ef561478b6334dc97d0515e4 (diff) | |
| download | bcm5719-llvm-ffd144174dcd4a825172e75682abfee9d8e0e9bb.tar.gz bcm5719-llvm-ffd144174dcd4a825172e75682abfee9d8e0e9bb.zip | |
[SystemZ] Make use of SUBTRACT HALFWORD
Thanks to Ulrich Weigand for noticing that this instruction was missing.
llvm-svn: 181893
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZInstrInfo.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td index fea2b735797..903fb740a4e 100644 --- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td +++ b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td @@ -478,6 +478,7 @@ let Defs = [PSW] in { def SGR : BinaryRRE<"sgr", 0xB909, sub, GR64, GR64>; // Subtraction of memory. + defm SH : BinaryRXPair<"sh", 0x4B, 0xE37B, sub, GR32, sextloadi16>; defm S : BinaryRXPair<"s", 0x5B, 0xE35B, sub, GR32, load>; def SGF : BinaryRXY<"sgf", 0xE319, sub, GR64, sextloadi32>; def SG : BinaryRXY<"sg", 0xE309, sub, GR64, load>; |

