mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 17:28:53 +00:00
![Ahmed Bougacha](/assets/img/avatar_default.png)
That's only a required extension as of v8.1a. Remove it from the "generic" CPU as well: it should only support the base ISA (and binutils agrees). Also unify the MC tests into crc.s and arm64-crc32.s llvm-svn: 302077
58 lines
1.2 KiB
ArmAsm
58 lines
1.2 KiB
ArmAsm
// RUN: not llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
|
|
|
|
.arch axp64
|
|
# CHECK: error: unknown arch name
|
|
# CHECK: .arch axp64
|
|
# CHECK: ^
|
|
|
|
.arch armv8
|
|
aese v0.8h, v1.8h
|
|
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: aese v0.8h, v1.8h
|
|
# CHECK: ^
|
|
|
|
// We silently ignore invalid features.
|
|
.arch armv8+foo
|
|
aese v0.8h, v1.8h
|
|
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: aese v0.8h, v1.8h
|
|
# CHECK: ^
|
|
|
|
.arch armv8+crypto
|
|
|
|
.arch armv8
|
|
|
|
aese v0.8h, v1.8h
|
|
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: aese v0.8h, v1.8h
|
|
# CHECK: ^
|
|
|
|
.arch armv8.1-a+noras
|
|
esb
|
|
|
|
# CHECK: error: instruction requires: ras
|
|
# CHECK: esb
|
|
|
|
// PR32873: without extra features, '.arch' is currently ignored.
|
|
// Add an unrelated feature to accept the directive.
|
|
.arch armv8+crc
|
|
casa w5, w7, [x19]
|
|
|
|
# CHECK: error: instruction requires: lse
|
|
# CHECK: casa w5, w7, [x19]
|
|
|
|
.arch armv8+crypto
|
|
crc32b w0, w1, w2
|
|
|
|
# CHECK: error: instruction requires: crc
|
|
# CHECK: crc32b w0, w1, w2
|
|
|
|
.arch armv8.1-a+nolse
|
|
casa w5, w7, [x20]
|
|
|
|
# CHECK: error: instruction requires: lse
|
|
# CHECK: casa w5, w7, [x20]
|