[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / armv8.5a-altnzcv.s
blob16af172cb2e36447bb8c04e3e4b1ce2bda82c9a0
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s | FileCheck %s
2 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a,+altnzcv < %s | FileCheck %s
3 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a,-v8.5a < %s 2>&1 | FileCheck %s --check-prefix=NOALTFP
4 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.5a < %s 2>&1 | FileCheck %s --check-prefix=NOALTFP
6 // Flag manipulation
7 xaflag
8 axflag
10 // CHECK: xaflag // encoding: [0x3f,0x40,0x00,0xd5]
11 // CHECK: axflag // encoding: [0x5f,0x40,0x00,0xd5]
13 // NOALTFP: instruction requires: altnzcv
14 // NOALTFP-NEXT: xaflag
15 // NOALTFP: instruction requires: altnzcv
16 // NOALTFP-NEXT: axflag