This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how can I add gcc backend code into GCC package


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]