Add tests for cp10/cp11 on ARMv5/6

Tests for ARMv7/8 are already on diagnostics.s

llvm-svn: 214872
This commit is contained in:
Renato Golin 2014-08-05 15:29:41 +00:00
parent 1045717584
commit 877b9b3513
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Special test to make sure we don't error on VFP co-proc access
@ RUN: llvm-mc -triple=armv5 < %s | FileCheck %s
@ RUN: llvm-mc -triple=armv6 < %s | FileCheck %s
@ p10 and p11 are reserved for NEON, but accessible on v5/v6
ldc p10, cr0, [r0], {0x20}
ldc2 p11, cr0, [r0], {0x21}
ldcl p11, cr0, [r0], {0x20}
@ CHECK-NOT: error: invalid operand for instruction