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

Reply via email to