mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
Thumb NOP encoding varies depending on ARCH revision.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
559c277aa9
commit
d82175c1f0
9
test/MC/ARM/thumb-nop.s
Normal file
9
test/MC/ARM/thumb-nop.s
Normal file
@ -0,0 +1,9 @@
|
||||
@ RUN: llvm-mc -triple=thumbv6-apple-darwin -show-encoding < %s | FileCheck %s -check-prefix=CHECK-V6
|
||||
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding < %s | FileCheck %s -check-prefix=CHECK-V7
|
||||
|
||||
.syntax unified
|
||||
|
||||
nop
|
||||
|
||||
@ CHECK-V6: nop @ encoding: [0xc0,0x46]
|
||||
@ CHECK-V7: nop @ encoding: [0x00,0xbf]
|
Loading…
Reference in New Issue
Block a user