Re: [PATCH v2 09/76] ARC: Checksum/byteorder/swab routines

2013-01-18 Thread Vineet Gupta
On Friday 18 January 2013 07:51 PM, Arnd Bergmann wrote: > On Friday 18 January 2013, Vineet Gupta wrote: >> TBD: do_csum still needs to be written in asm > Do you actually expect a lot of improvement in do_csum? > I would hope that gcc can actually generate a pretty > good version of it, unless

Re: [PATCH v2 09/76] ARC: Checksum/byteorder/swab routines

2013-01-18 Thread Arnd Bergmann
On Friday 18 January 2013, Vineet Gupta wrote: > TBD: do_csum still needs to be written in asm Do you actually expect a lot of improvement in do_csum? I would hope that gcc can actually generate a pretty good version of it, unless you have some 64-bit add-with-carry instruction or something else

[PATCH v2 09/76] ARC: Checksum/byteorder/swab routines

2013-01-18 Thread Vineet Gupta
TBD: do_csum still needs to be written in asm Signed-off-by: Vineet Gupta --- arch/arc/include/asm/byteorder.h | 18 +++ arch/arc/include/asm/checksum.h | 101 ++ arch/arc/include/asm/swab.h | 98 3 files

[PATCH v2 09/76] ARC: Checksum/byteorder/swab routines

2013-01-18 Thread Vineet Gupta
TBD: do_csum still needs to be written in asm Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/byteorder.h | 18 +++ arch/arc/include/asm/checksum.h | 101 ++ arch/arc/include/asm/swab.h | 98

Re: [PATCH v2 09/76] ARC: Checksum/byteorder/swab routines

2013-01-18 Thread Arnd Bergmann
On Friday 18 January 2013, Vineet Gupta wrote: TBD: do_csum still needs to be written in asm Do you actually expect a lot of improvement in do_csum? I would hope that gcc can actually generate a pretty good version of it, unless you have some 64-bit add-with-carry instruction or something else

Re: [PATCH v2 09/76] ARC: Checksum/byteorder/swab routines

2013-01-18 Thread Vineet Gupta
On Friday 18 January 2013 07:51 PM, Arnd Bergmann wrote: On Friday 18 January 2013, Vineet Gupta wrote: TBD: do_csum still needs to be written in asm Do you actually expect a lot of improvement in do_csum? I would hope that gcc can actually generate a pretty good version of it, unless you