Mercurial > hg > truffle
diff src/cpu/x86/vm/globals_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 | a5dd6e3ef9f3 |
children | 12f651e29f6b |
line wrap: on
line diff
--- a/src/cpu/x86/vm/globals_x86.hpp Sun Dec 23 17:08:22 2012 +0100 +++ b/src/cpu/x86/vm/globals_x86.hpp Thu Jan 03 15:09:55 2013 -0800 @@ -120,6 +120,9 @@ product(bool, UseUnalignedLoadStores, false, \ "Use SSE2 MOVDQU instruction for Arraycopy") \ \ + product(bool, UseFastStosb, false, \ + "Use fast-string operation for zeroing: rep stosb") \ + \ /* assembler */ \ product(bool, Use486InstrsOnly, false, \ "Use 80486 Compliant instruction subset") \