diff options
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 1 | ||||
-rw-r--r-- | test/MC/Disassembler/ARM/thumb2.txt | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index f767351..cf157c5 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -2046,6 +2046,7 @@ def t2SSAT16: T2SatI< let Inst{21} = 1; // sh = '1' let Inst{14-12} = 0b000; // imm3 = '000' let Inst{7-6} = 0b00; // imm2 = '00' + let Inst{5-4} = 0b00; } def t2USAT: T2SatI< diff --git a/test/MC/Disassembler/ARM/thumb2.txt b/test/MC/Disassembler/ARM/thumb2.txt index dea590e..855043b 100644 --- a/test/MC/Disassembler/ARM/thumb2.txt +++ b/test/MC/Disassembler/ARM/thumb2.txt @@ -1766,6 +1766,12 @@ 0x62 0xfb 0x03 0x41 0x63 0xfb 0x12 0x14 +#------------------------------------------------------------------------------ +# SSAT +#------------------------------------------------------------------------------ +# CHECK: ssat r9, #30, r0, asr #32 + +0x20 0xf3 0x1d 0x09 #------------------------------------------------------------------------------ # STRD (immediate) @@ -1778,3 +1784,4 @@ 0x65 0xe8 0x00 0x85 0x65 0xe8 0x01 0x74 + |