1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/AArch64/armv8.7a-wfxt.s
Lucas Prates 870ec0cc7f [ARM][AArch64] Adding basic support for the v8.7-A architecture
This introduces support for the v8.7-A architecture through a new
subtarget feature called "v8.7a". It adds two new "WFET" and "WFIT"
instructions, the nXS limited-TLB-maintenance qualifier for DSB and TLBI
instructions, a new CPU id register, ID_AA64ISAR2_EL1, and the new
HCRX_EL2 system register.

Based on patches written by Simon Tatham and Victor Campos.

Reviewed By: ostannard

Differential Revision: https://reviews.llvm.org/D91772
2020-12-17 13:45:08 +00:00

13 lines
627 B
ArmAsm

// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+wfxt < %s | FileCheck %s
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.7a < %s | FileCheck %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NO-WFxT-ERR %s < %t
wfet x17
// CHECK: wfet x17 // encoding: [0x11,0x10,0x03,0xd5]
// CHECK-NO-WFxT-ERR: [[@LINE-2]]:3: error: instruction requires: wfxt
wfit x3
// CHECK: wfit x3 // encoding: [0x23,0x10,0x03,0xd5]
// CHECK-NO-WFxT-ERR: [[@LINE-2]]:3: error: instruction requires: wfxt