[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / AArch64 / armv8.3a-js.s
blobe3e4f9121acf984348974050cd03ae23d6213d6d
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a -o - %s 2>&1 | \
2 // RUN: FileCheck %s
4 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+jsconv -o - %s 2>&1 | \
5 // RUN: FileCheck %s
7 // RUN: not llvm-mc -triple aarch64-none-linux-gnu %s 2>&1 | \
8 // RUN: FileCheck --check-prefix=CHECK-JS %s
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
13 fjcvtzs w0, d0
14 // CHECK: fjcvtzs w0, d0 // encoding: [0x00,0x00,0x7e,0x1e]
16 // CHECK-JS: error: instruction requires: jsconv
18 // NOJS: error: instruction requires: jsconv
20 // CHECK-REQ: error: instruction requires: fp-armv8 jsconv