Lines Matching refs:a

39 static inline float32 bfp32_neg(float32 a)  in bfp32_neg()  argument
41 if (unlikely(float32_is_any_nan(a))) { in bfp32_neg()
42 return a; in bfp32_neg()
44 return float32_chs(a); in bfp32_neg()
648 static float64 do_fmadd(CPUPPCState *env, float64 a, float64 b, in do_fmadd() argument
651 float64 ret = float64_muladd(a, b, c, madd_flags, &env->fp_status); in do_fmadd()
660 static uint64_t do_fmadds(CPUPPCState *env, float64 a, float64 b, in do_fmadds() argument
663 float64 ret = float64r32_muladd(a, b, c, madd_flags, &env->fp_status); in do_fmadds()
795 uint64_t helper_FSEL(uint64_t a, uint64_t b, uint64_t c)
799 fa.ll = a;
3391 static void vsxger16(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in vsxger16() argument
3406 extract(a->VsrHF(2 * i), excp_ptr); in vsxger16()
3410 extract(a->VsrHF(2 * i + 1), excp_ptr); in vsxger16()
3440 static void vsxger_muladd32(ppc_vsr_t *at, ppc_vsr_t *a, ppc_vsr_t *b, int i, in vsxger_muladd32() argument
3443 at[i].VsrSF(j) = float32_muladd(a->VsrSF(i), b->VsrSF(j), in vsxger_muladd32()
3447 static void vsxger_mul32(ppc_vsr_t *at, ppc_vsr_t *a, ppc_vsr_t *b, int i, in vsxger_mul32() argument
3450 at[i].VsrSF(j) = float32_mul(a->VsrSF(i), b->VsrSF(j), s); in vsxger_mul32()
3458 static void vsxger_muladd64(ppc_vsr_t *at, ppc_vsr_t *a, ppc_vsr_t *b, int i, in vsxger_muladd64() argument
3463 at[i].VsrDF(j) = float64_muladd(a[i / 2].VsrDF(i % 2), b->VsrDF(j), in vsxger_muladd64()
3468 static void vsxger_mul64(ppc_vsr_t *at, ppc_vsr_t *a, ppc_vsr_t *b, int i, in vsxger_mul64() argument
3473 at[i].VsrDF(j) = float64_mul(a[i / 2].VsrDF(i % 2), b->VsrDF(j), s); in vsxger_mul64()
3485 static void vsxger(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in vsxger() argument
3501 muladd(at, a, b, i, j, op_flags, excp_ptr); in vsxger()
3503 mul(at, a, b, i, j, op_flags, excp_ptr); in vsxger()
3514 void helper_XVBF16GER2(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVBF16GER2() argument
3517 vsxger16(env, a, b, at, mask, false, false, false, extract_bf16); in helper_XVBF16GER2()
3521 void helper_XVBF16GER2PP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVBF16GER2PP() argument
3524 vsxger16(env, a, b, at, mask, true, false, false, extract_bf16); in helper_XVBF16GER2PP()
3528 void helper_XVBF16GER2PN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVBF16GER2PN() argument
3531 vsxger16(env, a, b, at, mask, true, false, true, extract_bf16); in helper_XVBF16GER2PN()
3535 void helper_XVBF16GER2NP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVBF16GER2NP() argument
3538 vsxger16(env, a, b, at, mask, true, true, false, extract_bf16); in helper_XVBF16GER2NP()
3542 void helper_XVBF16GER2NN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVBF16GER2NN() argument
3545 vsxger16(env, a, b, at, mask, true, true, true, extract_bf16); in helper_XVBF16GER2NN()
3549 void helper_XVF16GER2(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF16GER2() argument
3552 vsxger16(env, a, b, at, mask, false, false, false, extract_hf16); in helper_XVF16GER2()
3556 void helper_XVF16GER2PP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF16GER2PP() argument
3559 vsxger16(env, a, b, at, mask, true, false, false, extract_hf16); in helper_XVF16GER2PP()
3563 void helper_XVF16GER2PN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF16GER2PN() argument
3566 vsxger16(env, a, b, at, mask, true, false, true, extract_hf16); in helper_XVF16GER2PN()
3570 void helper_XVF16GER2NP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF16GER2NP() argument
3573 vsxger16(env, a, b, at, mask, true, true, false, extract_hf16); in helper_XVF16GER2NP()
3577 void helper_XVF16GER2NN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF16GER2NN() argument
3580 vsxger16(env, a, b, at, mask, true, true, true, extract_hf16); in helper_XVF16GER2NN()
3584 void helper_XVF32GER(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF32GER() argument
3587 vsxger(env, a, b, at, mask, false, false, false, vsxger_mul32, in helper_XVF32GER()
3592 void helper_XVF32GERPP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF32GERPP() argument
3595 vsxger(env, a, b, at, mask, true, false, false, vsxger_mul32, in helper_XVF32GERPP()
3600 void helper_XVF32GERPN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF32GERPN() argument
3603 vsxger(env, a, b, at, mask, true, false, true, vsxger_mul32, in helper_XVF32GERPN()
3608 void helper_XVF32GERNP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF32GERNP() argument
3611 vsxger(env, a, b, at, mask, true, true, false, vsxger_mul32, in helper_XVF32GERNP()
3616 void helper_XVF32GERNN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF32GERNN() argument
3619 vsxger(env, a, b, at, mask, true, true, true, vsxger_mul32, in helper_XVF32GERNN()
3624 void helper_XVF64GER(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF64GER() argument
3627 vsxger(env, a, b, at, mask, false, false, false, vsxger_mul64, in helper_XVF64GER()
3632 void helper_XVF64GERPP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF64GERPP() argument
3635 vsxger(env, a, b, at, mask, true, false, false, vsxger_mul64, in helper_XVF64GERPP()
3640 void helper_XVF64GERPN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF64GERPN() argument
3643 vsxger(env, a, b, at, mask, true, false, true, vsxger_mul64, in helper_XVF64GERPN()
3648 void helper_XVF64GERNP(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF64GERNP() argument
3651 vsxger(env, a, b, at, mask, true, true, false, vsxger_mul64, in helper_XVF64GERNP()
3656 void helper_XVF64GERNN(CPUPPCState *env, ppc_vsr_t *a, ppc_vsr_t *b, in helper_XVF64GERNN() argument
3659 vsxger(env, a, b, at, mask, true, true, true, vsxger_mul64, in helper_XVF64GERNN()