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 | ddbf053a4cad58393a389f264c51923111eba3db (patch) | |
tree | 07efd34a12f337269db416df50dbcc217c42bb03 /lib/Target | |
parent | e66ef733188f06f24baa8fe496abd9eab442b3b0 (diff) | |
download | external_llvm-ddbf053a4cad58393a389f264c51923111eba3db.zip external_llvm-ddbf053a4cad58393a389f264c51923111eba3db.tar.gz external_llvm-ddbf053a4cad58393a389f264c51923111eba3db.tar.bz2 |
[SystemZ] Make use of SUBTRACT HALFWORD
Thanks to Ulrich Weigand for noticing that this instruction was missing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/SystemZ/SystemZInstrInfo.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td index fea2b73..903fb74 100644 --- a/lib/Target/SystemZ/SystemZInstrInfo.td +++ b/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>; |