3 ms·
JVM does it to an extremely limited extent. Anything jitted, doesn't have a lot of time to do autovectorization. Even GCC/llvm are pretty limited at this, as
by gameswithgo 7y ago
JVM does it to an extremely limited extent. Anything jitted, doesn't have a lot of time to do autovectorization. Even GCC/llvm are pretty limited at this, as it is just a hard problem, and doing it with floating point is problematic as it usually changes the result.
- pjmlp 7y agoTo a limited extent that also takes advantage of AVX thanks to Intel contributions. All modern JVMs take advantage of code caches and possibly PGO (depending on the configuration) between runs. ART also does the same for NEON.