1 # RUN: not llvm-mc -disassemble -triple=aarch64 %s 2> %t
2 # RUN: FileCheck %s < %t
3 # RUN: not llvm-mc -disassemble -triple=arm64 %s 2> %t
4 # RUN: FileCheck %s < %t
6 # Instructions notionally in the add/sub (extended register) sheet, but with
7 # invalid shift amount or "opt" field.
11 # CHECK: invalid instruction encoding
12 # CHECK: invalid instruction encoding
13 # CHECK: invalid instruction encoding
15 # Instructions notionally in the add/sub (immediate) sheet, but with
16 # invalid "shift" field.
21 # CHECK: invalid instruction encoding
22 # CHECK: invalid instruction encoding
23 # CHECK: invalid instruction encoding
24 # CHECK: invalid instruction encoding
26 # Instructions notionally in the load/store (unsigned immediate) sheet.
27 # Only unallocated (int-register) variants are: opc=0b11, size=0b10, 0b11
30 # CHECK: invalid instruction encoding
31 # CHECK: invalid instruction encoding
33 # Instructions notionally in the floating-point <-> fixed-point conversion
34 # Scale field is 64-<imm> and <imm> should be 1-32 for a 32-bit int register.
37 # CHECK: invalid instruction encoding
38 # CHECK: invalid instruction encoding
40 # Instructions notionally in the logical (shifted register) sheet, but with out
41 # of range shift: w-registers can only have 0-31.
43 # CHECK: invalid instruction encoding
45 # Instructions notionally in the move wide (immediate) sheet, but with out
46 # of range shift: w-registers can only have 0 or 16.
49 # CHECK: invalid instruction encoding
50 # CHECK: invalid instruction encoding
52 # Data-processing instructions are undefined when S=1 and for the 0b0000111
56 # CHECK: invalid instruction encoding
57 # CHECK: invalid instruction encoding
59 # Data-processing instructions (2 source) are undefined for a value of
60 # 0001xx:0:x or 0011xx:0:x for opcode:S:sf
63 # CHECK: invalid instruction encoding
64 # CHECK: invalid instruction encoding