mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
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:
parent
d200260fe5
commit
b71360f557
9 changed files with 129 additions and 2 deletions
|
@ -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") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue