Mercurial > hg > truffle
diff src/share/vm/runtime/globals.hpp @ 71:3d62cb85208d
6662967: Optimize I2D conversion on new x86
Summary: Use CVTDQ2PS and CVTDQ2PD for integer values conversions to float and double values on new AMD cpu.
Reviewed-by: sgoldman, never
author | kvn |
---|---|
date | Wed, 19 Mar 2008 15:33:25 -0700 |
parents | d825a8a2bd39 |
children | d6fe2e4959d6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp Wed Mar 19 15:14:36 2008 -0700 +++ b/src/share/vm/runtime/globals.hpp Wed Mar 19 15:33:25 2008 -0700 @@ -949,6 +949,12 @@ product(bool, UseXmmRegToRegMoveAll, false, \ "Copy all XMM register bits when moving value between registers") \ \ + product(bool, UseXmmI2D, false, \ + "Use SSE2 CVTDQ2PD instruction to convert Integer to Double") \ + \ + product(bool, UseXmmI2F, false, \ + "Use SSE2 CVTDQ2PS instruction to convert Integer to Float") \ + \ product(intx, FieldsAllocationStyle, 1, \ "0 - type based with oops first, 1 - with oops last") \ \