@ RUN: llvm-mc -triple=armv7 < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD --check-prefix=ACCEPT-89 --check-prefix=ACCEPT-AB --check-prefix=ACCEPT-EF %s
@ RUN: llvm-mc -triple=thumbv7 < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD --check-prefix=ACCEPT-89 --check-prefix=ACCEPT-AB --check-prefix=ACCEPT-EF %s
@ RUN: not llvm-mc -triple=armv8 < %s 2> %t | FileCheck --check-prefix=ACCEPT-EF %s
@ RUN: FileCheck --check-prefix=REJECT-01234567CD --check-prefix=REJECT-89 --check-prefix=REJECT-AB < %t %s
@ RUN: not llvm-mc -triple=thumbv8 < %s 2> %t | FileCheck --check-prefix=ACCEPT-EF %s
@ RUN: FileCheck --check-prefix=REJECT-01234567CD --check-prefix=REJECT-89 --check-prefix=REJECT-AB < %t %s
@ RUN: not llvm-mc -triple=thumbv8.1m.main < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD --check-prefix=ACCEPT-AB %s
@ RUN: FileCheck --check-prefix=REJECT-89 --check-prefix=REJECT-EF < %t %s
mrc p0, @ ACCEPT-01234567CD: mrc p0, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p1, @ ACCEPT-01234567CD: mrc p1, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p2, @ ACCEPT-01234567CD: mrc p2, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p3, @ ACCEPT-01234567CD: mrc p3, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p4, @ ACCEPT-01234567CD: mrc p4, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p5, @ ACCEPT-01234567CD: mrc p5, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p6, @ ACCEPT-01234567CD: mrc p6, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p7, @ ACCEPT-01234567CD: mrc p7, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p8, @ ACCEPT-89: mrc p8, @ REJECT-89: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p9, @ ACCEPT-89: mrc p9, @ REJECT-89: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p10, @ ACCEPT-AB: mrc p10, @ REJECT-AB: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p11, @ ACCEPT-AB: mrc p11, @ REJECT-AB: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p12, @ ACCEPT-01234567CD: mrc p12, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p13, @ ACCEPT-01234567CD: mrc p13, @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p14, @ ACCEPT-EF: mrc p14, @ REJECT-EF: [[@LINE-2]]:7: error: invalid operand for instruction
mrc p15, @ ACCEPT-EF: mrc p15, @ REJECT-EF: [[@LINE-2]]:7: error: invalid operand for instruction