Add x86 32/64bit asm code for SumOfBlocks.
Merge pull request #1267 from zhilwang/sumofblocks_scc

Add x86 32/64bit asm code for SumOfBlocks.