< prev index next >
src/hotspot/cpu/x86/c2_init_x86.cpp
Print this page
rev 53738 : [mq]: ad2
*** 27,36 ****
--- 27,38 ----
#include "opto/node.hpp"
#include "opto/optoreg.hpp"
// processor dependent initialization for i486
+ extern void reg_mask_init();
+
void Compile::pd_compiler2_init() {
guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "" );
// QQQ presumably all 64bit cpu's support this. Seems like the ifdef could
// simply be left out.
#ifndef AMD64
*** 56,61 ****
--- 58,64 ----
// mark the upper zmm bank bad and all the mask registers bad in this case
for (OptoReg::Name i = OptoReg::Name(middle); i<OptoReg::Name(_last_Mach_Reg - 1); i = OptoReg::add(i, 1)) {
OptoReg::invalidate(i);
}
}
+ reg_mask_init();
}
< prev index next >