This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: how can I add gcc backend code into GCC package
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: liqin at sunnorth dot com dot cn
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 Sep 2006 13:22:03 -0400
- Subject: Re: how can I add gcc backend code into GCC package
- References: <OF2ABF56BC.F0BC6623-ON482571E6.00141FFC-482571E6.0014EED5@sunnorth.com.cn>
This revised patch is a little better, but it does not address
some of the comments. Specifically the seemingly random spacing in the
output templates and switching between spaces, tabs, and \t:
+ "bitrev %0, %1, r0 \\n clz %0, %0 \\n addi %0, 0x1 \\n"
+ mad %2, %3
+ mtcel%S1 %1 \\n mad %2, %3
+ mad %2, %3 \\n mfcel%S0 %0"
+ return \"mv! r29,%0\\n\\t.cpadd r29\\n\\tbr%S0 r29\";
I did notice something else: why are you defining your own
score-fp-bit.c instead of using either fp-bit.c or the new soft-fp
functionality?
Also, the diff is a single file, so there is no need to create a
tar file. If it is not too large, it is better to attach it directly
without compression. The patch message did not seem to make it to the
archives due to this.
Thanks, David