Descriptioncmd/6g: backport byte mov optimization from 8g.
benchmark old ns/op new ns/op delta
BenchmarkLoop8 342 294 -14.04%
BenchmarkRange8 560 306 -45.36%
BenchmarkLoop16 346 293 -15.32%
BenchmarkRange16 564 304 -46.10%
Fixes issue 3909.
Patch Set 1 #Patch Set 2 : diff -r 422b4a8160bc https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 422b4a8160bc https://go.googlecode.com/hg/ #MessagesTotal messages: 8
|