mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-31 12:30:06 +00:00
18 lines
381 B
ArmAsm
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
|
||
|
|