1 // RUN: not llvm-mc -triple arm64-linux-gnu -mattr=-fp-armv8,-crc < %s 2> %t
2 // RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s
6 // CHECK-ERROR: error: instruction requires: fp-armv8
7 // CHECK-ERROR-NEXT: fcvt d0, s0
10 fmla v9.2s, v9.2s, v0.2s
11 // CHECK-ERROR: error: instruction requires: neon
12 // CHECK-ERROR-NEXT: fmla v9.2s, v9.2s, v0.2s
13 // CHECK-ERROR-NEXT: ^
15 pmull v0.1q, v1.1d, v2.1d
16 // CHECK-ERROR: error: instruction requires: crypto
17 // CHECK-ERROR-NEXT: pmull v0.1q, v1.1d, v2.1d
18 // CHECK-ERROR-NEXT: ^
21 // CHECK-ERROR: error: instruction requires: crc
22 // CHECK-ERROR-NEXT: crc32b w5, w7, w20
23 // CHECK-ERROR-NEXT: ^