This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Similarly value-numbering misses handling of ternarys.  I'll fix that tomorrow.

Richard.

>
> r~
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]