2011-04-13 19:46:05 +00:00
|
|
|
# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep {invalid instruction encoding}
|
|
|
|
|
|
|
|
# Opcode=1954 Name=t2LDRSHi8 Format=ARM_FORMAT_THUMBFRM(25)
|
2011-08-11 20:40:40 +00:00
|
|
|
# 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
|
2011-04-13 19:46:05 +00:00
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
# | 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|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
2011-08-11 20:40:40 +00:00
|
|
|
#
|
2011-04-13 19:46:05 +00:00
|
|
|
# if Rt == '1111' and PUW == '100' then SEE "Unallocated memory hints"
|
|
|
|
0x35 0xf9 0x00 0xfc
|