1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+wfxt
< %s | FileCheck
%s
2 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.7
a < %s | FileCheck
%s
3 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
< %s
2> %t
4 // RUN
: FileCheck
--check-prefix
=CHECK-NO-WFxT-ERR
%s
< %t
7 // CHECK
: wfet x17
// encoding
: [0x11,0x10,0x03,0xd5]
8 // CHECK-NO-WFxT-ERR
: [[@LINE-
2]]:3: error
: instruction requires
: wfxt
11 // CHECK
: wfit x3
// encoding
: [0x23,0x10,0x03,0xd5]
12 // CHECK-NO-WFxT-ERR
: [[@LINE-
2]]:3: error
: instruction requires
: wfxt