< prev index next >

src/hotspot/cpu/arm/vmreg_arm.cpp

Print this page

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

32   int i;
33   for (i = 0; i < ConcreteRegisterImpl::max_gpr; reg = reg->successor()) {
34     for (int j = 0; j < (1 << ConcreteRegisterImpl::log_vmregs_per_gpr); j++) {
35       regName[i++] = reg->name();
36     }
37   }
38 #ifndef __SOFTFP__
39   FloatRegister freg = ::as_FloatRegister(0);
40   for ( ; i < ConcreteRegisterImpl::max_fpr ; ) {
41     for (int j = 0; j < (1 << ConcreteRegisterImpl::log_vmregs_per_fpr); j++) {
42       regName[i++] = freg->name();
43     }
44     freg = freg->successor();
45   }
46 #endif
47 
48   for ( ; i < ConcreteRegisterImpl::number_of_registers ; i ++ ) {
49     regName[i] = "NON-GPR-FPR";
50   }
51 }





< prev index next >