Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/assembler_x86.hpp @ 7474:00af3a3a8df4
8005522: use fast-string instructions on x86 for zeroing
Summary: use 'rep stosb' instead of 'rep stosq' when fast-string operations are available.
Reviewed-by: twisti, roland
author | kvn |
---|---|
date | Thu, 03 Jan 2013 15:09:55 -0800 |
parents | f0c2369fda5a |
children | e2e6bf86682c |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.hpp Sun Dec 23 17:08:22 2012 +0100 +++ b/src/cpu/x86/vm/assembler_x86.hpp Thu Jan 03 15:09:55 2013 -0800 @@ -832,7 +832,8 @@ // These do register sized moves/scans void rep_mov(); - void rep_set(); + void rep_stos(); + void rep_stosb(); void repne_scan(); #ifdef _LP64 void repne_scanl();