Check the corner cases for t2LDRSHi12 correctly and mark invalid encodings as such.
[oota-llvm.git] / test / MC / Disassembler / ARM / invalid-t2LDRSHi8-thumb.txt
1 # RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep {invalid instruction encoding}
2
3 # Opcode=1954 Name=t2LDRSHi8 Format=ARM_FORMAT_THUMBFRM(25)
4 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0 
5 # -------------------------------------------------------------------------------------------------
6 # | 1: 1: 1: 1| 1: 0: 0: 1| 0: 0: 1: 1| 0: 1: 0: 1| 1: 1: 1: 1| 1: 1: 0: 0| 0: 0: 0: 0| 0: 0: 0: 0|
7 # -------------------------------------------------------------------------------------------------
8
9 # if Rt == '1111' and PUW == '100' then SEE "Unallocated memory hints"
10 0x35 0xf9 0x00 0xfc