mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86 Reviewed-by: kvn, aph, darcy
This commit is contained in:
parent
474c035379
commit
d58e3e0324
42 changed files with 365 additions and 13 deletions
|
@ -266,6 +266,11 @@ void VM_Version::initialize() {
|
|||
FLAG_SET_DEFAULT(UseGHASHIntrinsics, false);
|
||||
}
|
||||
|
||||
if (UseFMA) {
|
||||
warning("FMA instructions are not available on this CPU");
|
||||
FLAG_SET_DEFAULT(UseFMA, false);
|
||||
}
|
||||
|
||||
// SHA1, SHA256, and SHA512 instructions were added to SPARC T-series at different times
|
||||
if (has_sha1() || has_sha256() || has_sha512()) {
|
||||
if (UseVIS > 0) { // SHA intrinsics use VIS1 instructions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue