Closed Glavo closed 1 year ago
We are working on porting SHA stubs. Currently we don't support options such as -XX:+UseAES. You can disable individual intrinsics via -H:DisableIntrinsics
, e.g., -H:DisableIntrinsics='AESCrypt.*'
. See InvocationPlugins.java, MethodFilterHelp.txt
Can you provide some newer machine types (e.g.
icelake
)?
We currently only support machine types for which the Graal compiler can actually emit instructions. icelake
, for example, adds new AVX-512 instruction subsets, which Graal does not use yet. In this case, it makes sense to pick the latest compatible machine type (e.g., skylake-avx512
if you want to use some AVX-512 instructions). We will add newer machine types when Graal can actually make use of their instructions.
We currently only support machine types for which the Graal compiler can actually emit instructions.
icelake
, for example, adds new AVX-512 instruction subsets, which Graal does not use yet. In this case, it makes sense to pick the latest compatible machine type (e.g.,skylake-avx512
if you want to use some AVX-512 instructions). We will add newer machine types when Graal can actually make use of their instructions.
Ok, I see.
We are working on porting SHA stubs. Currently we don't support options such as -XX:+UseAES. You can disable individual intrinsics via
-H:DisableIntrinsics
, e.g.,-H:DisableIntrinsics='AESCrypt.*'
. See InvocationPlugins.java, MethodFilterHelp.txt
OK. I'm looking forward to Graal's support for SHA-NI instructions, it can speed up some applications by several times.
We have ported all message digest stubs with 293cff16a2542f6ca1a09a52600dfffae7d27a3a and 5d60297d1de65ecfcd5bef087e8660282767cab6
Intel has provided Intel SHA extensions for accelerating SHA starting from Goldmont/IceLake. Unfortunately, native images do not seem to have a preset machine type (except for the
native
) that supports this extension:So,
icelake
)?-XX:+UseSHA256Intrinsics
,-XX:+UseAES
, etc. options?