2016-06-11 01:33:28 +08:00
|
|
|
// RUN: llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
|
2016-06-09 10:56:40 +08:00
|
|
|
|
|
|
|
.arch armv8-a+crypto
|
|
|
|
|
|
|
|
aesd v0.16b, v2.16b
|
2016-09-09 01:27:03 +08:00
|
|
|
eor v0.16b, v0.16b, v2.16b
|
2016-06-09 10:56:40 +08:00
|
|
|
|
2016-06-11 01:33:28 +08:00
|
|
|
# CHECK: aesd v0.16b, v2.16b
|
2016-09-09 01:27:03 +08:00
|
|
|
# CHECK: eor v0.16b, v0.16b, v2.16b
|
2016-06-11 01:33:28 +08:00
|
|
|
|
2018-06-26 17:36:13 +08:00
|
|
|
// 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]
|