Debian Codegraph @

llvm/test/MC/AArch64/SVE/directive-arch_extension.s

raw
1 // RUN: llvm-mc -triple=aarch64 < %s | FileCheck %s
2
3 .arch_extension sve
4
5 ptrue p0.b, pow2
6 // CHECK: ptrue p0.b, pow2
7
8 // Test that the implied +sve feature is also set from +sve2.
9 .arch_extension nosve
10 .arch_extension sve2
11 ptrue p0.b, pow2
12 // CHECK: ptrue p0.b, pow2
13
14 // Check that setting +nosve2 does not imply +nosve
15 .arch_extension nosve2
16
17 ptrue p0.b, pow2
18 // CHECK: ptrue p0.b, pow2