mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Move the ARM SSAT and USAT optional shift amount operand out of the
instruction opcode. This also fixes part of PR7792. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -106,7 +106,7 @@ static unsigned decodeARMInstruction(uint32_t &insn) {
|
||||
// Ditto for STRT, which is a super-instruction for A8.6.210 Encoding A1 & A2.
|
||||
// As a result, the decoder fails to deocode SSAT properly.
|
||||
if (slice(insn, 27, 21) == 0x35 && slice(insn, 5, 4) == 1)
|
||||
return slice(insn, 6, 6) == 0 ? ARM::SSATlsl : ARM::SSATasr;
|
||||
return ARM::SSAT;
|
||||
|
||||
// Ditto for RSCrs, which is a super-instruction for A8.6.146 & A8.6.147.
|
||||
// As a result, the decoder fails to decode STRHT/LDRHT/LDRSHT/LDRSBT.
|
||||
|
Reference in New Issue
Block a user