This is the mail archive of the
mailing list for the GCC project.
Re: Expansion of narrowing math built-ins into power instructions
> > Hi Tejas,
> > [ Please do not top-post. ]
On Thu, Aug 22, 2019 at 01:27:06PM +0530, Tejas Joshi wrote:
> > What happens then? "It does not work" is very very vague. At least it
> > seems the compiler does build now?
> Oh, compiler builds but instruction is still "bl fadd". It should be
> "fadds" right?
Yes, but that means the problem is earlier, before it hits RTL perhaps.
Compile with -dap, look at the expand dump (the lowest numbered one, 234
or so), and see what it looked like in the final Gimple, and then in the
RTL generated from that. And then drill down.
Maybe you don't get what is needed at Gimple level already. Maybe it is
something simple like a typo in the RTL pattern name. You'll find out.