diff options
author | Daniel Cederman <cederman@gaisler.com> | 2018-07-16 12:28:26 +0000 |
---|---|---|
committer | Daniel Cederman <cederman@gaisler.com> | 2018-07-16 12:28:26 +0000 |
commit | 92a700a215ae940fc2cad41c3a28eed5c38a76b0 (patch) | |
tree | 4ade43a12b629568c991a8c90ec17a52f163feba /llvm/lib/Target/Sparc | |
parent | ab09da7b57c373f3da9483dc8a0d3d646f88d7d4 (diff) | |
download | bcm5719-llvm-92a700a215ae940fc2cad41c3a28eed5c38a76b0.tar.gz bcm5719-llvm-92a700a215ae940fc2cad41c3a28eed5c38a76b0.zip |
[Sparc] Use the correct encoding for ta 3
Summary: The old encoding generated a "tn %g1 + 3" instruction instead
of the expected "ta 3".
Reviewers: venkatra, jyknight
Reviewed By: jyknight
Subscribers: fedor.sergeev, jrtc27, llvm-commits
Differential Revision: https://reviews.llvm.org/D49171
llvm-svn: 337165
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.td b/llvm/lib/Target/Sparc/SparcInstrInfo.td index 7541e3e2c60..9dee18f2563 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.td +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.td @@ -421,7 +421,7 @@ let hasSideEffects = 1, mayStore = 1 in { def FLUSHW : F3_1<0b10, 0b101011, (outs), (ins), "flushw", [(flushw)]>, Requires<[HasV9]>; - let rd = 0, rs1 = 1, simm13 = 3 in + let rd = 8, rs1 = 0, simm13 = 3 in def TA3 : F3_2<0b10, 0b111010, (outs), (ins), "ta 3", [(flushw)]>; |