2014-07-31 10:55 GMT+08:00 cee1 <fykcee1@xxxxxxxxx>: > Hi all, > > The csum_partial optimization patches have resided at patch-work for > quite a while: > 1. http://patchwork.linux-mips.org/patch/6988/ > 2. http://patchwork.linux-mips.org/patch/7176/ Patch 2 has already been merged, "commit e309a3850f2e0fd9decd1be4ee778fa0b995202e -- MIPS: Use WSBH/DSBH/DSHD on Loongson 3A" > > Any comments about patch 1, can it be merged? In patch 1, the typical adjustment is as following: """ /* original */ ADDC(sum, t0) ADDC(sum, t1) """ Is replaced with """ ADDC(t0, t1) ADDC(sum, t0) """ Hence, it needs to prove "sum ADDC t0 ADDC t1" is equal to "sum ADDC (t0 ADDC t1)", I've added the explanation in http://www.linux-mips.org/archives/linux-mips/2014-08/msg00124.html. -- Regards, - cee1