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

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-04 07:50 -------
What about expanding (set (mem:DI ...) (const_int 0)) at expand time, this will cause more 
opportunities to happen and then the discusion is up to other parts of the compiler.
It looks like an easy change to ix86_expand_move.
Also interesting is that this testcase:
void
foo (long *p)
{
  *p = 0;
  p[1] = 0;
}
Does not use the xor trick either.

-- 


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: