• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4
5        fcvt d0, s0
6// CHECK-ERROR: error: instruction requires: fp-armv8
7// CHECK-ERROR-NEXT:        fcvt d0, s0
8// CHECK-ERROR-NEXT:        ^
9
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:        ^
14
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:        ^
19
20        crc32b  w5, w7, w20
21// CHECK-ERROR: error: instruction requires: crc
22// CHECK-ERROR-NEXT:        crc32b  w5, w7, w20
23// CHECK-ERROR-NEXT:        ^
24
25