< prev index next >

src/hotspot/cpu/ppc/vmreg_ppc.cpp

Print this page

31   Register reg = ::as_Register(0);
32   int i;
33   for (i = 0; i < ConcreteRegisterImpl::max_gpr; ) {
34     regName[i++] = reg->name();
35     regName[i++] = reg->name();
36     if (reg->encoding() < RegisterImpl::number_of_registers-1)
37       reg = reg->successor();
38   }
39 
40   FloatRegister freg = ::as_FloatRegister(0);
41   for ( ; i < ConcreteRegisterImpl::max_fpr; ) {
42     regName[i++] = freg->name();
43     regName[i++] = freg->name();
44     if (reg->encoding() < FloatRegisterImpl::number_of_registers-1)
45       freg = freg->successor();
46   }
47   for ( ; i < ConcreteRegisterImpl::number_of_registers; i++) {
48     regName[i] = "NON-GPR-FPR";
49   }
50 }
51 
52 VMReg VMRegImpl::vmStorageToVMReg(int type, int index) {
53   Unimplemented();
54   return VMRegImpl::Bad();
55 }

31   Register reg = ::as_Register(0);
32   int i;
33   for (i = 0; i < ConcreteRegisterImpl::max_gpr; ) {
34     regName[i++] = reg->name();
35     regName[i++] = reg->name();
36     if (reg->encoding() < RegisterImpl::number_of_registers-1)
37       reg = reg->successor();
38   }
39 
40   FloatRegister freg = ::as_FloatRegister(0);
41   for ( ; i < ConcreteRegisterImpl::max_fpr; ) {
42     regName[i++] = freg->name();
43     regName[i++] = freg->name();
44     if (reg->encoding() < FloatRegisterImpl::number_of_registers-1)
45       freg = freg->successor();
46   }
47   for ( ; i < ConcreteRegisterImpl::number_of_registers; i++) {
48     regName[i] = "NON-GPR-FPR";
49   }
50 }





< prev index next >