diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-08-20 01:26:14 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-08-20 01:26:14 +0000 |
commit | e3b29fbc5f4d7632a88b6f470a96cc6ac09e31ed (patch) | |
tree | 5835b66e9d54a50e062da9f2e1c1c659e244e87d /lib/Target/Sparc/SparcInstrInfo.td | |
parent | ec28c7d8ecaa75e7648c063130a285305743469b (diff) | |
download | llvm-e3b29fbc5f4d7632a88b6f470a96cc6ac09e31ed.tar.gz llvm-e3b29fbc5f4d7632a88b6f470a96cc6ac09e31ed.tar.bz2 llvm-e3b29fbc5f4d7632a88b6f470a96cc6ac09e31ed.tar.xz |
[Sparc] Use HWEncoding instead of unused Num field in Sparc register definitions. Also, correct the definitions of RETL and RET instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.td')
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index d4cac4d3ba..2d228eabb9 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -286,11 +286,11 @@ let usesCustomInserter = 1, Uses = [FCC] in { // Section A.3 - Synthetic Instructions, p. 85 // special cases of JMPL: let isReturn = 1, isTerminator = 1, hasDelaySlot = 1, isBarrier = 1 in { - let rd = O7.Num, rs1 = G0.Num in + let rd = 0, rs1 = 15 in def RETL: F3_2<2, 0b111000, (outs), (ins i32imm:$val), "jmp %o7+$val", [(retflag simm13:$val)]>; - let rd = I7.Num, rs1 = G0.Num in + let rd = 0, rs1 = 31 in def RET: F3_2<2, 0b111000, (outs), (ins i32imm:$val), "jmp %i7+$val", []>; } |