equal
deleted
inserted
replaced
27 #include "opto/node.hpp" |
27 #include "opto/node.hpp" |
28 #include "opto/optoreg.hpp" |
28 #include "opto/optoreg.hpp" |
29 |
29 |
30 // processor dependent initialization for i486 |
30 // processor dependent initialization for i486 |
31 |
31 |
|
32 extern void reg_mask_init(); |
|
33 |
32 void Compile::pd_compiler2_init() { |
34 void Compile::pd_compiler2_init() { |
33 guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "" ); |
35 guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "" ); |
34 // QQQ presumably all 64bit cpu's support this. Seems like the ifdef could |
36 // QQQ presumably all 64bit cpu's support this. Seems like the ifdef could |
35 // simply be left out. |
37 // simply be left out. |
36 #ifndef AMD64 |
38 #ifndef AMD64 |
56 // mark the upper zmm bank bad and all the mask registers bad in this case |
58 // mark the upper zmm bank bad and all the mask registers bad in this case |
57 for (OptoReg::Name i = OptoReg::Name(middle); i<OptoReg::Name(_last_Mach_Reg - 1); i = OptoReg::add(i, 1)) { |
59 for (OptoReg::Name i = OptoReg::Name(middle); i<OptoReg::Name(_last_Mach_Reg - 1); i = OptoReg::add(i, 1)) { |
58 OptoReg::invalidate(i); |
60 OptoReg::invalidate(i); |
59 } |
61 } |
60 } |
62 } |
|
63 reg_mask_init(); |
61 } |
64 } |