1 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-ERROR,FP16-ERROR
2 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a,+fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=FP16,CHECK-ERROR
3 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a,+fullfp16,-fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=FP16,CHECK-ERROR
4 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a,-fp16fml,+fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=FP16,CHECK-ERROR
5 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a,+fp16fml,-fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-ERROR,FP16-ERROR
6 # RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a,+fp16fml,-neon --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=FP16,CHECK-ERROR
37 #A fullfp16 instruction, for testing the interaction of the features
40 #CHECK-ERROR: warning: invalid instruction encoding
41 #CHECK-ERROR: [0x20,0xec,0x22,0x0e]
43 #CHECK-ERROR: warning: invalid instruction encoding
44 #CHECK-ERROR: [0x20,0xec,0xa2,0x0e]
46 #CHECK-ERROR: warning: invalid instruction encoding
47 #CHECK-ERROR: [0x20,0xec,0x22,0x4e]
49 #CHECK-ERROR: warning: invalid instruction encoding
50 #CHECK-ERROR: [0x20,0xec,0xa2,0x4e]
52 #CHECK-ERROR: warning: invalid instruction encoding
53 #CHECK-ERROR: [0x20,0xcc,0x22,0x2e]
55 #CHECK-ERROR: warning: invalid instruction encoding
56 #CHECK-ERROR: [0x20,0xcc,0xa2,0x2e]
58 #CHECK-ERROR: warning: invalid instruction encoding
59 #CHECK-ERROR: [0x20,0xcc,0x22,0x6e]
61 #CHECK-ERROR: warning: invalid instruction encoding
62 #CHECK-ERROR: [0x20,0xcc,0xa2,0x6e]
64 #CHECK-ERROR: warning: invalid instruction encoding
65 #CHECK-ERROR: [0x20,0x08,0xb2,0x0f]
67 #CHECK-ERROR: warning: invalid instruction encoding
68 #CHECK-ERROR: [0x20,0x48,0xb2,0x0f]
70 #CHECK-ERROR: warning: invalid instruction encoding
71 #CHECK-ERROR: [0x20,0x08,0xb2,0x4f]
73 #CHECK-ERROR: warning: invalid instruction encoding
74 #CHECK-ERROR: [0x20,0x48,0xb2,0x4f]
76 #CHECK-ERROR: warning: invalid instruction encoding
77 #CHECK-ERROR: [0x20,0x88,0xb2,0x2f]
79 #CHECK-ERROR: warning: invalid instruction encoding
80 #CHECK-ERROR: [0x20,0xc8,0xb2,0x2f]
82 #CHECK-ERROR: warning: invalid instruction encoding
83 #CHECK-ERROR: [0x20,0x88,0xb2,0x6f]
85 #CHECK-ERROR: warning: invalid instruction encoding
86 #CHECK-ERROR: [0x20,0xc8,0xb2,0x6f]
88 #CHECK-ERROR: warning: invalid instruction encoding
89 #CHECK-ERROR: [0x20,0x08,0x92,0x0f]
91 #CHECK-ERROR: warning: invalid instruction encoding
92 #CHECK-ERROR: [0x20,0x48,0x92,0x0f]
94 #CHECK-ERROR: warning: invalid instruction encoding
95 #CHECK-ERROR: [0x20,0x08,0x92,0x4f]
97 #CHECK-ERROR: warning: invalid instruction encoding
98 #CHECK-ERROR: [0x20,0x48,0x92,0x4f]
100 #CHECK-ERROR: warning: invalid instruction encoding
101 #CHECK-ERROR: [0x20,0x88,0x92,0x2f]
103 #CHECK-ERROR: warning: invalid instruction encoding
104 #CHECK-ERROR: [0x20,0xc8,0x92,0x2f]
106 #CHECK-ERROR: warning: invalid instruction encoding
107 #CHECK-ERROR: [0x20,0x88,0x92,0x6f]
109 #CHECK-ERROR: warning: invalid instruction encoding
110 #CHECK-ERROR: [0x20,0xc8,0x92,0x6f]
113 #FP16-ERROR: warning: invalid instruction encoding
114 #FP16-ERROR: [0x41,0x08,0xe3,0x1e]
117 #FP16-NOT: [0x41,0x08,0xe3,0x1e]