From 71d3d67508176091575714dddf008b77db4089c9 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 29 Jul 2011 17:39:27 +0000 Subject: [PATCH] ARM update tests for CPS instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136472 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/arm_instructions.s | 9 --------- test/MC/ARM/basic-arm-instructions.s | 13 +++++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index b8f16ebb16f..5bc4ba4d99d 100644 --- a/test/MC/ARM/arm_instructions.s +++ b/test/MC/ARM/arm_instructions.s @@ -65,15 +65,6 @@ @ CHECK: cdp2 p7, #1, c1, c1, c1, #4 @ encoding: [0x81,0x17,0x11,0xfe] cdp2 p7, #1, c1, c1, c1, #4 -@ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1] - cpsie aif - -@ CHECK: cps #15 @ encoding: [0x0f,0x00,0x02,0xf1] - cps #15 - -@ CHECK: cpsie if, #10 @ encoding: [0xca,0x00,0x0a,0xf1] - cpsie if, #10 - @ CHECK: add r1, r2, r3, lsl r4 @ encoding: [0x13,0x14,0x82,0xe0] add r1, r2, r3, lsl r4 diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s index 09a9cad5e86..872341ffe97 100644 --- a/test/MC/ARM/basic-arm-instructions.s +++ b/test/MC/ARM/basic-arm-instructions.s @@ -480,6 +480,19 @@ Lforward: @ CHECK: cmp r7, r8, ror r2 @ encoding: [0x78,0x02,0x57,0xe1] @ CHECK: cmp r1, r6, rrx @ encoding: [0x66,0x00,0x51,0xe1] + +@------------------------------------------------------------------------------ +@ CPS +@------------------------------------------------------------------------------ + cpsie aif + cps #15 + cpsid if, #10 + +@ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1] +@ CHECK: cps #15 @ encoding: [0x0f,0x00,0x02,0xf1] +@ CHECK: cpsid if, #10 @ encoding: [0xca,0x00,0x0e,0xf1] + + @------------------------------------------------------------------------------ @ DBG @------------------------------------------------------------------------------ -- 2.34.1