From b01dfa8005657b72ae3fe789e260df1b818cb4ac Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 8 Oct 2013 08:55:40 +0000 Subject: gas/ 2013-10-08 Jan Beulich * gas/config/tc-arm.c (do_t_push_pop): Honor inst.size_req. Simplify LR/PC check. gas/testsuite/ 2013-10-08 Jan Beulich * gas/arm/thumb-w-good.s: Add PUSH.W and POP.W tests. * gas/arm/thumb-w-good.d: Update accordingly. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/arm/thumb-w-good.d | 4 ++++ gas/testsuite/gas/arm/thumb-w-good.s | 5 +++++ 3 files changed, 14 insertions(+) (limited to 'gas/testsuite') diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 63f2c178f6..283902161b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-10-08 Jan Beulich + + * gas/arm/thumb-w-good.s: Add PUSH.W and POP.W tests. + * gas/arm/thumb-w-good.d: Update accordingly. + 2013-10-08 Nick Clifton * gas/msp430/bad.s: New test: Checks erroneous size extensions. diff --git a/gas/testsuite/gas/arm/thumb-w-good.d b/gas/testsuite/gas/arm/thumb-w-good.d index d41493f949..da25e6442a 100644 --- a/gas/testsuite/gas/arm/thumb-w-good.d +++ b/gas/testsuite/gas/arm/thumb-w-good.d @@ -7,3 +7,7 @@ Disassembly of section .text: 00000000 <.text> f7ff fffe bl 00000000 00000004 <.text\+0x4> f3ef 8000 mrs r0, CPSR +00000008 <.text\+0x8> f84d 0d04 (str(\.w)? r0, \[sp, #-4\]!|push(\.w)? \{r0\}) +0000000c <.text\+0xc> e92d 4001 (stmdb(\.w)? sp!,|push(\.w)?)[ ]+\{r0, lr\} +00000010 <.text\+0x10> f85d 0b04 (ldr(\.w)? r0, \[sp\], #4|pop(\.w)? \{r0\}) +00000014 <.text\+0x14> e8bd 8001 (ldmia(\.w)? sp!,|pop(\.w)?)[ ]+\{r0, pc\} diff --git a/gas/testsuite/gas/arm/thumb-w-good.s b/gas/testsuite/gas/arm/thumb-w-good.s index cbbd07a573..feebef13a0 100644 --- a/gas/testsuite/gas/arm/thumb-w-good.s +++ b/gas/testsuite/gas/arm/thumb-w-good.s @@ -5,3 +5,8 @@ bl.w foo .arch armv6-m mrs.w r0, apsr +.arch armv6t2 +push.w {r0} +push.w {r0, lr} +pop.w {r0} +pop.w {r0, pc} -- cgit v1.2.1