Lines Matching refs:Simulator

35   explicit ArmDebugger(Simulator* sim) : sim_(sim) { }
46 Simulator* sim_;
127 PrintF("Simulator hit stop %u: %s\n", code, msg);
129 PrintF("Simulator hit %s\n", msg);
367 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp));
575 PrintF(" When hitting a stop, the Simulator will\n");
578 Simulator::kNumOfWatchedStops);
579 PrintF(" - They can be enabled / disabled: the Simulator\n");
581 PrintF(" - The Simulator keeps track of how many times they \n");
629 void Simulator::set_last_debugger_input(char* input) {
635 void Simulator::FlushICache(v8::internal::HashMap* i_cache,
658 CachePage* Simulator::GetCachePage(v8::internal::HashMap* i_cache, void* page) {
671 void Simulator::FlushOnePage(v8::internal::HashMap* i_cache,
686 void Simulator::CheckICache(v8::internal::HashMap* i_cache,
709 void Simulator::Initialize(Isolate* isolate) {
717 Simulator::Simulator(Isolate* isolate) : isolate_(isolate) {
777 Simulator::~Simulator() {
797 Simulator::current(isolate)->
845 void* Simulator::RedirectExternalReference(void* external_function,
852 // Get the active Simulator for the current thread.
853 Simulator* Simulator::current(Isolate* isolate) {
858 Simulator* sim = isolate_data->simulator();
861 sim = new Simulator(isolate);
869 // Simulator internal state for special registers such as PC.
870 void Simulator::set_register(int reg, int32_t value) {
881 int32_t Simulator::get_register(int reg) const {
891 double Simulator::get_double_from_register_pair(int reg) {
904 void Simulator::set_register_pair_from_double(int reg, double* value) {
910 void Simulator::set_dw_register(int dreg, const int* dbl) {
917 void Simulator::get_d_register(int dreg, uint64_t* value) {
923 void Simulator::set_d_register(int dreg, const uint64_t* value) {
929 void Simulator::get_d_register(int dreg, uint32_t* value) {
935 void Simulator::set_d_register(int dreg, const uint32_t* value) {
941 void Simulator::get_q_register(int qreg, uint64_t* value) {
947 void Simulator::set_q_register(int qreg, const uint64_t* value) {
953 void Simulator::get_q_register(int qreg, uint32_t* value) {
959 void Simulator::set_q_register(int qreg, const uint32_t* value) {
966 void Simulator::set_pc(int32_t value) {
972 bool Simulator::has_bad_pc() const {
978 int32_t Simulator::get_pc() const {
984 void Simulator::set_s_register(int sreg, unsigned int value) {
990 unsigned int Simulator::get_s_register(int sreg) const {
997 void Simulator::SetVFPRegister(int reg_index, const InputType& value) {
1010 ReturnType Simulator::GetFromVFPRegister(int reg_index) {
1028 void Simulator::GetFpArgs(double* x, double* y, int32_t* z) {
1045 void Simulator::SetFpResult(const double& result) {
1060 void Simulator::TrashCallerSaveRegisters() {
1082 int Simulator::ReadW(int32_t addr, Instruction* instr) {
1096 void Simulator::WriteW(int32_t addr, int value, Instruction* instr) {
1109 uint16_t Simulator::ReadHU(int32_t addr, Instruction* instr) {
1124 int16_t Simulator::ReadH(int32_t addr, Instruction* instr) {
1136 void Simulator::WriteH(int32_t addr, uint16_t value, Instruction* instr) {
1150 void Simulator::WriteH(int32_t addr, int16_t value, Instruction* instr) {
1163 uint8_t Simulator::ReadBU(int32_t addr) {
1169 int8_t Simulator::ReadB(int32_t addr) {
1175 void Simulator::WriteB(int32_t addr, uint8_t value) {
1181 void Simulator::WriteB(int32_t addr, int8_t value) {
1187 int32_t* Simulator::ReadDW(int32_t addr) {
1199 void Simulator::WriteDW(int32_t addr, int32_t value1, int32_t value2) {
1212 uintptr_t Simulator::StackLimit() const {
1220 void Simulator::Format(Instruction* instr, const char* format) {
1221 PrintF("Simulator found unsupported instruction:\n 0x%08x: %s\n",
1229 bool Simulator::ConditionallyExecute(Instruction* instr) {
1253 void Simulator::SetNZFlags(int32_t val) {
1260 void Simulator::SetCFlag(bool val) {
1266 void Simulator::SetVFlag(bool val) {
1272 bool Simulator::CarryFrom(int32_t left, int32_t right, int32_t carry) {
1283 bool Simulator::BorrowFrom(int32_t left, int32_t right) {
1292 bool Simulator::OverflowFrom(int32_t alu_out,
1311 void Simulator::Compute_FPSCR_Flags(double val1, double val2) {
1338 void Simulator::Copy_FPSCR_to_APSR() {
1348 int32_t Simulator::GetShiftRm(Instruction* instr, bool* carry_out) {
1506 int32_t Simulator::GetImm(Instruction* instr, bool* carry_out) {
1527 int32_t Simulator::ProcessPU(Instruction* instr,
1567 void Simulator::HandleRList(Instruction* instr, bool load) {
1600 void Simulator::HandleVList(Instruction* instr) {
1689 void Simulator::SoftwareInterrupt(Instruction* instr) {
1919 double Simulator::canonicalizeNaN(double value) {
1926 bool Simulator::isStopInstruction(Instruction* instr) {
1931 bool Simulator::isWatchedStop(uint32_t code) {
1937 bool Simulator::isEnabledStop(uint32_t code) {
1945 void Simulator::EnableStop(uint32_t code) {
1953 void Simulator::DisableStop(uint32_t code) {
1961 void Simulator::IncreaseStopCounter(uint32_t code) {
1976 void Simulator::PrintStopInfo(uint32_t code) {
2001 void Simulator::DecodeType01(Instruction* instr) {
2231 PrintF("Simulator hit BKPT.\n");
2488 void Simulator::DecodeType2(Instruction* instr) {
2552 void Simulator::DecodeType3(Instruction* instr) {
2823 void Simulator::DecodeType4(Instruction* instr) {
2835 void Simulator::DecodeType5(Instruction* instr) {
2847 void Simulator::DecodeType6(Instruction* instr) {
2852 void Simulator::DecodeType7(Instruction* instr) {
2861 // void Simulator::DecodeTypeVFP(Instruction* instr)
2877 void Simulator::DecodeTypeVFP(Instruction* instr) {
3048 // Emulate FPSCR from the Simulator flags.
3092 void Simulator::DecodeVMOVBetweenCoreAndSinglePrecisionRegisters(
3111 void Simulator::DecodeVCMP(Instruction* instr) {
3149 void Simulator::DecodeVCVTBetweenDoubleAndSingle(Instruction* instr) {
3227 void Simulator::DecodeVCVTBetweenFloatingPointAndInteger(Instruction* instr) {
3331 // void Simulator::DecodeType6CoprocessorIns(Instruction* instr)
3337 void Simulator::DecodeType6CoprocessorIns(Instruction* instr) {
3447 void Simulator::DecodeSpecialCondition(Instruction* instr) {
3600 void Simulator::InstructionDecode(Instruction* instr) {
3664 void Simulator::Execute() {
3696 void Simulator::CallInternal(byte* entry) {
3753 int32_t Simulator::Call(byte* entry, int argument_count, ...) {
3791 void Simulator::CallFP(byte* entry, double d0, double d1) {
3803 int32_t Simulator::CallFPReturnsInt(byte* entry, double d0, double d1) {
3810 double Simulator::CallFPReturnsDouble(byte* entry, double d0, double d1) {
3820 uintptr_t Simulator::PushAddress(uintptr_t address) {
3829 uintptr_t Simulator::PopAddress() {