[PATCH] MIPS: Cleanup assembly output for clear_hazard insn.

David Daney ddaney@avtrex.com
Sun Dec 16 08:16:00 GMT 2007


The patch that added the clear_hazard insn for MIPS uses ".set push;
.set noreorder; .set nomacro ... .set pop" .  Since %(%<...%>%) is the
preferred way of handling this construct, I have changed it to do it the
'right way'.

Testing c,c++,java with mipsel-linux cross compiler configured
--with-arch=mips32r2  and the generated code looks good.  I will also
run the testsuite on mips32r2 hardware.

OK to commit if testing succeeds?

2007-12-15  David Daney  <ddaney@avtrex.com>

    * config/mips/mips.md (clear_hazard): Use PRINT_OPERAND punctuation
    instead of .set push and .set pop.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clear_hazard_cleanup.diff
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071216/a5c4a374/attachment.bin>


More information about the Gcc-patches mailing list