[Bug optimization/13191] [64bit] Redundant sign extends

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 25 06:10:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-25 06:10 -------
The reason why the tree-ssa is better is from "ter":
do_integer_bitwise (iterations, r)
{
  int s;

<bb 0>:
  r = r ^ iterations;
  s = iterations ^ r;
  r = (r | s) ^ iterations;
  s = s ^ r;
  r = (r | s) ^ iterations;
  s = s ^ r;
  r = (r | s) ^ iterations;
  return r | s ^ r;
}

-- 


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



More information about the Gcc-bugs mailing list