[PATCH 4/5] x86_64, -march=native: REP STOSB support

2019-07-22 Thread Alexey Dobriyan
Use REP STOSB everywhere if CPU advertises fast REP STOSB. Gcc LOVES to unroll memset(), using -mmemset-strategy saves terabytes of .text. Signed-off-by: Alexey Dobriyan --- Makefile | 3 +++ arch/x86/boot/compressed/head_64.S | 4

[PATCH 4/5] x86_64, -march=native: REP STOSB support

2019-07-04 Thread Alexey Dobriyan
Use REP STOSB everywhere if CPU advertises fast REP STOSB. Gcc LOVES to unroll memset(), using -mmemset-strategy saves terabytes of .text. Signed-off-by: Alexey Dobriyan --- Makefile | 3 +++ arch/x86/boot/compressed/head_64.S | 4