-
Enhancement
-
Resolution: Fixed
-
P4
-
9, 10, 11
-
b21
The BigInteger intrinsics don't necessarily work when Graal is used as the highest tier compiler. To fix that, the following changes are necessary:
- The x86 compiler intrinsics for BigInteger are currently defined within #ifdef COMPILER2 in vm_version_x86.cpp and stubGenerator_x86_64.cpp. Instead, #ifdef COMPILER2_OR_JVMCI should be used.
- The options to enable/disable the compiler intrinsics (e.g., UseMulAddIntrinsic) need to be duplicated in jvmci_globals.hpp behind a NOT_COMPILER2 guard.
- The x86 compiler intrinsics for BigInteger are currently defined within #ifdef COMPILER2 in vm_version_x86.cpp and stubGenerator_x86_64.cpp. Instead, #ifdef COMPILER2_OR_JVMCI should be used.
- The options to enable/disable the compiler intrinsics (e.g., UseMulAddIntrinsic) need to be duplicated in jvmci_globals.hpp behind a NOT_COMPILER2 guard.