------- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-21 23:52 -------
For x86, there is no difference in the code gen for f and f1/f2, but for PPC32,
there is:
for f1/f2:
addic %r0,%r31,-1
subfe %r3,%r0,%r31
For f:
srawi %r3,%r31,31
subf %r3,%r31,%r3
srwi %r3,%r3,31
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|missed optimization with non|missed optimization with
|COND_EXPR and vrp and |non-COND_EXPR and vrp and
|comparisions |comparisions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28794