This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH bfin] Add test for (IU) option
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Fri, 4 Sep 2009 10:57:36 +0800
- Subject: [PATCH bfin] Add test for (IU) option
This patch adds a test to check for (IU) option for Blackfin multiply
and multiply-accumulate to data register instructon.
Committed.
Jie
* gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
for (IU) option for multiply and multiply-accumulate to
data register instructon.
Index: gas/bfin/arithmetic.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/bfin/arithmetic.d,v
retrieving revision 1.3
diff -u -r1.3 arithmetic.d
--- gas/bfin/arithmetic.d 26 Mar 2008 16:48:32 -0000 1.3
+++ gas/bfin/arithmetic.d 4 Sep 2009 02:45:50 -0000
@@ -141,7 +141,7 @@
168: 2d c1 17 d8 R1 = \(A1 \+= R2.H \* R7.H\) \(ISS2\);
16c: 0e c0 80 58 R3 = \(A1 -= R0.L \* R0.H\);
170: 1e c1 17 59 R5 = \(A1 -= R2.L \* R7.H\) \(M, IS\);
- 174: 0d c0 8b d9 R7 = \(A1 \+= R1.H \* R3.H\);
+ 174: 8d c1 8b d9 R7 = \(A1 \+= R1.H \* R3.H\) \(IU\);
00000178 <negate>:
178: 85 43 R5 = -R0;
Index: gas/bfin/arithmetic.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/bfin/arithmetic.s,v
retrieving revision 1.3
diff -u -r1.3 arithmetic.s
--- gas/bfin/arithmetic.s 26 Mar 2008 16:48:32 -0000 1.3
+++ gas/bfin/arithmetic.s 4 Sep 2009 02:45:50 -0000
@@ -173,7 +173,7 @@
r1 = (a1 += r2.h * r7.h) (iss2);
r3 = (A1 -= r0.l * R0.H);
R5 = (a1 -= R2.l * R7.h) (m, is);
- r7 = (a1+=r1.h*r3.h);
+ r7 = (a1+=r1.h*r3.h) (IU);
.text
.global negate