Lines Matching +full:0 +full:x3e0
111 raise_exception_err_ra(env, POWERPC_EXCP_FU, 0, raddr); in raise_fu_exception()
186 error_report("Invalid bits 0x"TARGET_FMT_lx" set in PTCR", in helper_store_ptcr()
192 error_report("Invalid Partition Table size 0x" TARGET_FMT_lx in helper_store_ptcr()
244 target_ulong dpdes = 0; in helper_load_dpdes()
263 dpdes |= (0x1 << thread_id); in helper_load_dpdes()
281 ppc_set_irq(cpu, PPC_INTERRUPT_DOORBELL, val & 0x1); in helper_store_dpdes()
291 ppc_set_irq(ccpu, PPC_INTERRUPT_DOORBELL, val & (0x1 << thread_id)); in helper_store_dpdes()
306 if (val & ~0x3f8ULL) { in helper_store_sprc()
324 switch (sprc & 0x3e0) { in helper_load_sprd()
325 case 0: /* SCRATCH0-3 */ in helper_load_sprd()
327 return pc->scratch[(sprc >> 3) & 0x7]; in helper_load_sprd()
329 case 0x1e0: /* core thread state */ in helper_load_sprd()
340 return 0; in helper_load_sprd()
346 qemu_log_mask(LOG_UNIMP, "mfSPRD: Unimplemented SPRC:0x" in helper_load_sprd()
350 return 0; in helper_load_sprd()
360 switch (sprc & 0x3e0) { in helper_store_sprd()
361 case 0: /* SCRATCH0-3 */ in helper_store_sprd()
369 nr = (sprc >> 3) & 0x7; in helper_store_sprd()
370 qemu_log("SPRD write 0x" TARGET_FMT_lx " to SCRATCH%d\n", val, nr); in helper_store_sprd()
374 qemu_log_mask(LOG_UNIMP, "mtSPRD: Unimplemented SPRC:0x" in helper_store_sprd()
430 #define THRM1_THRES(x) (((x) & 0x7f) << 23) in helper_fixup_thrm()
433 #define THRM1_V (1 << 0) in helper_fixup_thrm()
434 #define THRM3_E (1 << 0) in helper_fixup_thrm()
465 helper_mmcr0_facility_check(env, MMCR0_BHRBA_NR, 0, FSCR_IC_BHRB); in helper_clrbhrb()
468 memset(env->bhrb, 0, sizeof(env->bhrb)); in helper_clrbhrb()
478 helper_mmcr0_facility_check(env, MMCR0_BHRBA_NR, 0, FSCR_IC_BHRB); in helper_mfbhrbe()
483 return 0; in helper_mfbhrbe()
489 * must offset bhrbe by 1 to get to the 0th entry. in helper_mfbhrbe()