Lines Matching refs:cpu_model
8583 CPUMIPSState *cpu_mips_init (const char *cpu_model)
8588 def = cpu_mips_find_by_name(cpu_model);
8592 env->cpu_model = def;
8593 env->cpu_model_str = cpu_model;
8617 env->CP0_PRid = env->cpu_model->CP0_PRid;
8618 env->CP0_Config0 = env->cpu_model->CP0_Config0;
8622 env->CP0_Config1 = env->cpu_model->CP0_Config1;
8623 env->CP0_Config2 = env->cpu_model->CP0_Config2;
8624 env->CP0_Config3 = env->cpu_model->CP0_Config3;
8625 env->CP0_Config6 = env->cpu_model->CP0_Config6;
8626 env->CP0_Config7 = env->cpu_model->CP0_Config7;
8627 env->CP0_LLAddr_rw_bitmask = env->cpu_model->CP0_LLAddr_rw_bitmask
8628 << env->cpu_model->CP0_LLAddr_shift;
8629 env->CP0_LLAddr_shift = env->cpu_model->CP0_LLAddr_shift;
8630 env->SYNCI_Step = env->cpu_model->SYNCI_Step;
8631 env->CCRes = env->cpu_model->CCRes;
8632 env->CP0_Status_rw_bitmask = env->cpu_model->CP0_Status_rw_bitmask;
8633 env->CP0_TCStatus_rw_bitmask = env->cpu_model->CP0_TCStatus_rw_bitmask;
8634 env->CP0_SRSCtl = env->cpu_model->CP0_SRSCtl;
8636 env->SEGBITS = env->cpu_model->SEGBITS;
8637 env->SEGMask = (target_ulong)((1ULL << env->cpu_model->SEGBITS) - 1);
8639 if (env->cpu_model->insn_flags & ISA_MIPS3) {
8643 env->PABITS = env->cpu_model->PABITS;
8644 env->PAMask = (target_ulong)((1ULL << env->cpu_model->PABITS) - 1);
8645 env->CP0_SRSConf0_rw_bitmask = env->cpu_model->CP0_SRSConf0_rw_bitmask;
8646 env->CP0_SRSConf0 = env->cpu_model->CP0_SRSConf0;
8647 env->CP0_SRSConf1_rw_bitmask = env->cpu_model->CP0_SRSConf1_rw_bitmask;
8648 env->CP0_SRSConf1 = env->cpu_model->CP0_SRSConf1;
8649 env->CP0_SRSConf2_rw_bitmask = env->cpu_model->CP0_SRSConf2_rw_bitmask;
8650 env->CP0_SRSConf2 = env->cpu_model->CP0_SRSConf2;
8651 env->CP0_SRSConf3_rw_bitmask = env->cpu_model->CP0_SRSConf3_rw_bitmask;
8652 env->CP0_SRSConf3 = env->cpu_model->CP0_SRSConf3;
8653 env->CP0_SRSConf4_rw_bitmask = env->cpu_model->CP0_SRSConf4_rw_bitmask;
8654 env->CP0_SRSConf4 = env->cpu_model->CP0_SRSConf4;
8655 env->insn_flags = env->cpu_model->insn_flags;
8657 fpu_init(env, env->cpu_model);
8703 if (env->cpu_model->insn_flags & ISA_MIPS3) {