Lines Matching refs:dreg
929 void Simulator::set_dw_register(int dreg, const int* dbl) { in set_dw_register() argument
930 DCHECK((dreg >= 0) && (dreg < num_d_registers)); in set_dw_register()
931 registers_[dreg] = dbl[0]; in set_dw_register()
932 registers_[dreg + 1] = dbl[1]; in set_dw_register()
936 void Simulator::get_d_register(int dreg, uint64_t* value) { in get_d_register() argument
937 DCHECK((dreg >= 0) && (dreg < DwVfpRegister::NumRegisters())); in get_d_register()
938 memcpy(value, vfp_registers_ + dreg * 2, sizeof(*value)); in get_d_register()
942 void Simulator::set_d_register(int dreg, const uint64_t* value) { in set_d_register() argument
943 DCHECK((dreg >= 0) && (dreg < DwVfpRegister::NumRegisters())); in set_d_register()
944 memcpy(vfp_registers_ + dreg * 2, value, sizeof(*value)); in set_d_register()
948 void Simulator::get_d_register(int dreg, uint32_t* value) { in get_d_register() argument
949 DCHECK((dreg >= 0) && (dreg < DwVfpRegister::NumRegisters())); in get_d_register()
950 memcpy(value, vfp_registers_ + dreg * 2, sizeof(*value) * 2); in get_d_register()
954 void Simulator::set_d_register(int dreg, const uint32_t* value) { in set_d_register() argument
955 DCHECK((dreg >= 0) && (dreg < DwVfpRegister::NumRegisters())); in set_d_register()
956 memcpy(vfp_registers_ + dreg * 2, value, sizeof(*value) * 2); in set_d_register()