* dsp.igen (do_w_op): Fix compiler warning.
This commit is contained in:
parent
f2a9dd69a9
commit
02f97da761
@ -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>
|
2006-08-29 Thiemo Seufer <ths@mips.com>
|
||||||
David Ung <davidu@mips.com>
|
David Ung <davidu@mips.com>
|
||||||
|
|
||||||
|
@ -69,10 +69,10 @@
|
|||||||
h0 = (signed64)h1 + (signed64)h2;
|
h0 = (signed64)h1 + (signed64)h2;
|
||||||
else // SUB
|
else // SUB
|
||||||
h0 = (signed64)h1 - (signed64)h2;
|
h0 = (signed64)h1 - (signed64)h2;
|
||||||
if (((h0 & 0x100000000) >> 1) != (h0 & 0x80000000))
|
if (((h0 & 0x100000000LL) >> 1) != (h0 & 0x80000000))
|
||||||
{
|
{
|
||||||
DSPCR |= DSPCR_OUFLAG4;
|
DSPCR |= DSPCR_OUFLAG4;
|
||||||
if (h0 & 0x100000000)
|
if (h0 & 0x100000000LL)
|
||||||
h0 = 0x80000000;
|
h0 = 0x80000000;
|
||||||
else
|
else
|
||||||
h0 = 0x7fffffff;
|
h0 = 0x7fffffff;
|
||||||
|
Loading…
Reference in New Issue
Block a user