On Sat, 2011-12-17 at 13:32 -0800, Richard Henderson wrote:
> The other thing that should be remembered is that inside a { }
> block you don't need to double-quote all the \'s.
>
Before:
"*
{
return \"\\
mova\\t1f, r0\\n\\
\\t.align\\t2\\n\\
\\tmov\\tr15, r1\\n\\
\\tmov\\t#(0f-1f), r15\\n\\
0:\\tmov.<i124suffix>\\t@%1, %0\\n\\
\\tand\\t%2, %0\\n\\
\\tnot\\t%0, %0\\n\\
\\tmov.<i124suffix>\\t%0, @%1\\n\\
1:\\tmov\tr1, r15\";
}"
After:
{
return
"mova 1f,r0" "\n"
" .align 2" "\n"
" mov r15,r1" "\n"
" mov #(0f-1f),r15" "\n"
" mov.<i124suffix> @%1,%0" "\n"
" and %2,%0" "\n"
" not %0,%0" "\n"
" mov.<i124suffix> %0,@%1" "\n"
"1: mov r1,r15";
}
Is this style OK?