On Fri, 27 Jun 2025, Robin Dapp wrote:

> > Maybe we can pass a scalar mode to the hook when we ask for
> > SCATTER/GATHER?  That might need fixups in other targets of course,
> > but it would make it clear what we're asking for?
> 
> How about an additional argument bool gather_scatter to make it more 
> explicit?  
> Then we could just
> if (gather_scatter)
>   return true;
> 
> for every target but riscv.

That works for me as well.

> I guess we're lucky that powerpc doesn't have gathers, though ;)
> 
> 

-- 
Richard Biener <rguent...@suse.de>
SUSE Software Solutions Germany GmbH,
Frankenstrasse 146, 90461 Nuernberg, Germany;
GF: Ivo Totev, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)

Reply via email to