Lines Matching refs:Simulator
69 explicit MipsDebugger(Simulator* sim) : sim_(sim) { } in MipsDebugger()
82 Simulator* sim_;
325 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) { in Debug()
443 cur = reinterpret_cast<int64_t*>(sim_->get_register(Simulator::sp)); in Debug()
716 bool Simulator::ICacheMatch(void* one, void* two) { in ICacheMatch()
735 void Simulator::set_last_debugger_input(char* input) { in set_last_debugger_input()
740 void Simulator::SetRedirectInstruction(Instruction* instruction) { in SetRedirectInstruction()
744 void Simulator::FlushICache(base::CustomMatcherHashMap* i_cache, in FlushICache()
765 CachePage* Simulator::GetCachePage(base::CustomMatcherHashMap* i_cache, in GetCachePage()
777 void Simulator::FlushOnePage(base::CustomMatcherHashMap* i_cache, in FlushOnePage()
790 void Simulator::CheckICache(base::CustomMatcherHashMap* i_cache, in CheckICache()
812 Simulator::Simulator(Isolate* isolate) : isolate_(isolate) { in Simulator() function in v8::internal::Simulator
853 Simulator::~Simulator() { free(stack_); } in ~Simulator()
857 Simulator* Simulator::current(Isolate* isolate) { in current()
862 Simulator* sim = isolate_data->simulator(); in current()
865 sim = new Simulator(isolate); in current()
874 void Simulator::set_register(int reg, int64_t value) { in set_register()
885 void Simulator::set_dw_register(int reg, const int* dbl) { in set_dw_register()
893 void Simulator::set_fpu_register(int fpureg, int64_t value) { in set_fpu_register()
899 void Simulator::set_fpu_register_word(int fpureg, int32_t value) { in set_fpu_register_word()
912 void Simulator::set_fpu_register_hi_word(int fpureg, int32_t value) { in set_fpu_register_hi_word()
925 void Simulator::set_fpu_register_float(int fpureg, float value) { in set_fpu_register_float()
931 void Simulator::set_fpu_register_double(int fpureg, double value) { in set_fpu_register_double()
939 int64_t Simulator::get_register(int reg) const { in get_register()
948 double Simulator::get_double_from_register_pair(int reg) { in get_double_from_register_pair()
962 int64_t Simulator::get_fpu_register(int fpureg) const { in get_fpu_register()
968 int32_t Simulator::get_fpu_register_word(int fpureg) const { in get_fpu_register_word()
974 int32_t Simulator::get_fpu_register_signed_word(int fpureg) const { in get_fpu_register_signed_word()
980 int32_t Simulator::get_fpu_register_hi_word(int fpureg) const { in get_fpu_register_hi_word()
986 float Simulator::get_fpu_register_float(int fpureg) const { in get_fpu_register_float()
992 double Simulator::get_fpu_register_double(int fpureg) const { in get_fpu_register_double()
998 void Simulator::get_msa_register(int wreg, T* value) { in get_msa_register()
1004 void Simulator::set_msa_register(int wreg, const T* value) { in set_msa_register()
1012 void Simulator::GetFpArgs(double* x, double* y, int32_t* z) { in GetFpArgs()
1041 void Simulator::SetFpResult(const double& result) { in SetFpResult()
1056 void Simulator::set_fcsr_bit(uint32_t cc, bool value) { in set_fcsr_bit()
1065 bool Simulator::test_fcsr_bit(uint32_t cc) { in test_fcsr_bit()
1070 void Simulator::set_fcsr_rounding_mode(FPURoundingMode mode) { in set_fcsr_rounding_mode()
1074 void Simulator::set_msacsr_rounding_mode(FPURoundingMode mode) { in set_msacsr_rounding_mode()
1078 unsigned int Simulator::get_fcsr_rounding_mode() { in get_fcsr_rounding_mode()
1082 unsigned int Simulator::get_msacsr_rounding_mode() { in get_msacsr_rounding_mode()
1088 bool Simulator::set_fcsr_round_error(double original, double rounded) { in set_fcsr_round_error()
1120 bool Simulator::set_fcsr_round64_error(double original, double rounded) { in set_fcsr_round64_error()
1154 bool Simulator::set_fcsr_round_error(float original, float rounded) { in set_fcsr_round_error()
1183 void Simulator::set_fpu_register_word_invalid_result(float original, in set_fpu_register_word_invalid_result()
1203 void Simulator::set_fpu_register_invalid_result(float original, float rounded) { in set_fpu_register_invalid_result()
1222 void Simulator::set_fpu_register_invalid_result64(float original, in set_fpu_register_invalid_result64()
1244 void Simulator::set_fpu_register_word_invalid_result(double original, in set_fpu_register_word_invalid_result()
1264 void Simulator::set_fpu_register_invalid_result(double original, in set_fpu_register_invalid_result()
1284 void Simulator::set_fpu_register_invalid_result64(double original, in set_fpu_register_invalid_result64()
1308 bool Simulator::set_fcsr_round64_error(float original, float rounded) { in set_fcsr_round64_error()
1341 void Simulator::round_according_to_fcsr(double toRound, double& rounded, in round_according_to_fcsr()
1383 void Simulator::round64_according_to_fcsr(double toRound, double& rounded, in round64_according_to_fcsr()
1426 void Simulator::round_according_to_fcsr(float toRound, float& rounded, in round_according_to_fcsr()
1468 void Simulator::round64_according_to_fcsr(float toRound, float& rounded, in round64_according_to_fcsr()
1510 void Simulator::round_according_to_msacsr(T_fp toRound, T_fp& rounded, in round_according_to_msacsr()
1552 void Simulator::set_pc(int64_t value) { in set_pc()
1558 bool Simulator::has_bad_pc() const { in has_bad_pc()
1564 int64_t Simulator::get_pc() const { in get_pc()
1578 void Simulator::DieOrDebug() { in DieOrDebug()
1587 void Simulator::TraceRegWr(int64_t value, TraceType t) { in TraceRegWr()
1634 void Simulator::TraceMSARegWr(T* value, TraceType t) { in TraceMSARegWr()
1687 void Simulator::TraceMSARegWr(T* value) { in TraceMSARegWr()
1724 void Simulator::TraceMemRd(int64_t addr, int64_t value, TraceType t) { in TraceMemRd()
1767 void Simulator::TraceMemWr(int64_t addr, int64_t value, TraceType t) { in TraceMemWr()
1797 void Simulator::TraceMemRd(int64_t addr, T value) { in TraceMemRd()
1835 void Simulator::TraceMemWr(int64_t addr, T value) { in TraceMemWr()
1866 int32_t Simulator::ReadW(int64_t addr, Instruction* instr, TraceType t) { in ReadW()
1886 uint32_t Simulator::ReadWU(int64_t addr, Instruction* instr) { in ReadWU()
1906 void Simulator::WriteW(int64_t addr, int32_t value, Instruction* instr) { in WriteW()
1926 int64_t Simulator::Read2W(int64_t addr, Instruction* instr) { in Read2W()
1946 void Simulator::Write2W(int64_t addr, int64_t value, Instruction* instr) { in Write2W()
1966 double Simulator::ReadD(int64_t addr, Instruction* instr) { in ReadD()
1978 void Simulator::WriteD(int64_t addr, double value, Instruction* instr) { in WriteD()
1991 uint16_t Simulator::ReadHU(int64_t addr, Instruction* instr) { in ReadHU()
2005 int16_t Simulator::ReadH(int64_t addr, Instruction* instr) { in ReadH()
2019 void Simulator::WriteH(int64_t addr, uint16_t value, Instruction* instr) { in WriteH()
2033 void Simulator::WriteH(int64_t addr, int16_t value, Instruction* instr) { in WriteH()
2047 uint32_t Simulator::ReadBU(int64_t addr) { in ReadBU()
2054 int32_t Simulator::ReadB(int64_t addr) { in ReadB()
2061 void Simulator::WriteB(int64_t addr, uint8_t value) { in WriteB()
2068 void Simulator::WriteB(int64_t addr, int8_t value) { in WriteB()
2075 T Simulator::ReadMem(int64_t addr, Instruction* instr) { in ReadMem()
2090 void Simulator::WriteMem(int64_t addr, T value, Instruction* instr) { in WriteMem()
2105 uintptr_t Simulator::StackLimit(uintptr_t c_limit) const { in StackLimit()
2119 void Simulator::Format(Instruction* instr, const char* format) { in Format()
2157 void Simulator::SoftwareInterrupt() { in SoftwareInterrupt()
2384 bool Simulator::IsWatchpoint(uint64_t code) { in IsWatchpoint()
2389 void Simulator::PrintWatchpoint(uint64_t code) { in PrintWatchpoint()
2400 void Simulator::HandleStop(uint64_t code, Instruction* instr) { in HandleStop()
2410 bool Simulator::IsStopInstruction(Instruction* instr) { in IsStopInstruction()
2417 bool Simulator::IsEnabledStop(uint64_t code) { in IsEnabledStop()
2424 void Simulator::EnableStop(uint64_t code) { in EnableStop()
2431 void Simulator::DisableStop(uint64_t code) { in DisableStop()
2438 void Simulator::IncreaseStopCounter(uint64_t code) { in IncreaseStopCounter()
2454 void Simulator::PrintStopInfo(uint64_t code) { in PrintStopInfo()
2477 void Simulator::SignalException(Exception e) { in SignalException()
2610 void Simulator::DecodeTypeRegisterSRsType() { in DecodeTypeRegisterSRsType()
2986 void Simulator::DecodeTypeRegisterDRsType() { in DecodeTypeRegisterDRsType()
3358 void Simulator::DecodeTypeRegisterWRsType() { in DecodeTypeRegisterWRsType()
3450 void Simulator::DecodeTypeRegisterLRsType() { in DecodeTypeRegisterLRsType()
3542 void Simulator::DecodeTypeRegisterCOP1() { in DecodeTypeRegisterCOP1()
3609 void Simulator::DecodeTypeRegisterCOP1X() { in DecodeTypeRegisterCOP1X()
3653 void Simulator::DecodeTypeRegisterSPECIAL() { in DecodeTypeRegisterSPECIAL()
4125 void Simulator::DecodeTypeRegisterSPECIAL2() { in DecodeTypeRegisterSPECIAL2()
4154 void Simulator::DecodeTypeRegisterSPECIAL3() { in DecodeTypeRegisterSPECIAL3()
4459 int Simulator::DecodeMsaDataFormat() { in DecodeMsaDataFormat()
4536 void Simulator::DecodeTypeMsaI8() { in DecodeTypeMsaI8()
4638 T Simulator::MsaI5InstrHelper(uint32_t opcode, T ws, int32_t i5) { in MsaI5InstrHelper()
4686 void Simulator::DecodeTypeMsaI5() { in DecodeTypeMsaI5()
4722 void Simulator::DecodeTypeMsaI10() { in DecodeTypeMsaI10()
4759 void Simulator::DecodeTypeMsaELM() { in DecodeTypeMsaELM()
4919 T Simulator::MsaBitInstrHelper(uint32_t opcode, T wd, T ws, int32_t m) { in MsaBitInstrHelper()
5005 void Simulator::DecodeTypeMsaBIT() { in DecodeTypeMsaBIT()
5046 void Simulator::DecodeTypeMsaMI10() { in DecodeTypeMsaMI10()
5112 T Simulator::Msa3RInstrHelper(uint32_t opcode, T wd, T ws, T wt) { in Msa3RInstrHelper()
5427 void Simulator::DecodeTypeMsa3R() { in DecodeTypeMsa3R()
5745 void Simulator::DecodeTypeMsa3RF() { in DecodeTypeMsa3RF()
5946 void Simulator::DecodeTypeMsaVec() { in DecodeTypeMsaVec()
5989 void Simulator::DecodeTypeMsa2R() { in DecodeTypeMsa2R()
6139 Simulator* sim) { in Msa2RFInstrHelper()
6410 void Simulator::DecodeTypeMsa2RF() { in DecodeTypeMsa2RF()
6452 void Simulator::DecodeTypeRegister() { in DecodeTypeRegister()
6504 void Simulator::DecodeTypeImmediate() { in DecodeTypeImmediate()
7225 void Simulator::DecodeTypeJump() { in DecodeTypeJump()
7252 void Simulator::InstructionDecode(Instruction* instr) { in InstructionDecode()
7296 void Simulator::Execute() { in Execute()
7326 void Simulator::CallInternal(Address entry) { in CallInternal()
7395 intptr_t Simulator::CallImpl(Address entry, int argument_count, in CallImpl()
7439 double Simulator::CallFP(Address entry, double d0, double d1) { in CallFP()
7461 uintptr_t Simulator::PushAddress(uintptr_t address) { in PushAddress()
7470 uintptr_t Simulator::PopAddress() { in PopAddress()