summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64/directive-arch.s
blob: 7dfcdb4598f0bf314dea945571cdccd14dbe32a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s

	.arch armv8-a+crypto

	aesd v0.16b, v2.16b
	eor v0.16b, v0.16b, v2.16b

# CHECK: 	aesd	v0.16b, v2.16b
# CHECK:        eor     v0.16b, v0.16b, v2.16b

// PR32873: without extra features, '.arch' is currently ignored.
// Add an unrelated feature to accept the directive.
	.arch armv8.1-a+crypto
        casa  w5, w7, [x20]
# CHECK:        casa    w5, w7, [x20]

	.arch armv8-a+lse
	casa  w5, w7, [x20]
# CHECK:        casa    w5, w7, [x20]
OpenPOWER on IntegriCloud