Add Unit Test and ARM64 code for block_add
Merge pull request #1199 from dongzha/AddResArm64master

Add Unit Test and ARM64 code for block_add (for master)
Merge remote-tracking branch 'upstream/master' into travis.osx