/openbmc/qemu/linux-user/ppc/ |
H A D | cpu_loop.c | 334 env->crf[0] &= ~0x1; in cpu_loop() 349 env->crf[0] |= 0x1; in cpu_loop()
|
/openbmc/qemu/target/ppc/ |
H A D | cpu.c | 74 env->crf[i] = cr & 0xf; in ppc_set_cr() 83 cr |= (env->crf[i] & 0xf) << (4 * (7 - i)); in ppc_get_cr()
|
H A D | int_helper.c | 669 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 D | fpu_helper.c | 898 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 D | arch_dump.c | 131 cr |= (cpu->env.crf[i] & 15) << (4 * (7 - i)); in ppc_write_elf_prstatus()
|
H A D | translate.c | 95 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 D | mem_helper.c | 537 env->crf[0] = 0xB; /* 0b1010 = transaction failure */
|
H A D | machine.c | 748 VMSTATE_UINT32_ARRAY(env.crf, PowerPCCPU, 8),
|
H A D | excp_helper.c | 705 msr |= env->crf[0] << 28; in powerpc_excp_6xx() 857 msr |= env->crf[0] << 28; in powerpc_excp_7xx()
|
H A D | cpu_init.c | 7628 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 D | cpu.h | 1223 uint32_t crf[8]; /* condition register */ member
|
/openbmc/qemu/include/hw/arm/ |
H A D | xlnx-zynqmp.h | 134 XlnxZynqMPCRF crf; member
|
/openbmc/qemu/target/ppc/translate/ |
H A D | fp-impl.c.inc | 281 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 D | fixedpoint-impl.c.inc | 298 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 D | xlnx-zynqmp.c | 324 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 D | meson.build | 96 system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-crf.c'))
|