Skip to content

Commit 9a67f9a

Browse files
committed
fixup! [AArch64][llvm] Armv9.7-A: Add support for Virtual Memory Tagging (FEAT_MTETC)
Add llvm/test/MC/AArch64/armv9.7a-mtetc-diagnostics.s
1 parent bafe3fc commit 9a67f9a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// RUN: not llvm-mc -triple=aarch64 -mattr=+mtetc -show-encoding < %s 2>&1 \
2+
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
3+
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
4+
// RUN: | FileCheck %s --check-prefix=CHECK-REQUIRES-MTETC
5+
6+
//------------------------------------------------------------------------------
7+
// FEAT_MTETC Extension instructions
8+
//------------------------------------------------------------------------------
9+
10+
dc zgbva
11+
// CHECK-ERROR: error: specified dc op requires a register
12+
// CHECK-REQUIRES-MTETC: DC ZGBVA requires: mtetc
13+
14+
dc gbva
15+
// CHECK-ERROR: error: specified dc op requires a register
16+
// CHECK-REQUIRES-MTETC: DC GBVA requires: mtetc
File renamed without changes.

0 commit comments

Comments
 (0)