Home
last modified time | relevance | path

Searched refs:crf (Results 1 – 15 of 15) 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 Dtranslate.c1487 tcg_gen_trunc_tl_i32(cpu_crf[crf], cpu_so); in gen_op_cmp()
1488 tcg_gen_or_i32(cpu_crf[crf], cpu_crf[crf], t); in gen_op_cmp()
1494 gen_op_cmp(arg0, t0, s, crf); in gen_op_cmpi()
1509 gen_op_cmp(t0, t1, s, crf); in gen_op_cmp32()
1515 gen_op_cmp32(arg0, t0, s, crf); in gen_op_cmpi32()
1534 TCGv_i32 crf = cpu_crf[crfD(ctx->opcode)]; in gen_cmprb() local
1546 tcg_gen_and_i32(crf, src2lo, src2hi); in gen_cmprb()
1556 tcg_gen_or_i32(crf, crf, src2lo); in gen_cmprb()
1558 tcg_gen_shli_i32(crf, crf, CRF_GT_BIT); in gen_cmprb()
4969 int crf = crfS(ctx->opcode); in gen_setb() local
[all …]
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.c995 env->crf[crfD] = ret; in helper_fcmpu()
1026 env->crf[crfD] = (uint32_t) ret; in helper_fcmpo()
2062 env->crf[BF(opcode)] = 0x8 | (fg_flag ? 4 : 0) | (fe_flag ? 2 : 0); \
2115 env->crf[BF(opcode)] = 0x8 | (fg_flag ? 4 : 0) | (fe_flag ? 2 : 0); \
2292 env->crf[BF(opcode)] = cc; in helper_xscmpexpdp()
2321 env->crf[BF(opcode)] = cc; in helper_xscmpexpqp()
2367 env->crf[crf_idx] = cc; in do_scalar_cmp()
2432 env->crf[crf_idx] = cc; in do_scalar_cmpq()
3272 env->crf[bf] = cc; \
3289 env->crf[bf] = cc; in VSX_XS_TSTDC()
H A Darch_dump.c125 cr |= (cpu->env.crf[i] & 15) << (4 * (7 - i)); in ppc_write_elf_prstatus()
H A Dmem_helper.c529 env->crf[0] = 0xB; /* 0b1010 = transaction failure */
H A Dmachine.c728 VMSTATE_UINT32_ARRAY(env.crf, PowerPCCPU, 8),
H A Dexcp_helper.c695 msr |= env->crf[0] << 28; in powerpc_excp_6xx()
868 msr |= env->crf[0] << 28; in powerpc_excp_7xx()
H A Dcpu_init.c7483 qemu_fprintf(f, "%01x", env->crf[i]); in ppc_cpu_dump_state()
7487 if (env->crf[i] & 0x08) { in ppc_cpu_dump_state()
7489 } else if (env->crf[i] & 0x04) { in ppc_cpu_dump_state()
7491 } else if (env->crf[i] & 0x02) { in ppc_cpu_dump_state()
7494 qemu_fprintf(f, " %c%c", a, env->crf[i] & 0x01 ? 'O' : ' '); in ppc_cpu_dump_state()
H A Dcpu.h1206 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.inc341 TCGv_i32 crf;
351 crf = tcg_constant_i32(crfD(ctx->opcode));
354 gen_helper_fcmpo(tcg_env, t0, t1, crf);
361 TCGv_i32 crf;
371 crf = tcg_constant_i32(crfD(ctx->opcode));
374 gen_helper_fcmpu(tcg_env, t0, t1, crf);
/openbmc/qemu/hw/arm/
H A Dxlnx-zynqmp.c322 object_initialize_child(OBJECT(s), "crf", &s->crf, TYPE_XLNX_ZYNQMP_CRF); in xlnx_zynqmp_create_crf()
323 sbd = SYS_BUS_DEVICE(&s->crf); in xlnx_zynqmp_create_crf()
/openbmc/qemu/hw/misc/
H A Dmeson.build97 system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-crf.c'))