1 @ RUN: not llvm-mc -triple=armv7 -mcpu=cortex-a15 -mattr=-hwdiv-arm < %s 2> %t 2 @ RUN: FileCheck --check-prefix=ARM-A15 < %t %s 3 @ RUN: not llvm-mc -triple=thumbv7 -mcpu=cortex-a15 -mattr=-hwdiv < %s 2> %t 4 @ RUN: FileCheck --check-prefix=THUMB-A15 < %t %s 5 @ RUN: not llvm-mc -triple=armv7 < %s 2> %t 6 @ RUN: FileCheck --check-prefix=ARM < %t %s 7 @ RUN: not llvm-mc -triple=thumbv7 < %s 2> %t 8 @ RUN: FileCheck --check-prefix=THUMB < %t %s 9 10 sdiv r1, r2, r3 11 udiv r3, r4, r5 12 @ ARM-A15: error: instruction requires: divide in ARM 13 @ ARM-A15: sdiv r1, r2, r3 14 @ ARM-A15: error: instruction requires: divide in ARM 15 @ ARM-A15: udiv r3, r4, r5 16 @ THUMB-A15: error: instruction requires: arm-mode 17 @ THUMB-A15: sdiv r1, r2, r3 18 @ THUMB-A15: error: instruction requires: arm-mode 19 @ THUMB-A15: udiv r3, r4, r5 20 21 @ ARM: error: instruction requires: divide in ARM 22 @ ARM: sdiv r1, r2, r3 23 @ ARM: error: instruction requires: divide in ARM 24 @ ARM: udiv r3, r4, r5 25 @ THUMB: error: instruction requires: divide in THUMB 26 @ THUMB: sdiv r1, r2, r3 27 @ THUMB: error: instruction requires: divide in THUMB 28 @ THUMB: udiv r3, r4, r5 29