mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
test: split test into two files
Split up the test cases into two inputs as per post-commit review comments from Renato. NFC. llvm-svn: 272408
This commit is contained in:
parent
57fc4a3484
commit
c54dedba6d
35
test/MC/AArch64/directive-arch-negative.s
Normal file
35
test/MC/AArch64/directive-arch-negative.s
Normal file
@ -0,0 +1,35 @@
|
||||
// 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
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
# CHECK: error: instruction requires: fp-armv8
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: ^
|
||||
|
||||
.arch armv8+fp
|
||||
|
||||
# CHECK: '+fp' is not a recognized feature for this target (ignoring feature)
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
# CHECK: error: instruction requires: fp-armv8
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: ^
|
||||
|
||||
.arch armv8+neon
|
||||
|
||||
.arch armv8
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
# CHECK: error: instruction requires: fp-armv8
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: ^
|
||||
|
@ -1,47 +1,13 @@
|
||||
// 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
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
# CHECK: error: instruction requires: fp-armv8
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: ^
|
||||
|
||||
.arch armv8+fp
|
||||
|
||||
# CHECK: '+fp' is not a recognized feature for this target (ignoring feature)
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
# CHECK: error: instruction requires: fp-armv8
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: ^
|
||||
|
||||
.arch armv8+neon
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
.arch armv8
|
||||
|
||||
fminnm d0, d0, d1
|
||||
|
||||
# CHECK: error: instruction requires: fp-armv8
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: ^
|
||||
// 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
|
||||
|
||||
# CHECK: aesd v0.16b, v2.16b
|
||||
|
||||
.arch armv8.1-a+ras
|
||||
esb
|
||||
|
||||
# CHECK: fminnm d0, d0, d1
|
||||
# CHECK: aesd v0.16b, v2.16b
|
||||
# CHECK: esb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user