r235562 - in /trunk/gcc: ChangeLog config/arc/a...
claziss@gcc.gnu.org
claziss@gcc.gnu.org
Thu Apr 28 12:15:00 GMT 2016
Author: claziss
Date: Thu Apr 28 12:15:06 2016
New Revision: 235562
URL: https://gcc.gnu.org/viewcvs?rev=235562&root=gcc&view=rev
Log:
[ARC] Don't use drsub* instructions when selecting fpuda.
The double precision floating point assist instructions are not
implementing the reverse double subtract instruction (drsub) found in
the FPX extension.
gcc/
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.md (cpu_facility): Add fpx variant.
(subdf3): Prohibit use reverse sub when assist operations option
is enabled.
* config/arc/fpx.md (subdf3_insn, *dsubh_peep2_insn): Allow drsub
instructions only when FPX is enabled.
* testsuite/gcc.target/arc/trsub.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/arc/trsub.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arc/arc.md
trunk/gcc/config/arc/fpx.md
More information about the Gcc-cvs
mailing list