Hello! As shown in the PR [1], RTX costs can reject combination of the operation and its embedded comparison. Attached patch fixes this by ignoring the cost of embedded comparison. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65871#c10 2015-06-22 Uros Bizjak PR target/65871 * config/i386/i386.c (ix86_rtx_costs) : Ignore the cost of embedded comparison. Bootstrapped on x86_64-linux-gnu, regtest in progress. Uros.