* dsp.igen (do_w_op): Fix compiler warning.

This commit is contained in:
Thiemo Seufer 2006-11-07 14:59:49 +00:00
parent f2a9dd69a9
commit 02f97da761
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-11-07 Thiemo Seufer <ths@mips.com>
* dsp.igen (do_w_op): Fix compiler warning.
2006-08-29 Thiemo Seufer <ths@mips.com>
David Ung <davidu@mips.com>

View File

@ -69,10 +69,10 @@
h0 = (signed64)h1 + (signed64)h2;
else // SUB
h0 = (signed64)h1 - (signed64)h2;
if (((h0 & 0x100000000) >> 1) != (h0 & 0x80000000))
if (((h0 & 0x100000000LL) >> 1) != (h0 & 0x80000000))
{
DSPCR |= DSPCR_OUFLAG4;
if (h0 & 0x100000000)
if (h0 & 0x100000000LL)
h0 = 0x80000000;
else
h0 = 0x7fffffff;