diff options
author | Chris Demetriou <cgd@google.com> | 2003-06-18 01:12:03 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2003-06-18 01:12:03 +0000 |
commit | 9a1d84fb16d3439402fef7b5866c2c341cf8e9db (patch) | |
tree | 8961a7667e4dd64ff1732e755f3643fed6a6b81a /sim/mips/mips.igen | |
parent | f97b9cb853d19427d84a9a65716a9e049d4c480a (diff) | |
download | gdb-9a1d84fb16d3439402fef7b5866c2c341cf8e9db.zip gdb-9a1d84fb16d3439402fef7b5866c2c341cf8e9db.tar.gz gdb-9a1d84fb16d3439402fef7b5866c2c341cf8e9db.tar.bz2 |
2003-06-17 Richard Sandiford <rsandifo@redhat.com>
* mips.igen (do_dmultx): Fix check for negative operands.
Diffstat (limited to 'sim/mips/mips.igen')
-rw-r--r-- | sim/mips/mips.igen | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index 81fb200..358c8ab 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -1347,12 +1347,12 @@ sign = 0; if (signed_p) { - if (op1 < 0) + if ((signed64) op1 < 0) { op1 = - op1; ++sign; } - if (op2 < 0) + if ((signed64) op2 < 0) { op2 = - op2; ++sign; |