RFR (M): 8004835: Improve AES intrinsics on x86

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Dec 14 19:29:42 PST 2012


http://cr.openjdk.java.net/~kvn/8004835/webrev/

Enable AES intrinsics on non-AVX cpus (Westmere), pshufb instruction in
load_key() method could be used without AVX because it references only
aligned memory "key_shuffle_mask".

Group together aes instructions in encryptBlock/decryptBlock stubs as
recommended by Intel Optimization Guide.

Modified test/compiler/7184394 to test "ECB" mode.

Ran compiler regression tests and jdk crypto and security tests with
SunJCE default provider.

Thanks,
Vladimir


More information about the hotspot-compiler-dev mailing list