RFR [XS] 8041957: -XX:UseAVX=0 cause assert(UseAVX) failed

Christian Thalinger christian.thalinger at oracle.com
Sat Apr 26 01:37:00 UTC 2014


This is tricky.  Changing the assert means that we cannot catch the case where we were asked to not use AVX but we do.  Maybe we should enable AVX instruction temporarily by using:

FlagSetting avx(UseAVX, 99);

in generate_get_cpu_info() to be able to generate the instructions.

On Apr 25, 2014, at 9:13 AM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:

> http://cr.openjdk.java.net/~kvn/8041957/webrev
> https://bugs.openjdk.java.net/browse/JDK-8041957
> 
> Use VM_Version::supports_avx() instead of UseAVX in vmovdqu instruction asserts.
> 
> Thanks,
> Vladimir



More information about the hotspot-compiler-dev mailing list