llvm-for-llvmta/test/MC/AArch64/directive-arch_extension.s

82 lines
1.3 KiB
ArmAsm

// RUN: llvm-mc -triple aarch64 -filetype asm -o - %s | FileCheck %s
.arch_extension crc
crc32cx w0, w1, x3
// CHECK: crc32cx w0, w1, x3
.arch_extension sm4
sm4e v2.4s, v15.4s
// CHECK: sm4e v2.4s, v15.4s
.arch_extension sha3
sha512h q0, q1, v2.2d
// CHECK: sha512h q0, q1, v2.2d
.arch_extension sha2
sha1h s0, s1
// CHECK: sha1h s0, s1
.arch_extension aes
aese v0.16b, v1.16b
// CHECK: aese v0.16b, v1.16b
.arch_extension fp
fminnm d0, d0, d1
// CHECK: fminnm d0, d0, d1
.arch_extension simd
addp v0.4s, v0.4s, v0.4s
// CHECK: addp v0.4s, v0.4s, v0.4s
.arch_extension ras
esb
// CHECK: esb
.arch_extension lse
casa w5, w7, [x20]
// CHECK: casa w5, w7, [x20]
.arch_extension predres
cfp rctx, x0
// CHECK: cfp rctx, x0
.arch_extension ccdp
dc cvadp, x7
// CHECK: dc cvadp, x7
.arch_extension mte
irg x0, x1
// CHECK: irg x0, x1
.arch_extension memtag
irg x0, x1
// CHECK: irg x0, x1
.arch_extension tlb-rmi
tlbi vmalle1os
// CHECK: tlbi vmalle1os
.arch_extension pan-rwv
at s1e1wp, x2
// CHECK: at s1e1wp, x2
.arch_extension ccpp
dc cvap, x7
// CHECK: dc cvap, x7
.arch_extension rcpc
ldapr x0, [x1]
// CHECK: ldapr x0, [x1]
.arch_extension ls64
ld64b x0, [x13]
// CHECK: ld64b x0, [x13]
.arch_extension pauth
paciasp
// CHECK: paciasp
.arch_extension flagm
cfinv
// CHECK: cfinv