mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
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:
parent
060dc71d21
commit
bcd0068ecf
@ -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):
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user