--- a/hotspot/src/cpu/x86/vm/x86_64.ad Mon Nov 09 13:27:18 2015 +0000
+++ b/hotspot/src/cpu/x86/vm/x86_64.ad Mon Nov 09 11:26:41 2015 -0800
@@ -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);
- }
+ }
}
}