Thread (9 messages) 9 messages, 4 authors, 2008-09-29

Re: [PATCH] MIPS checksum fix

From: Ralf Baechle <hidden>
Date: 2008-09-20 15:09:30
Also in: linux-mips

On Fri, Sep 19, 2008 at 11:09:52PM +0900, Atsushi Nemoto wrote:
I think it would be better splitting bugfix and optimization.  This
code is too complex to do many things at a time, isn't it?
quoted
@@ -53,12 +53,14 @@
 #define UNIT(unit)  ((unit)*NBYTES)
 
 #define ADDC(sum,reg)						\
-	.set	push;						\
-	.set	noat;						\
 	ADD	sum, reg;					\
 	sltu	v1, sum, reg;					\
 	ADD	sum, v1;					\
-	.set	pop
Is this required?  Just a cleanup?
It papers over potencially important warnings so had to go.  I argue the
caller of ADDC should set noat mode, if at all.

  Ralf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help