llvm-6502/test/MC/ARM/directive-arch_extension-toggle.s
Saleem Abdulrasool 70d641fbec ARM: correct toggling behaviour
This was a thinko.  The intent was to flip the explicit bits that need toggling
rather than all bits.  This would result in incorrect behaviour (which now is
tested).

Thanks to Nico Weber for pointing this out!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215846 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-17 19:20:38 +00:00

9 lines
160 B
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi -mattr hwdiv -filetype asm -o /dev/null %s
.syntax unified
.thumb
udiv r0, r1, r2
.arch_extension idiv
udiv r0, r1, r2