re PR rtl-optimization/17107 (Opportunity to improve code generated for complex logical expression)

2004-12-01  David Edelsohn  <edelsohn@gnu.org>
	    Nathan Sidwell  <nathan@codesourcery.com>

	PR target/17107
	* config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER.
	(sgt): Same.
	(sle): Same.
	(slt): Same.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>

From-SVN: r91568
This commit is contained in:
David Edelsohn 2004-12-01 17:18:38 +00:00 committed by David Edelsohn
parent e06c0febd9
commit e56d740960
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,12 @@
2004-12-01 David Edelsohn <edelsohn@gnu.org>
Nathan Sidwell <nathan@codesourcery.com>
PR target/17107
* config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER.
(sgt): Same.
(sle): Same.
(slt): Same.
2004-12-01 Nathan Sidwell <nathan@codesourcery.com>
PR middle-end/18667

View File

@ -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]);