This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Prettify assembly output on the SPARC
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Mar 2009 19:57:28 +0100
- Subject: Prettify assembly output on the SPARC
Spotted while looking into PR target/35180. No functional change, tested on
SPARC/Solaris, applied on the mainline.
2009-03-18 Eric Botcazou <ebotcazou@adacore.com>
PR target/35180
* config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output.
--
Eric Botcazou
Index: config/sparc/sparc.md
===================================================================
--- config/sparc/sparc.md (revision 144928)
+++ config/sparc/sparc.md (working copy)
@@ -7082,10 +7082,10 @@ (define_insn "do_builtin_setjmp_setup"
[(unspec_volatile [(const_int 0)] UNSPECV_SETJMP)]
""
{
- if (! cfun->calls_alloca)
+ if (!cfun->calls_alloca)
return "";
- if (! TARGET_V9)
- return "\tta\t3\n";
+ if (!TARGET_V9)
+ return "ta\t3";
fputs ("\tflushw\n", asm_out_file);
if (flag_pic)
fprintf (asm_out_file, "\tst%c\t%%l7, [%%sp+%d]\n",