1 # RUN: llvm-mc -triple=aarch64 -mattr=+fp-armv8 -disassemble < %s 2>&1 | FileCheck %s
2 # RUN: llvm-mc -triple=arm64 -mattr=+fp-armv8 -disassemble < %s 2>&1 | FileCheck %s
4 #------------------------------------------------------------------------------
6 #------------------------------------------------------------------------------
10 #CHECK: warning: potentially undefined instruction encoding
11 #CHECK-NEXT: 0xee 0x3b 0x7f 0xc8
15 #CHECK: warning: potentially undefined instruction encoding
16 #CHECK-NEXT: 0x33 0xcc 0x7f 0x88
18 #------------------------------------------------------------------------------
19 # Load-store register (immediate post-indexed)
20 #------------------------------------------------------------------------------
23 #CHECK: warning: potentially undefined instruction encoding
24 #CHECK-NEXT: 0x63 0x44 0x40 0xf8
27 #CHECK: warning: potentially undefined instruction encoding
28 #CHECK-NEXT: 0x42 0x14 0xc0 0x38
30 #------------------------------------------------------------------------------
31 # Load-store register (immediate pre-indexed)
32 #------------------------------------------------------------------------------
35 #CHECK: warning: potentially undefined instruction encoding
36 #CHECK-NEXT: 0x63 0x4c 0x40 0xf8
39 #CHECK: warning: potentially undefined instruction encoding
40 #CHECK-NEXT: 0x42 0x1c 0xc0 0x38
42 #------------------------------------------------------------------------------
43 # Load-store register pair (offset)
44 #------------------------------------------------------------------------------
46 # Unpredictable if Rt == Rt2 on a load.
49 # CHECK: warning: potentially undefined instruction encoding
50 # CHECK-NEXT: 0xe3 0x0f 0x40 0xa9
54 # CHECK: warning: potentially undefined instruction encoding
55 # CHECK-NEXT: 0xe2 0x8b 0x41 0x69
59 # CHECK: warning: potentially undefined instruction encoding
60 # CHECK-NEXT: 0x82 0x88 0x40 0x2d
63 #------------------------------------------------------------------------------
64 # Load-store register pair (post-indexed)
65 #------------------------------------------------------------------------------
67 # Unpredictable if Rt == Rt2 on a load.
70 # CHECK: warning: potentially undefined instruction encoding
71 # CHECK-NEXT: 0xe3 0x0f 0xc0 0xa8
75 # CHECK: warning: potentially undefined instruction encoding
76 # CHECK-NEXT: 0xe2 0x8b 0xc1 0x68
80 # CHECK: warning: potentially undefined instruction encoding
81 # CHECK-NEXT: 0x82 0x88 0xc0 0x2c
84 # Also unpredictable if writeback clashes with either transfer register
87 # CHECK: warning: potentially undefined instruction encoding
88 # CHECK-NEXT: 0x63 0x94 0xc0 0xa8
91 # CHECK: warning: potentially undefined instruction encoding
92 # CHECK-NEXT: 0x69 0x2d 0x81 0xa8
95 # CHECK: warning: potentially undefined instruction encoding
96 # CHECK-NEXT: 0x29 0xad 0xc0 0x28