mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-02 07:30:52 +00:00
Provide a correct decoder hook for Thumb2 shifted registers. Found by randomized testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138292 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d883453213
commit
2c9f83533b
@ -29,6 +29,7 @@ def t2_so_reg : Operand<i32>, // reg imm
|
||||
let EncoderMethod = "getT2SORegOpValue";
|
||||
let PrintMethod = "printT2SOOperand";
|
||||
let MIOperandInfo = (ops rGPR, i32imm);
|
||||
let DecoderMethod = "DecodeSORegImmOperand";
|
||||
}
|
||||
|
||||
// t2_so_imm_not_XFORM - Return the complement of a t2_so_imm value
|
||||
|
@ -274,3 +274,6 @@
|
||||
|
||||
# CHECK: ldrsh r1, [r0, r0]
|
||||
0x01 0x5E
|
||||
|
||||
# CHECK: and.w r5, r1, r10, ror #7
|
||||
0x1 0xea 0xfa 0x95
|
||||
|
Loading…
x
Reference in New Issue
Block a user