Thumb NOP encoding varies depending on ARCH revision.

llvm-svn: 138876
This commit is contained in:
Jim Grosbach 2011-08-31 18:35:46 +00:00
parent 973a8886f6
commit 6eb213c919
1 changed files with 9 additions and 0 deletions

View 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]