2011-04-12 17:09:04 +00:00
|
|
|
# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep {invalid instruction encoding}
|
|
|
|
|
|
|
|
# Opcode=2313 Name=tSTMIA_UPD Format=ARM_FORMAT_THUMBFRM(25)
|
2011-08-11 20:21:46 +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-12 17:09:04 +00:00
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
# | 0: 0: 0: 0| 0: 0: 0: 0| 0: 0: 0: 0| 0: 0: 0: 0| 1: 1: 0: 0| 0: 1: 1: 1| 0: 0: 0: 0| 0: 0: 0: 0|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
2011-08-11 20:21:46 +00:00
|
|
|
#
|
2011-04-12 17:09:04 +00:00
|
|
|
# if BitCount(registers) < 1 then UNPREDICTABLE
|
|
|
|
0x00 0xc7
|