1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a < %s 2>&1 | FileCheck %s
2// RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2> %t
3// RUN: FileCheck --check-prefix=CHECK-REQ < %t %s
4// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.3a,-fp-armv8 < %s 2> %t
5// RUN: FileCheck --check-prefix=CHECK-NOFP < %t %s
6
7  fjcvtzs w0, d0
8// CHECK: fjcvtzs w0, d0    // encoding: [0x00,0x00,0x7e,0x1e]
9// CHECK-REQ: error: instruction requires: armv8.3a
10// CHECK-NOFP: error: instruction requires: fp-armv8
11