From: David Edelsohn Date: Wed, 1 Dec 2004 17:18:38 +0000 (+0000) Subject: re PR rtl-optimization/17107 (Opportunity to improve code generated for complex logic... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e56d74096083df15062ce006efa6c9ecd17dc2a9;p=gcc.git re PR rtl-optimization/17107 (Opportunity to improve code generated for complex logical expression) 2004-12-01 David Edelsohn Nathan Sidwell PR target/17107 * config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER. (sgt): Same. (sle): Same. (slt): Same. Co-Authored-By: Nathan Sidwell From-SVN: r91568 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35a6bb86369..6bd3d49c877 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2004-12-01 David Edelsohn + Nathan Sidwell + + PR target/17107 + * config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER. + (sgt): Same. + (sle): Same. + (slt): Same. + 2004-12-01 Nathan Sidwell PR middle-end/18667 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index edbccc64613..18d96da8821 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -11119,8 +11119,7 @@ "" " { - if (! rs6000_compare_fp_p - && (! TARGET_POWER || rs6000_compare_op1 == const0_rtx)) + if (! rs6000_compare_fp_p && rs6000_compare_op1 == const0_rtx) FAIL; rs6000_emit_sCOND (GE, operands[0]); @@ -11133,8 +11132,7 @@ "" " { - if (! rs6000_compare_fp_p - && (! TARGET_POWER || rs6000_compare_op1 == const0_rtx)) + if (! rs6000_compare_fp_p && rs6000_compare_op1 == const0_rtx) FAIL; rs6000_emit_sCOND (GT, operands[0]); @@ -11147,8 +11145,7 @@ "" " { - if (! rs6000_compare_fp_p - && (! TARGET_POWER || rs6000_compare_op1 == const0_rtx)) + if (! rs6000_compare_fp_p && rs6000_compare_op1 == const0_rtx) FAIL; rs6000_emit_sCOND (LE, operands[0]); @@ -11161,8 +11158,7 @@ "" " { - if (! rs6000_compare_fp_p - && (! TARGET_POWER || rs6000_compare_op1 == const0_rtx)) + if (! rs6000_compare_fp_p && rs6000_compare_op1 == const0_rtx) FAIL; rs6000_emit_sCOND (LT, operands[0]);