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

--- Comment #5 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
(In reply to Tamar Christina from comment #4)
> (In reply to JuzheZhong from comment #3)
> > I guess this code is just disabling partial vector for length for now.
> > 
> > And need me to test and port this part for length in the followup patches.
> > 
> > Am I right ?
> 
> Yeah, it needed to safely not allow it through for now. Once implemented 
> you'll hit an assert in vectorizable_live_operations where you need to
> provide a way to also get the first active element from a vector.

So for a length target, I enable cbranch optab but no vcond_mask_len optab.
Will it behavior wrong ?

Another question is could you give me more hints about
vectorizable_live_operation?

I thought vectorizable_live_operation is doing extract last active element,
I didn't see extract first active element.

Reply via email to