1 # RUN: llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v9.4a < %s | FileCheck %s
2 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v8.8a < %s 2>&1 | FileCheck --check-prefix=NO-V94A-ERR %s
3 # RUN: llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v8.9a < %s | FileCheck %s
4 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v9.3a < %s 2>&1 | FileCheck --check-prefix=NO-V94A-ERR %s
8 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
11 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
14 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
17 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
20 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
23 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
26 # CHECK: smax x1, x2, x3
27 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
29 # CHECK: smax x1, x2, #3
30 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
32 # CHECK: smax w1, w2, w3
33 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
35 # CHECK: smax w1, w2, #3
36 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
38 # CHECK: smin x1, x2, x3
39 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
41 # CHECK: smin x1, x2, #3
42 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
44 # CHECK: smin w1, w2, w3
45 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
47 # CHECK: smin w1, w2, #3
48 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
50 # CHECK: umax x1, x2, x3
51 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
53 # CHECK: umax x1, x2, #3
54 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
56 # CHECK: umax w1, w2, w3
57 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
59 # CHECK: umax w1, w2, #3
60 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
62 # CHECK: umin x1, x2, x3
63 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
65 # CHECK: umin x1, x2, #3
66 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
68 # CHECK: umin w1, w2, w3
69 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
71 # CHECK: umin w1, w2, #3
72 # NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding