mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6708714: Optimize long LShift on 32-bits x86
For small (1-3 bits) left long shifts in 32-bits VM use sets of add+addc instructions instead of shld+shl on new AMD cpus. Reviewed-by: never
This commit is contained in:
parent
d69fdc9d5b
commit
5106cf17a3
3 changed files with 91 additions and 0 deletions
|
@ -946,6 +946,9 @@ class CommandLineFlags {
|
|||
diagnostic(bool, UseIncDec, true, \
|
||||
"Use INC, DEC instructions on x86") \
|
||||
\
|
||||
product(bool, UseNewLongLShift, false, \
|
||||
"Use optimized bitwise shift left") \
|
||||
\
|
||||
product(bool, UseStoreImmI16, true, \
|
||||
"Use store immediate 16-bits value instruction on x86") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue