< prev index next >

src/hotspot/cpu/s390/vmreg_s390.cpp

Print this page

30 void VMRegImpl::set_regName() {
31   // Not clear why we have this duplication (triplication?)
32   Register reg = ::as_Register(0);
33   int i;
34   for (i = 0; i < ConcreteRegisterImpl::max_gpr;) {
35     regName[i++] = reg->name();
36     regName[i++] = reg->name();
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     freg = freg->successor();
45   }
46   for (; i < ConcreteRegisterImpl::number_of_registers; i ++) {
47     regName[i] = "NON-GPR-XMM";
48   }
49 }
50 
51 VMReg VMRegImpl::vmStorageToVMReg(int type, int index) {
52   Unimplemented();
53   return VMRegImpl::Bad();
54 }

30 void VMRegImpl::set_regName() {
31   // Not clear why we have this duplication (triplication?)
32   Register reg = ::as_Register(0);
33   int i;
34   for (i = 0; i < ConcreteRegisterImpl::max_gpr;) {
35     regName[i++] = reg->name();
36     regName[i++] = reg->name();
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     freg = freg->successor();
45   }
46   for (; i < ConcreteRegisterImpl::number_of_registers; i ++) {
47     regName[i] = "NON-GPR-XMM";
48   }
49 }





< prev index next >