18 lines · plain
1@ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null %s 2>&1 | FileCheck %s2 3@ Ensure that a mode switch does not revert the architectural features that were4@ alternated explicitly.5 6 .syntax unified7 8 .arch_extension noidiv9 10 .arm11 udiv r0, r0, r112@ CHECK: instruction requires: divide in ARM13 14 .thumb15 udiv r0, r0, r116@ CHECK: instruction requires: divide in THUMB17 18