OSDN Git Service

* gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
authorjiez <jiez>
Fri, 4 Sep 2009 02:48:08 +0000 (02:48 +0000)
committerjiez <jiez>
Fri, 4 Sep 2009 02:48:08 +0000 (02:48 +0000)
for (IU) option for multiply and multiply-accumulate to
data register instructon.

gas/testsuite/ChangeLog
gas/testsuite/gas/bfin/arithmetic.d
gas/testsuite/gas/bfin/arithmetic.s

index 1dcde07..6d818e9 100644 (file)
@@ -1,3 +1,9 @@
+2009-09-04  Jie Zhang  <jie.zhang@analog.com>
+
+       * gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
+       for (IU) option for multiply and multiply-accumulate to
+       data register instructon.
+
 2009-09-03  Jie Zhang  <jie.zhang@analog.com>
 
        * gas/bfin/parallel5.s: New test.
index cb7c951..88d6dbe 100644 (file)
@@ -141,7 +141,7 @@ Disassembly of section .text:
  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 ec6c0ae..74ddc4e 100644 (file)
@@ -173,7 +173,7 @@ multiply_accumulate_data_reg:
        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