mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +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:
@ -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>
|
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* interp.c (sim_open):
|
* interp.c (sim_open):
|
||||||
|
@ -73,7 +73,9 @@
|
|||||||
(long) CIA);
|
(long) CIA);
|
||||||
|
|
||||||
TRACE_ALU_INPUT2 (x, y);
|
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);
|
result = (subtract_p ? lhs - product : lhs + product);
|
||||||
if (saturate_p)
|
if (saturate_p)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user