1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a -o - %s 2>&1 | \
2// RUN: FileCheck %s
3
4// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+jsconv -o - %s 2>&1 | \
5// RUN: FileCheck %s
6
7// RUN: not llvm-mc -triple aarch64-none-linux-gnu %s 2>&1 | \
8// RUN: FileCheck --check-prefix=CHECK-JS %s
9
10// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+jsconv,-fp-armv8 -o - %s 2>&1 |\
11// RUN: FileCheck --check-prefix=CHECK-REQ %s
12
13  fjcvtzs w0, d0
14// CHECK: fjcvtzs w0, d0    // encoding: [0x00,0x00,0x7e,0x1e]
15
16// CHECK-JS: error: instruction requires: jsconv
17
18// NOJS: error: instruction requires: jsconv
19
20// CHECK-REQ: error: instruction requires: fp-armv8 jsconv
21