Home | History | Annotate | Download | only in ARM

Lines Matching refs:reg_num

41     uint32_t reg_num;
45 reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindDWARF, i);
46 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num);
58 reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindDWARF, i);
60 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num);
78 EmulationStateARM::StorePseudoRegisterValue (uint32_t reg_num, uint64_t value)
80 if ((dwarf_r0 <= reg_num) && (reg_num <= dwarf_cpsr))
81 m_gpr[reg_num - dwarf_r0] = (uint32_t) value;
82 else if ((dwarf_s0 <= reg_num) && (reg_num <= dwarf_s31))
84 uint32_t idx = reg_num - dwarf_s0;
87 else if ((dwarf_d0 <= reg_num) && (reg_num <= dwarf_d31))
89 if ((reg_num - dwarf_d0) < 16)
91 m_vfp_regs.sd_regs[reg_num - dwarf_d0].d_reg = value;
94 m_vfp_regs.d_regs[reg_num - dwarf_d16] = value;
103 EmulationStateARM::ReadPseudoRegisterValue (uint32_t reg_num, bool &success)
108 if ((dwarf_r0 <= reg_num) && (reg_num <= dwarf_cpsr))
109 value = m_gpr[reg_num - dwarf_r0];
110 else if ((dwarf_s0 <= reg_num) && (reg_num <= dwarf_s31))
112 uint32_t idx = reg_num - dwarf_s0;
115 else if ((dwarf_d0 <= reg_num) && (reg_num <= dwarf_d31))
117 if ((reg_num - dwarf_d0) < 16)
118 value = m_vfp_regs.sd_regs[reg_num - dwarf_d0].d_reg;
120 value = m_vfp_regs.d_regs[reg_num - dwarf_d16];