Message ID | CAFULd4ZFkqLxs7yQWTns-fag5nE7Xrf4tvA-T_0CqZJ9M7mksg@mail.gmail.com |
---|---|
State | New |
Headers | show |
Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 224718) +++ config/i386/i386.c (working copy) @@ -42531,6 +42531,12 @@ ix86_rtx_costs (rtx x, int code_i, int outer_code_ + rtx_cost (const1_rtx, outer_code, opno, speed)); return true; } + + /* The embedded comparison operand is completely free. */ + if (!general_operand (XEXP (x, 0), GET_MODE (XEXP (x, 0))) + && XEXP (x, 1) == const0_rtx) + *total = 0; + return false; case FLOAT_EXTEND: