Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
7473:d092d1b31229 | 7474:00af3a3a8df4 |
---|---|
118 "Use SSE2 CVTDQ2PS instruction to convert Integer to Float") \ | 118 "Use SSE2 CVTDQ2PS instruction to convert Integer to Float") \ |
119 \ | 119 \ |
120 product(bool, UseUnalignedLoadStores, false, \ | 120 product(bool, UseUnalignedLoadStores, false, \ |
121 "Use SSE2 MOVDQU instruction for Arraycopy") \ | 121 "Use SSE2 MOVDQU instruction for Arraycopy") \ |
122 \ | 122 \ |
123 product(bool, UseFastStosb, false, \ | |
124 "Use fast-string operation for zeroing: rep stosb") \ | |
125 \ | |
123 /* assembler */ \ | 126 /* assembler */ \ |
124 product(bool, Use486InstrsOnly, false, \ | 127 product(bool, Use486InstrsOnly, false, \ |
125 "Use 80486 Compliant instruction subset") \ | 128 "Use 80486 Compliant instruction subset") \ |
126 \ | 129 \ |
127 product(bool, UseCountLeadingZerosInstruction, false, \ | 130 product(bool, UseCountLeadingZerosInstruction, false, \ |