From b43ab92ef193e5a53ec195cbfa85252ecc47a43e Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Fri, 4 Sep 2009 02:48:08 +0000 Subject: [PATCH] * gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check for (IU) option for multiply and multiply-accumulate to data register instructon. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/bfin/arithmetic.d | 2 +- gas/testsuite/gas/bfin/arithmetic.s | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 1dcde0729af..6d818e93f6b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-09-04 Jie Zhang + + * 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 * gas/bfin/parallel5.s: New test. diff --git a/gas/testsuite/gas/bfin/arithmetic.d b/gas/testsuite/gas/bfin/arithmetic.d index cb7c95130e8..88d6dbe2e15 100644 --- a/gas/testsuite/gas/bfin/arithmetic.d +++ b/gas/testsuite/gas/bfin/arithmetic.d @@ -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 : 178: 85 43 R5 = -R0; diff --git a/gas/testsuite/gas/bfin/arithmetic.s b/gas/testsuite/gas/bfin/arithmetic.s index ec6c0ae1610..74ddc4ef83b 100644 --- a/gas/testsuite/gas/bfin/arithmetic.s +++ b/gas/testsuite/gas/bfin/arithmetic.s @@ -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 -- 2.30.2