projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559c277
)
Thumb NOP encoding varies depending on ARCH revision.
author
Jim Grosbach
<grosbach@apple.com>
Wed, 31 Aug 2011 18:35:46 +0000
(18:35 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Wed, 31 Aug 2011 18:35:46 +0000
(18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138876
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/MC/ARM/thumb-nop.s
[new file with mode: 0644]
patch
|
blob
diff --git a/test/MC/ARM/thumb-nop.s
b/test/MC/ARM/thumb-nop.s
new file mode 100644
(file)
index 0000000..
0b580ea
--- /dev/null
+++ b/
test/MC/ARM/thumb-nop.s
@@ -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]