From: Michael Meissner Date: Tue, 12 Apr 1994 11:40:34 +0000 (+0000) Subject: Remove LSHIFT case, since there is no LSHIFT tree code. X-Git-Tag: misc/cutover-egcs-0~6904 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=291b0f345c05ec9c3b738253d7a69df881f0ce4f;p=thirdparty%2Fgcc.git Remove LSHIFT case, since there is no LSHIFT tree code. From-SVN: r7039 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 384cfb076945..3411102185c2 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1480,7 +1480,7 @@ print_operand_address (file, addr) /* Set the cc_status for the results of an insn whose pattern is EXP. On the 80386, we assume that only test and compare insns, as well - as SI, HI, & DI mode ADD, SUB, NEG, AND, IOR, XOR, ASHIFT, LSHIFT, + as SI, HI, & DI mode ADD, SUB, NEG, AND, IOR, XOR, ASHIFT, ASHIFTRT, and LSHIFTRT instructions set the condition codes usefully. Also, we assume that jumps, moves and sCOND don't affect the condition codes. All else clobbers the condition codes, by assumption. @@ -1548,7 +1548,7 @@ notice_update_cc (exp) switch (GET_CODE (SET_SRC (exp))) { case ASHIFTRT: case LSHIFTRT: - case ASHIFT: case LSHIFT: + case ASHIFT: /* Shifts on the 386 don't set the condition codes if the shift count is zero. */ if (GET_CODE (XEXP (SET_SRC (exp), 1)) != CONST_INT)