[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/11877] gcc should use xor trick with -Os




------- Comment #9 from dann at godzilla dot ics dot uci dot edu  2006-01-05 20:22 -------
(In reply to comment #7)
> *** Bug 23338 has been marked as a duplicate of this bug. ***
> 

Bug 23338 contained a patch that might fixed this issue. Here it is, so
that it can be evaluated.


*** i386.md     08 Aug 2005 16:38:37 -0700      1.652
--- i386.md     11 Aug 2005 11:27:11 -0700      
***************
*** 18874,18881 ****
    [(match_scratch:SI 1 "r")
     (set (match_operand:SI 0 "memory_operand" "")
          (const_int 0))]
!   "! optimize_size
!    && ! TARGET_USE_MOV0
     && TARGET_SPLIT_LONG_MOVES
     && get_attr_length (insn) >= ix86_cost->large_insn
     && peep2_regno_dead_p (0, FLAGS_REG)"
--- 18874,18880 ----
    [(match_scratch:SI 1 "r")
     (set (match_operand:SI 0 "memory_operand" "")
          (const_int 0))]
!   "! TARGET_USE_MOV0
     && TARGET_SPLIT_LONG_MOVES
     && get_attr_length (insn) >= ix86_cost->large_insn
     && peep2_regno_dead_p (0, FLAGS_REG)"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11877

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: