[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ARM / directive-arch_extension-mode-switch.s
blob7e4159f2e8f4d7a779c26e99b6c55b334bd225c3
1 @ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
3 @ Ensure that a mode switch does not revert the architectural features that were
4 @ alternated explicitly.
6 .syntax unified
8 .arch_extension noidiv
10 .arm
11 udiv r0, r0, r1
12 @ CHECK: instruction requires: divide in ARM
14 .thumb
15 udiv r0, r0, r1
16 @ CHECK: instruction requires: divide in THUMB