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:
Saleem Abdulrasool 2016-06-10 17:33:28 +00:00
parent 57fc4a3484
commit c54dedba6d
2 changed files with 39 additions and 38 deletions

View 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: ^

View File

@ -1,47 +1,13 @@
// RUN: not llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s // RUN: 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: ^
.arch armv8-a+crypto .arch armv8-a+crypto
aesd v0.16b, v2.16b aesd v0.16b, v2.16b
# CHECK: aesd v0.16b, v2.16b
.arch armv8.1-a+ras .arch armv8.1-a+ras
esb esb
# CHECK: fminnm d0, d0, d1
# CHECK: aesd v0.16b, v2.16b
# CHECK: esb # CHECK: esb