[Bug tree-optimization/67628] [tree-optimization] (a && b) && c shows better codegen than a && (b && c)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 18 14:48:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67628
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-09-18
CC| |pinskia at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is due to the fold-const.c optimization which should not be there any
more. You need to do benchmarking on x86 also if you remove it.
I have not done that yet which is why I have not submitted the patch to fix
this.
More information about the Gcc-bugs
mailing list