From 5c5eca3534b616fbdb8d2c7c56ab2182f4a9ef05 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 14 Sep 2011 21:26:25 +0000 Subject: [PATCH] Thumb2 assembly parsing and encoding for NOP.W. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139740 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/basic-thumb2-instructions.s | 7 +++++++ test/MC/ARM/thumb2.s | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 98ec7f3643d..97a59df224a 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -1167,6 +1167,13 @@ _func: @ CHECK: it eq @ encoding: [0x08,0xbf] @ CHECK: mvneq r2, r3 @ encoding: [0xda,0x43] +@------------------------------------------------------------------------------ +@ NOP +@------------------------------------------------------------------------------ + nop.w + +@ CHECK: nop.w @ encoding: [0xaf,0xf3,0x00,0x80] + @------------------------------------------------------------------------------ @ IT diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s index 30c99627d22..f4f48fa7064 100644 --- a/test/MC/ARM/thumb2.s +++ b/test/MC/ARM/thumb2.s @@ -226,9 +226,6 @@ @ CHECK: qdsub r1, r2, r3 @ encoding: [0x83,0xfa,0xb2,0xf1] qdsub r1, r2, r3 -@ CHECK: nop.w @ encoding: [0xaf,0xf3,0x00,0x80] - nop.w - @ CHECK: yield.w @ encoding: [0xaf,0xf3,0x01,0x80] yield.w