--- old/src/cpu/x86/vm/x86_64.ad 2015-10-30 15:23:47.153554100 -0700 +++ new/src/cpu/x86/vm/x86_64.ad 2015-10-30 15:23:46.933532100 -0700 @@ -536,11 +536,7 @@ #define __ _masm. static int clear_avx_size() { - if(UseAVX > 2) { - return 0; // vzeroupper is ignored - } else { - return (Compile::current()->max_vector_size() > 16) ? 3 : 0; // vzeroupper - } + return (Compile::current()->max_vector_size() > 16) ? 3 : 0; // vzeroupper } // !!!!! Special hack to get all types of calls to specify the byte offset @@ -871,7 +867,7 @@ if (framesize > 0) { st->print("\n\t"); st->print("addq rbp, #%d", framesize); - } + } } }