blob: 7e4159f2e8f4d7a779c26e99b6c55b334bd225c3 [file] [log] [blame]
Saleem Abdulrasool8988c2a2014-07-27 19:07:09 +00001@ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
2
3@ Ensure that a mode switch does not revert the architectural features that were
4@ alternated explicitly.
5
6 .syntax unified
7
8 .arch_extension noidiv
9
10 .arm
11 udiv r0, r0, r1
12@ CHECK: instruction requires: divide in ARM
13
14 .thumb
15 udiv r0, r0, r1
16@ CHECK: instruction requires: divide in THUMB
17