• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep {invalid instruction encoding}
2
3# Opcode=0 Name=PHI Format=(42)
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| 0: 0: 0: 1| 1: 0: 1: 1| 1: 1: 0: 0| 1: 1: 0: 1| 0: 0: 0: 1| 0: 0: 0: 0| 0: 0: 1: 0|
7# -------------------------------------------------------------------------------------------------
8# To qualify as an LSL (immediate) instruction, Inst{19-16} "should" be 0b0000, instead it is = 0b1100.
9# The instruction is UNPREDICTABLE, and is not a valid intruction.
10#
11# See also
12# A8.6.88 LSL (immediate)
13# A8.6.98 MOV (shifted register), and
14# I.1 Instruction encoding diagrams and pseudocode
150x2 0xd1 0xbc 0xf1
16
17
18