RE: [PATCH] x86: Run checksumming in parallel accross multiple alu's
From: David Laight <hidden>
Date: 2013-11-01 16:21:24
Also in:
lkml
From: David Laight <hidden>
Date: 2013-11-01 16:21:24
Also in:
lkml
How would you suggest replacing the jumps in this case? I agree it would be faster here, but I'm not sure how I would implement an increment using a single conditional move.
I think you need 3 instructions, move a 0, conditionally move a 1 then add. I suspect it won't be a win! If you do 'win' it is probably very dependent on how the instructions get scheduled onto the execution units - which will probably make it very cpu type dependant. David