Messages in this thread | | | Date | Fri, 18 Jan 2013 19:56:12 +0530 | From | Vineet Gupta <> | Subject | Re: [PATCH v2 09/76] ARC: Checksum/byteorder/swab routines |
| |
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 have some 64-bit add-with-carry > instruction or something else that you could make use of.
We do have 32bit add-with-carry and it has it's own set of micro-architectural hazards and stalls which deserve careful insn scheduling. So yes the mileage would vary but certainly deserves a try.
> >> Signed-off-by: Vineet Gupta <vgupta@synopsys.com> > Acked-by: Arnd Bergmann <arnd@arndb.de>
Thanks, -Vineet
| |