From 931ee9d871f0a496f5ef29135e26b5e7fbb4066f Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Wed, 17 Apr 2019 01:14:00 +0800 Subject: [PATCH] cstest: fix wfi.ww, wfe.ww, yield.ww & nop.ww in basic-thumb2-instructions.s.cs --- suite/MC/ARM/basic-thumb2-instructions.s.cs | 10 +++++----- suite/cstest/issues.cs | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/suite/MC/ARM/basic-thumb2-instructions.s.cs b/suite/MC/ARM/basic-thumb2-instructions.s.cs index 3bb7747c..87175459 100644 --- a/suite/MC/ARM/basic-thumb2-instructions.s.cs +++ b/suite/MC/ARM/basic-thumb2-instructions.s.cs @@ -528,7 +528,7 @@ // 0xda,0x43 = mvneq r2, r3 0xc2,0xf1,0x00,0x05 = rsb.w r5, r2, #0 0xc8,0xf1,0x00,0x05 = rsb.w r5, r8, #0 -0xaf,0xf3,0x00,0x80 = nop.ww +0xaf,0xf3,0x00,0x80 = nop.w 0x65,0xf4,0x70,0x44 = orn r4, r5, #61440 0x65,0xea,0x06,0x04 = orn r4, r5, r6 0x75,0xea,0x06,0x04 = orns r4, r5, r6 @@ -1201,10 +1201,10 @@ // 0x30,0xbf = wfige // 0x10,0xbf = yieldlt // 0xaf,0xf3,0x04,0x80 = sev.w -0xaf,0xf3,0x03,0x80 = wfi.ww -0xaf,0xf3,0x02,0x80 = wfe.ww -0xaf,0xf3,0x01,0x80 = yield.ww -0xaf,0xf3,0x00,0x80 = nop.ww +0xaf,0xf3,0x03,0x80 = wfi.w +0xaf,0xf3,0x02,0x80 = wfe.w +0xaf,0xf3,0x01,0x80 = yield.w +0xaf,0xf3,0x00,0x80 = nop.w 0x40,0xbf = sev // 0x30,0xbf = wfi // 0x20,0xbf = wfe diff --git a/suite/cstest/issues.cs b/suite/cstest/issues.cs index d9b13da1..b066cfef 100644 --- a/suite/cstest/issues.cs +++ b/suite/cstest/issues.cs @@ -1,3 +1,7 @@ +!# issue 1456 ARM printPKHASRShiftImm +!# CS_ARCH_ARM, CS_MODE_LITTLE_ENDIAN, None +0xca,0xea,0x21,0x06 == pkhtb r6, sl, r1, asr #0x20 + !# issue 1456 EIZ !# CS_ARCH_X86, CS_MODE_32, None 0x8d,0xb4,0x26,0x00,0x00,0x00,0x00 == lea esi, [esi]