Home
last modified time | relevance | path

Searched refs:crfD (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/powerpc/math-emu/
H A Dmtfsfi.c10 mtfsfi(unsigned int crfD, unsigned int IMM) in mtfsfi() argument
14 if (!crfD) in mtfsfi()
17 __FPU_FPSCR &= ~(mask << ((7 - crfD) << 2)); in mtfsfi()
18 __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); in mtfsfi()
21 printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR); in mtfsfi()
H A Dmcrfs.c10 mcrfs(u32 *ccr, u32 crfD, u32 crfS) in mcrfs() argument
15 printk("%s: %p (%08x) %d %d\n", __func__, ccr, *ccr, crfD, crfS); in mcrfs()
25 *ccr &= ~(15 << ((7 - crfD) << 2)); in mcrfs()
26 *ccr |= (value << ((7 - crfD) << 2)); in mcrfs()
H A Dfcmpu.c11 fcmpu(u32 *ccr, int crfD, void *frA, void *frB) in fcmpu() argument
20 printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); in fcmpu()
37 *ccr &= ~(15 << ((7 - crfD) << 2)); in fcmpu()
38 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpu()
H A Dfcmpo.c11 fcmpo(u32 *ccr, int crfD, void *frA, void *frB) in fcmpo() argument
20 printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); in fcmpo()
40 *ccr &= ~(15 << ((7 - crfD) << 2)); in fcmpo()
41 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpo()
/openbmc/qemu/target/ppc/translate/
H A Dspe-impl.c.inc272 tcg_gen_movi_i32(cpu_crf[crfD(ctx->opcode)], 0); \
275 tcg_gen_movi_i32(cpu_crf[crfD(ctx->opcode)], \
280 tcg_gen_andi_i32(cpu_crf[crfD(ctx->opcode)], cpu_crf[crfD(ctx->opcode)], \
284 tcg_gen_ori_i32(cpu_crf[crfD(ctx->opcode)], cpu_crf[crfD(ctx->opcode)], \
960 gen_helper_##name(cpu_crf[crfD(ctx->opcode)], tcg_env, t0, t1); \
974 gen_helper_##name(cpu_crf[crfD(ctx->opcode)], tcg_env, t0, t1); \
H A Dfp-impl.c.inc291 crf = tcg_constant_i32(crfD(ctx->opcode));
311 crf = tcg_constant_i32(crfD(ctx->opcode));
476 tcg_gen_trunc_tl_i32(cpu_crf[crfD(ctx->opcode)], tmp);
477 tcg_gen_andi_i32(cpu_crf[crfD(ctx->opcode)], cpu_crf[crfD(ctx->opcode)],
/openbmc/qemu/target/ppc/
H A Dinternal.h120 EXTRACT_HELPER(crfD, 23, 3);
H A Dfpu_helper.c877 uint32_t crfD) in helper_fcmpu() argument
898 env->crf[crfD] = ret; in helper_fcmpu()
908 uint32_t crfD) in helper_fcmpo() argument
929 env->crf[crfD] = (uint32_t) ret; in helper_fcmpo()
H A Dtranslate.c3875 tcg_gen_mov_i32(cpu_crf[crfD(ctx->opcode)], cpu_crf[crfS(ctx->opcode)]); in gen_mcrf()
4006 TCGv_i32 dst = cpu_crf[crfD(ctx->opcode)]; in gen_mcrxr()
4028 TCGv_i32 dst = cpu_crf[crfD(ctx->opcode)]; in gen_mcrxrx()
5508 tcg_gen_movi_i32(cpu_crf[crfD(ctx->opcode)], 0x8); in GEN_CP_PASTE_NOOP()