2003-04-15 Richard Sandiford <rsandifo@redhat.com>

* vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
        unsigned operands.
This commit is contained in:
Chris Demetriou 2003-04-16 00:52:08 +00:00
parent 060dc71d21
commit bcd0068ecf
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-04-15 Richard Sandiford <rsandifo@redhat.com>
* vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
unsigned operands.
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open):

View File

@ -73,7 +73,9 @@
(long) CIA);
TRACE_ALU_INPUT2 (x, y);
product = (unsigned_p ? x * y : EXTEND32 (x) * EXTEND32 (y));
product = (unsigned_p
? V8_4 (x, 1) * V8_4 (y, 1)
: EXTEND32 (x) * EXTEND32 (y));
result = (subtract_p ? lhs - product : lhs + product);
if (saturate_p)
{