This is the mail archive of the gcc-cvs@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]

r235562 - in /trunk/gcc: ChangeLog config/arc/a...


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


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