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

--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Hongtao Liu from comment #8)
> (In reply to Uroš Bizjak from comment #6)
> > (In reply to Uroš Bizjak from comment #5)
> > 
> > > However, the compiler generates quite unoptimal code here:
> > STV pass would cover this (and similar bit-twiddling on float bit patterns -
> > the fabs/copysign-style masks done by hand). CC STV masters.
> 
> We're working on a patch to support $v alternative in and/xor/or{si,di}
> patterns so RA can handle testcase like 
FYI, STV was invented to *not* depend decision about register set on RA. It
takes various other costs into account (e.g. cost of moving value between
register sets, and similar). Under severe register pressure, RA can and will
move values between register sets.

Reply via email to