linux-packaging-mono/external/llvm/test/MC/ARM/directive-arch_extension-mode-switch.s
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

18 lines
381 B
ArmAsm

@ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
@ Ensure that a mode switch does not revert the architectural features that were
@ alternated explicitly.
.syntax unified
.arch_extension noidiv
.arm
udiv r0, r0, r1
@ CHECK: instruction requires: divide in ARM
.thumb
udiv r0, r0, r1
@ CHECK: instruction requires: divide in THUMB