6662967: Optimize I2D conversion on new x86

Use CVTDQ2PS and CVTDQ2PD for integer values conversions to float and double values on new AMD cpu.

Reviewed-by: sgoldman, never
This commit is contained in:
Vladimir Kozlov 2008-03-19 15:33:25 -07:00
parent d200260fe5
commit b71360f557
9 changed files with 129 additions and 2 deletions

View file

@ -949,6 +949,12 @@ class CommandLineFlags {
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") \
\