This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r126537 - in /trunk/gcc: ChangeLog config/mips/...
- From: daney at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 11 Jul 2007 05:14:36 -0000
- Subject: r126537 - in /trunk/gcc: ChangeLog config/mips/...
Author: daney
Date: Wed Jul 11 05:14:35 2007
New Revision: 126537
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126537
Log:
2007-07-10 David Daney <ddaney@avtrex.com>
* config/mips/mips.h (ISA_HAS_SYNCI): New target capability
predicate.
(INITIALIZE_TRAMPOLINE): Emit clear_cache insn instead of library
call.
* config/mips/mips.c (mips_expand_synci_loop): New function.
* config/mips/mips.md (UNSPEC_CLEAR_HAZARD): New constant.
(UNSPEC_RDHWR): Same.
(UNSPEC_SYNCI): Same.
(UNSPEC_SYNC): Same.
(clear_cache): New expand.
(sync): New insn.
(synci): Same.
(rdhwr): Same.
(clear_hazard): Same.
* config/mips/mips-protos.h (mips_expand_synci_loop): Declare
function.
* testsuite/gcc.target/mips/clear-cache-1.c: New test.
* testsuite/gcc.target/mips/clear-cache-2.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/mips/clear-cache-1.c
trunk/gcc/testsuite/gcc.target/mips/clear-cache-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/mips-protos.h
trunk/gcc/config/mips/mips.c
trunk/gcc/config/mips/mips.h
trunk/gcc/config/mips/mips.md