17 lines · plain
1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s | FileCheck %s2// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a,+altnzcv < %s | FileCheck %s3// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a,-v8.5a < %s 2>&1 | FileCheck %s --check-prefix=NOALTFP4// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.5a < %s 2>&1 | FileCheck %s --check-prefix=NOALTFP5 6// Flag manipulation7xaflag8axflag9 10// CHECK: xaflag // encoding: [0x3f,0x40,0x00,0xd5]11// CHECK: axflag // encoding: [0x5f,0x40,0x00,0xd5]12 13// NOALTFP: instruction requires: altnzcv14// NOALTFP-NEXT: xaflag15// NOALTFP: instruction requires: altnzcv16// NOALTFP-NEXT: axflag17