Home
last modified time | relevance | path

Searched refs:crf (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/linux-user/ppc/
H A Dcpu_loop.c334 env->crf[0] &= ~0x1; in cpu_loop()
349 env->crf[0] |= 0x1; in cpu_loop()
/openbmc/qemu/target/ppc/
H A Dcpu.c74 env->crf[i] = cr & 0xf; in ppc_set_cr()
83 cr |= (env->crf[i] & 0xf) << (4 * (7 - i)); in ppc_get_cr()
H A Dint_helper.c669 env->crf[6] = ((all != 0) << 3) | ((none == 0) << 1); \
705 env->crf[6] = (all_in == 0) << 1;
1787 int i, idx, crf = 0; \
1794 crf = 0b0010; \
1804 return crf; \
3089 env->crf[0] = 0x4; in helper_dlmzb()
3098 env->crf[0] = 0x8; in helper_dlmzb()
3106 env->crf[0] = 0x2; in helper_dlmzb()
3111 env->crf[0] |= xer_so; in helper_dlmzb()
H A Dfpu_helper.c898 env->crf[crfD] = ret; in helper_fcmpu()
929 env->crf[crfD] = (uint32_t) ret; in helper_fcmpo()
1965 env->crf[BF(opcode)] = 0x8 | (fg_flag ? 4 : 0) | (fe_flag ? 2 : 0); \
2018 env->crf[BF(opcode)] = 0x8 | (fg_flag ? 4 : 0) | (fe_flag ? 2 : 0); \
2195 env->crf[BF(opcode)] = cc; in helper_xscmpexpdp()
2224 env->crf[BF(opcode)] = cc; in helper_xscmpexpqp()
2270 env->crf[crf_idx] = cc; in do_scalar_cmp()
2335 env->crf[crf_idx] = cc; in do_scalar_cmpq()
3175 env->crf[bf] = cc; \
3192 env->crf[bf] = cc; in VSX_XS_TSTDC()
H A Darch_dump.c131 cr |= (cpu->env.crf[i] & 15) << (4 * (7 - i)); in ppc_write_elf_prstatus()
H A Dtranslate.c95 offsetof(CPUPPCState, crf[i]), p); in ppc_translate_init()
1588 static inline void gen_op_cmp(TCGv arg0, TCGv arg1, int s, int crf) in gen_op_cmp() argument
1603 tcg_gen_trunc_tl_i32(cpu_crf[crf], cpu_so); in gen_op_cmp()
1604 tcg_gen_or_i32(cpu_crf[crf], cpu_crf[crf], t); in gen_op_cmp()
1610 gen_op_cmp(arg0, t0, s, crf); in gen_op_cmpi()
1613 static inline void gen_op_cmp32(TCGv arg0, TCGv arg1, int s, int crf) in gen_op_cmp32() argument
1625 gen_op_cmp(t0, t1, s, crf); in gen_op_cmp32()
1631 gen_op_cmp32(arg0, t0, s, crf); in gen_op_cmpi32()
4331 int crf = crfS(ctx->opcode); in gen_setb() local
4333 tcg_gen_setcondi_i32(TCG_COND_GEU, t0, cpu_crf[crf], 4); in gen_setb()
[all …]
H A Dmem_helper.c537 env->crf[0] = 0xB; /* 0b1010 = transaction failure */
H A Dmachine.c748 VMSTATE_UINT32_ARRAY(env.crf, PowerPCCPU, 8),
H A Dexcp_helper.c705 msr |= env->crf[0] << 28; in powerpc_excp_6xx()
857 msr |= env->crf[0] << 28; in powerpc_excp_7xx()
H A Dcpu_init.c7628 qemu_fprintf(f, "%01x", env->crf[i]); in ppc_cpu_dump_state()
7632 if (env->crf[i] & 0x08) { in ppc_cpu_dump_state()
7634 } else if (env->crf[i] & 0x04) { in ppc_cpu_dump_state()
7636 } else if (env->crf[i] & 0x02) { in ppc_cpu_dump_state()
7639 qemu_fprintf(f, " %c%c", a, env->crf[i] & 0x01 ? 'O' : ' '); in ppc_cpu_dump_state()
H A Dcpu.h1223 uint32_t crf[8]; /* condition register */ member
/openbmc/qemu/include/hw/arm/
H A Dxlnx-zynqmp.h134 XlnxZynqMPCRF crf; member
/openbmc/qemu/target/ppc/translate/
H A Dfp-impl.c.inc281 TCGv_i32 crf;
291 crf = tcg_constant_i32(crfD(ctx->opcode));
294 gen_helper_fcmpo(tcg_env, t0, t1, crf);
301 TCGv_i32 crf;
311 crf = tcg_constant_i32(crfD(ctx->opcode));
314 gen_helper_fcmpu(tcg_env, t0, t1, crf);
H A Dfixedpoint-impl.c.inc298 TCGv_i32 crf = cpu_crf[a->bf];
310 tcg_gen_and_i32(crf, src2lo, src2hi);
318 tcg_gen_or_i32(crf, crf, src2lo);
320 tcg_gen_shli_i32(crf, crf, CRF_GT_BIT);
/openbmc/qemu/hw/arm/
H A Dxlnx-zynqmp.c324 object_initialize_child(OBJECT(s), "crf", &s->crf, TYPE_XLNX_ZYNQMP_CRF); in xlnx_zynqmp_create_crf()
325 sbd = SYS_BUS_DEVICE(&s->crf); in xlnx_zynqmp_create_crf()
/openbmc/qemu/hw/misc/
H A Dmeson.build96 system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-crf.c'))