(notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set
CC_NO_OVERFLOW. From-SVN: r11785
This commit is contained in:
parent
ca366d6857
commit
b757e35281
@ -1675,8 +1675,10 @@ notice_update_cc (exp, insn)
|
|||||||
{
|
{
|
||||||
case PLUS: case MINUS: case MULT:
|
case PLUS: case MINUS: case MULT:
|
||||||
case DIV: case UDIV: case MOD: case UMOD: case NEG:
|
case DIV: case UDIV: case MOD: case UMOD: case NEG:
|
||||||
|
#if 0 /* These instructions always clear the overflow bit */
|
||||||
case ASHIFT: case ASHIFTRT: case LSHIFTRT:
|
case ASHIFT: case ASHIFTRT: case LSHIFTRT:
|
||||||
case ROTATE: case ROTATERT:
|
case ROTATE: case ROTATERT:
|
||||||
|
#endif
|
||||||
if (GET_MODE (cc_status.value2) != VOIDmode)
|
if (GET_MODE (cc_status.value2) != VOIDmode)
|
||||||
cc_status.flags |= CC_NO_OVERFLOW;
|
cc_status.flags |= CC_NO_OVERFLOW;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user