public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Libgcc divide vectorization question
@ 2023-03-21 16:59 Andrew Stubbs
  2023-03-22 10:09 ` Richard Biener
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Stubbs @ 2023-03-21 16:59 UTC (permalink / raw)
  To: GCC Development

Hi all,

I want to be able to vectorize divide operators (softfp and integer), 
but amdgcn only has hardware instructions suitable for -ffast-math.

We have recently implemented vector versions of all the libm functions, 
but the libgcc functions aren't builtins and therefore don't use those 
hooks.

What's the best way to achieve this? Add a new __builtin_div (and 
__builtin_mod) that tree-vectorize can find, perhaps? Or something else?

Thanks

Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-23  7:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 16:59 Libgcc divide vectorization question Andrew Stubbs
2023-03-22 10:09 ` Richard Biener
2023-03-22 11:02   ` Andrew Stubbs
2023-03-22 13:56     ` Richard Biener
2023-03-22 15:57       ` Andrew Stubbs
2023-03-23  7:24         ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).