Home
last modified time | relevance | path

Searched refs:mmcr0 (Results 1 – 4 of 4) sorted by relevance

/qemu/target/ppc/
H A Dpower8-pmu.c39 target_ulong mmcr0 = env->spr[SPR_POWER_MMCR0]; in pmu_update_summaries() local
44 if (mmcr0 & MMCR0_FC) { in pmu_update_summaries()
48 if (!(mmcr0 & MMCR0_FC14) && mmcr1 != 0) { in pmu_update_summaries()
76 ins_cnt |= !(mmcr0 & MMCR0_FC56) << 5; in pmu_update_summaries()
77 cyc_cnt |= !(mmcr0 & MMCR0_FC56) << 6; in pmu_update_summaries()
138 target_ulong mmcr0 = env->spr[SPR_POWER_MMCR0]; in pmu_increment_insns() local
146 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMC1CE)) { in pmu_increment_insns()
156 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
166 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
179 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
[all …]
H A Dhelper_regs.c56 target_long mmcr0; in hreg_check_bhrb_enable() local
67 mmcr0 = env->spr[SPR_POWER_MMCR0]; in hreg_check_bhrb_enable()
68 fcp = !!(mmcr0 & MMCR0_FCP); in hreg_check_bhrb_enable()
69 if (mmcr0 & MMCR0_FCPC) { in hreg_check_bhrb_enable()
89 target_ulong mmcr0 = env->spr[SPR_POWER_MMCR0]; in hreg_compute_pmu_hflags_value() local
91 if (mmcr0 & MMCR0_PMCC0) { in hreg_compute_pmu_hflags_value()
94 if (mmcr0 & MMCR0_PMCC1) { in hreg_compute_pmu_hflags_value()
97 if (mmcr0 & MMCR0_PMCjCE) { in hreg_compute_pmu_hflags_value()
/qemu/include/hw/ppc/
H A Dspapr_nested.h535 uint64_t mmcr0; member
/qemu/hw/ppc/
H A Dspapr_nested.c206 save->mmcr0 = env->spr[SPR_POWER_MMCR0]; in nested_save_state()
305 env->spr[SPR_POWER_MMCR0] = load->mmcr0; in nested_load_state()
1007 GUEST_STATE_ELEMENT_ENV_DW(GSB_VCPU_SPR_MMCR0, mmcr0),