This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix bootstrap on x86_64, PR44722


We have two peephole2s that ping-pong happily after Bernds recent patch.

Bootstrapped and tested on x86_64-unknown-linux-gnu, committed.

2010-06-30  Richard Guenther  <rguenther@suse.de>

	PR target/44722
	* config/i386/i386.md (peephole2 for fix:SSEMODEI24): Guard
	against oscillation with reverse peephole2.

Index: gcc/config/i386/i386.md
===================================================================
*** gcc/config/i386/i386.md	(revision 161594)
--- gcc/config/i386/i386.md	(working copy)
*************** (define_peephole2
*** 4729,4734 ****
--- 4729,4735 ----
     (set (match_operand:SSEMODEI24 2 "register_operand" "")
  	(fix:SSEMODEI24 (match_dup 0)))]
    "TARGET_SHORTEN_X87_SSE
+    && !(TARGET_AVOID_VECTOR_DECODE && optimize_insn_for_speed_p ())
     && peep2_reg_dead_p (2, operands[0])"
    [(set (match_dup 2) (fix:SSEMODEI24 (match_dup 1)))]
    "")


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]