[patch 9/N][PA] convert to fma

Richard Henderson rth@twiddle.net
Tue Nov 16 10:15:00 GMT 2010


On 11/15/2010 03:40 PM, Richard Guenther wrote:
> On Tue, Nov 16, 2010 at 12:30 AM, Richard Henderson <rth@twiddle.net> wrote:
>> On 11/15/2010 03:15 PM, John David Anglin wrote:
>>>> What's the error on builtin-attr-1.c?
>>>
>>> Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c   -O0  -ffast-math -lm   -o builtin-attr-1.exe    (timeout = 300)
>>> ld: Unsatisfied symbol "link_failure_fmaf" in file /var/tmp//ccc7xB9C.o
>>> ld: Unsatisfied symbol "link_failure_builtin_fmaf" in file /var/tmp//ccc7xB9C.o
>>> ld: Unsatisfied symbol "link_failure_fma" in file /var/tmp//ccc7xB9C.o
>>> ld: Unsatisfied symbol "link_failure_builtin_fma" in file /var/tmp//ccc7xB9C.o
>>
>> Ah, this indicates a failure to fold FMA(a,b,c) == FMA(a,b,c) to true.
>>
>> I'll fix this in a moment.
> 
> Yeah, operand_equal_p misses explicit handling of various ternary
> (tcc_expression) ops.

Oh yeah, there are quite a few missing there.  Fixed thus.


r~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101116/1e2cf39a/attachment.ksh>


More information about the Gcc-patches mailing list