Commit 1ea0e674 by Uros Bizjak Committed by Uros Bizjak

re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction…

re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag)

	PR target/65871
	* config/i386/i386.c (ix86_rtx_costs) <case COMPARE>: Ignore the
	cost of embedded comparison.

From-SVN: r224729
parent 8f77aa90
2015-06-22 Uros Bizjak <ubizjak@gmail.com>
PR target/65871
* config/i386/i386.c (ix86_rtx_costs) <case COMPARE>: Ignore the
cost of embedded comparison.
2015-06-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/65914
......
......@@ -42531,6 +42531,12 @@ ix86_rtx_costs (rtx x, int code_i, int outer_code_i, int opno, int *total,
+ 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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment