https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109555

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to niXman from comment #2)
> (In reply to Andrew Pinski from comment #1)
> > Note branchless might be worse.
> 
> really?
> could you explain please?

Yes cache misses. That is the second load might miss the cache.
Plus the non reduced case will most likely have a branch on the result so in
the end, it would just do unnecessary things if it is different.


> 
> 
> 
> > Anyways there is a duplicate of this bug
> > already. I think I filed it.
> 
> thank you!

Reply via email to