This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Overlapping operands in ARM mul and mla instructions
Nick Clifton wrote:
gas/testsuite/
* gas/arm/mul-overlap.s: New.
* gas/arm/mul-overlap.d: New.
* gas/arm/mul-overlap.l: New.
* gas/arm/mul-overlap-v6.s: New.
* gas/arm/mul-overlap-v6.d: New.
These tests have introduced some new GAS testsuite failures for the
arm-wince-pe and arm-epoc-pe toolchains. Please could you investigate
and fix them ?
I have applied the following to fix this. Tested on arm-none-eabi,
arm-wince-pe and arm-epoc-pe.
Mark
--
2007-03-20 Mark Shinwell <shinwell@codesourcery.com>
* gas/arm/mul-overlap.s: Don't use %type.
* gas/arm/mul-overlap.l: Update line numbers.
* gas/arm/mul-overlap-v6.s: Don't use %type.
Index: gas/testsuite/gas/arm/mul-overlap-v6.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/mul-overlap-v6.s,v
retrieving revision 1.1
diff -U3 -p -r1.1 mul-overlap-v6.s
--- gas/testsuite/gas/arm/mul-overlap-v6.s 18 Mar 2007 16:21:27 -0000
1.1
+++ gas/testsuite/gas/arm/mul-overlap-v6.s 20 Mar 2007 12:54:57 -0000
@@ -2,7 +2,6 @@
.text
.align 2
.global foo
- .type foo, %function
foo:
mul r0, r0, r0
mla r0, r0, r1, r2
Index: gas/testsuite/gas/arm/mul-overlap.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/mul-overlap.l,v
retrieving revision 1.1
diff -U3 -p -r1.1 mul-overlap.l
--- gas/testsuite/gas/arm/mul-overlap.l 18 Mar 2007 16:21:27 -0000 1.1
+++ gas/testsuite/gas/arm/mul-overlap.l 20 Mar 2007 12:54:57 -0000
@@ -1,3 +1,3 @@
[^:]*: Assembler messages:
-[^:]*:6: Rd and Rm should be different in mul
-[^:]*:7: Rd and Rm should be different in mla
+[^:]*:5: Rd and Rm should be different in mul
+[^:]*:6: Rd and Rm should be different in mla
Index: gas/testsuite/gas/arm/mul-overlap.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/mul-overlap.s,v
retrieving revision 1.1
diff -U3 -p -r1.1 mul-overlap.s
--- gas/testsuite/gas/arm/mul-overlap.s 18 Mar 2007 16:21:27 -0000 1.1
+++ gas/testsuite/gas/arm/mul-overlap.s 20 Mar 2007 12:54:57 -0000
@@ -1,7 +1,6 @@
.text
.align 2
.global foo
- .type foo, %function
foo:
mul r0, r0, r0
mla r0, r0, r1, r2