extending fpmuls

David Miller davem@davemloft.net
Tue Oct 25 10:37:00 GMT 2011


From: Jakub Jelinek <jakub@redhat.com>
Date: Tue, 25 Oct 2011 10:00:50 +0200

> I bet
> double fsmuld (float a, float b)
> {
>   return (double) a * b;
> }
> instead will match your pattern, then the operands are first extended
> into double and then multiplied into a double product.

Right, in existing testcases I've used "(double)a * (double) b"
to trigger the pattern.

Thanks for explaining.



More information about the Gcc mailing list