Lines Matching refs:frs1

123     float16 frs1 = check_nanbox_h(env, rs1);  in do_fmadd_h()  local
126 return nanbox_h(env, float16_muladd(frs1, frs2, frs3, flags, in do_fmadd_h()
133 float32 frs1 = check_nanbox_s(env, rs1); in do_fmadd_s() local
136 return nanbox_s(env, float32_muladd(frs1, frs2, frs3, flags, in do_fmadd_s()
140 uint64_t helper_fmadd_s(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmadd_s() argument
143 return do_fmadd_s(env, frs1, frs2, frs3, 0); in helper_fmadd_s()
146 uint64_t helper_fmadd_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmadd_d() argument
149 return float64_muladd(frs1, frs2, frs3, 0, &env->fp_status); in helper_fmadd_d()
152 uint64_t helper_fmadd_h(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmadd_h() argument
155 return do_fmadd_h(env, frs1, frs2, frs3, 0); in helper_fmadd_h()
158 uint64_t helper_fmsub_s(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmsub_s() argument
161 return do_fmadd_s(env, frs1, frs2, frs3, float_muladd_negate_c); in helper_fmsub_s()
164 uint64_t helper_fmsub_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmsub_d() argument
167 return float64_muladd(frs1, frs2, frs3, float_muladd_negate_c, in helper_fmsub_d()
171 uint64_t helper_fmsub_h(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmsub_h() argument
174 return do_fmadd_h(env, frs1, frs2, frs3, float_muladd_negate_c); in helper_fmsub_h()
177 uint64_t helper_fnmsub_s(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fnmsub_s() argument
180 return do_fmadd_s(env, frs1, frs2, frs3, float_muladd_negate_product); in helper_fnmsub_s()
183 uint64_t helper_fnmsub_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fnmsub_d() argument
186 return float64_muladd(frs1, frs2, frs3, float_muladd_negate_product, in helper_fnmsub_d()
190 uint64_t helper_fnmsub_h(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fnmsub_h() argument
193 return do_fmadd_h(env, frs1, frs2, frs3, float_muladd_negate_product); in helper_fnmsub_h()
196 uint64_t helper_fnmadd_s(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fnmadd_s() argument
199 return do_fmadd_s(env, frs1, frs2, frs3, in helper_fnmadd_s()
203 uint64_t helper_fnmadd_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fnmadd_d() argument
206 return float64_muladd(frs1, frs2, frs3, float_muladd_negate_c | in helper_fnmadd_d()
210 uint64_t helper_fnmadd_h(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fnmadd_h() argument
213 return do_fmadd_h(env, frs1, frs2, frs3, in helper_fnmadd_h()
219 float32 frs1 = check_nanbox_s(env, rs1); in helper_fadd_s() local
221 return nanbox_s(env, float32_add(frs1, frs2, &env->fp_status)); in helper_fadd_s()
226 float32 frs1 = check_nanbox_s(env, rs1); in helper_fsub_s() local
228 return nanbox_s(env, float32_sub(frs1, frs2, &env->fp_status)); in helper_fsub_s()
233 float32 frs1 = check_nanbox_s(env, rs1); in helper_fmul_s() local
235 return nanbox_s(env, float32_mul(frs1, frs2, &env->fp_status)); in helper_fmul_s()
240 float32 frs1 = check_nanbox_s(env, rs1); in helper_fdiv_s() local
242 return nanbox_s(env, float32_div(frs1, frs2, &env->fp_status)); in helper_fdiv_s()
247 float32 frs1 = check_nanbox_s(env, rs1); in helper_fmin_s() local
250 float32_minnum(frs1, frs2, &env->fp_status) : in helper_fmin_s()
251 float32_minimum_number(frs1, frs2, &env->fp_status)); in helper_fmin_s()
256 float32 frs1 = check_nanbox_s(env, rs1); in helper_fminm_s() local
258 float32 ret = float32_min(frs1, frs2, &env->fp_status); in helper_fminm_s()
264 float32 frs1 = check_nanbox_s(env, rs1); in helper_fmax_s() local
267 float32_maxnum(frs1, frs2, &env->fp_status) : in helper_fmax_s()
268 float32_maximum_number(frs1, frs2, &env->fp_status)); in helper_fmax_s()
273 float32 frs1 = check_nanbox_s(env, rs1); in helper_fmaxm_s() local
275 float32 ret = float32_max(frs1, frs2, &env->fp_status); in helper_fmaxm_s()
281 float32 frs1 = check_nanbox_s(env, rs1); in helper_fsqrt_s() local
282 return nanbox_s(env, float32_sqrt(frs1, &env->fp_status)); in helper_fsqrt_s()
287 float32 frs1 = check_nanbox_s(env, rs1); in helper_fle_s() local
289 return float32_le(frs1, frs2, &env->fp_status); in helper_fle_s()
294 float32 frs1 = check_nanbox_s(env, rs1); in helper_fleq_s() local
296 return float32_le_quiet(frs1, frs2, &env->fp_status); in helper_fleq_s()
301 float32 frs1 = check_nanbox_s(env, rs1); in helper_flt_s() local
303 return float32_lt(frs1, frs2, &env->fp_status); in helper_flt_s()
308 float32 frs1 = check_nanbox_s(env, rs1); in helper_fltq_s() local
310 return float32_lt_quiet(frs1, frs2, &env->fp_status); in helper_fltq_s()
315 float32 frs1 = check_nanbox_s(env, rs1); in helper_feq_s() local
317 return float32_eq_quiet(frs1, frs2, &env->fp_status); in helper_feq_s()
322 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_w_s() local
323 return float32_to_int32(frs1, &env->fp_status); in helper_fcvt_w_s()
328 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_wu_s() local
329 return (int32_t)float32_to_uint32(frs1, &env->fp_status); in helper_fcvt_wu_s()
334 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_l_s() local
335 return float32_to_int64(frs1, &env->fp_status); in helper_fcvt_l_s()
340 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_lu_s() local
341 return float32_to_uint64(frs1, &env->fp_status); in helper_fcvt_lu_s()
366 float32 frs1 = check_nanbox_s(env, rs1); in helper_fclass_s() local
367 return fclass_s(frs1); in helper_fclass_s()
374 float32 frs1 = check_nanbox_s(env, rs1); in helper_fround_s() local
376 frs1 = float32_round_to_int(frs1, fs); in helper_fround_s()
384 return nanbox_s(env, frs1); in helper_fround_s()
389 float32 frs1 = check_nanbox_s(env, rs1); in helper_froundnx_s() local
390 frs1 = float32_round_to_int(frs1, &env->fp_status); in helper_froundnx_s()
391 return nanbox_s(env, frs1); in helper_froundnx_s()
394 uint64_t helper_fadd_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fadd_d() argument
396 return float64_add(frs1, frs2, &env->fp_status); in helper_fadd_d()
399 uint64_t helper_fsub_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fsub_d() argument
401 return float64_sub(frs1, frs2, &env->fp_status); in helper_fsub_d()
404 uint64_t helper_fmul_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fmul_d() argument
406 return float64_mul(frs1, frs2, &env->fp_status); in helper_fmul_d()
409 uint64_t helper_fdiv_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fdiv_d() argument
411 return float64_div(frs1, frs2, &env->fp_status); in helper_fdiv_d()
414 uint64_t helper_fmin_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fmin_d() argument
417 float64_minnum(frs1, frs2, &env->fp_status) : in helper_fmin_d()
418 float64_minimum_number(frs1, frs2, &env->fp_status); in helper_fmin_d()
421 uint64_t helper_fminm_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fminm_d() argument
423 return float64_min(frs1, frs2, &env->fp_status); in helper_fminm_d()
426 uint64_t helper_fmax_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fmax_d() argument
429 float64_maxnum(frs1, frs2, &env->fp_status) : in helper_fmax_d()
430 float64_maximum_number(frs1, frs2, &env->fp_status); in helper_fmax_d()
433 uint64_t helper_fmaxm_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fmaxm_d() argument
435 return float64_max(frs1, frs2, &env->fp_status); in helper_fmaxm_d()
445 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_d_s() local
446 return float32_to_float64(frs1, &env->fp_status); in helper_fcvt_d_s()
449 uint64_t helper_fsqrt_d(CPURISCVState *env, uint64_t frs1) in helper_fsqrt_d() argument
451 return float64_sqrt(frs1, &env->fp_status); in helper_fsqrt_d()
454 target_ulong helper_fle_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fle_d() argument
456 return float64_le(frs1, frs2, &env->fp_status); in helper_fle_d()
459 target_ulong helper_fleq_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fleq_d() argument
461 return float64_le_quiet(frs1, frs2, &env->fp_status); in helper_fleq_d()
464 target_ulong helper_flt_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_flt_d() argument
466 return float64_lt(frs1, frs2, &env->fp_status); in helper_flt_d()
469 target_ulong helper_fltq_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_fltq_d() argument
471 return float64_lt_quiet(frs1, frs2, &env->fp_status); in helper_fltq_d()
474 target_ulong helper_feq_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) in helper_feq_d() argument
476 return float64_eq_quiet(frs1, frs2, &env->fp_status); in helper_feq_d()
479 target_ulong helper_fcvt_w_d(CPURISCVState *env, uint64_t frs1) in helper_fcvt_w_d() argument
481 return float64_to_int32(frs1, &env->fp_status); in helper_fcvt_w_d()
489 target_ulong helper_fcvt_wu_d(CPURISCVState *env, uint64_t frs1) in helper_fcvt_wu_d() argument
491 return (int32_t)float64_to_uint32(frs1, &env->fp_status); in helper_fcvt_wu_d()
494 target_ulong helper_fcvt_l_d(CPURISCVState *env, uint64_t frs1) in helper_fcvt_l_d() argument
496 return float64_to_int64(frs1, &env->fp_status); in helper_fcvt_l_d()
499 target_ulong helper_fcvt_lu_d(CPURISCVState *env, uint64_t frs1) in helper_fcvt_lu_d() argument
501 return float64_to_uint64(frs1, &env->fp_status); in helper_fcvt_lu_d()
524 target_ulong helper_fclass_d(uint64_t frs1) in helper_fclass_d() argument
526 return fclass_d(frs1); in helper_fclass_d()
529 uint64_t helper_fround_d(CPURISCVState *env, uint64_t frs1) in helper_fround_d() argument
534 frs1 = float64_round_to_int(frs1, fs); in helper_fround_d()
542 return frs1; in helper_fround_d()
545 uint64_t helper_froundnx_d(CPURISCVState *env, uint64_t frs1) in helper_froundnx_d() argument
547 return float64_round_to_int(frs1, &env->fp_status); in helper_froundnx_d()
552 float16 frs1 = check_nanbox_h(env, rs1); in helper_fadd_h() local
554 return nanbox_h(env, float16_add(frs1, frs2, &env->fp_status)); in helper_fadd_h()
559 float16 frs1 = check_nanbox_h(env, rs1); in helper_fsub_h() local
561 return nanbox_h(env, float16_sub(frs1, frs2, &env->fp_status)); in helper_fsub_h()
566 float16 frs1 = check_nanbox_h(env, rs1); in helper_fmul_h() local
568 return nanbox_h(env, float16_mul(frs1, frs2, &env->fp_status)); in helper_fmul_h()
573 float16 frs1 = check_nanbox_h(env, rs1); in helper_fdiv_h() local
575 return nanbox_h(env, float16_div(frs1, frs2, &env->fp_status)); in helper_fdiv_h()
580 float16 frs1 = check_nanbox_h(env, rs1); in helper_fmin_h() local
583 float16_minnum(frs1, frs2, &env->fp_status) : in helper_fmin_h()
584 float16_minimum_number(frs1, frs2, &env->fp_status)); in helper_fmin_h()
589 float16 frs1 = check_nanbox_h(env, rs1); in helper_fminm_h() local
591 float16 ret = float16_min(frs1, frs2, &env->fp_status); in helper_fminm_h()
597 float16 frs1 = check_nanbox_h(env, rs1); in helper_fmax_h() local
600 float16_maxnum(frs1, frs2, &env->fp_status) : in helper_fmax_h()
601 float16_maximum_number(frs1, frs2, &env->fp_status)); in helper_fmax_h()
606 float16 frs1 = check_nanbox_h(env, rs1); in helper_fmaxm_h() local
608 float16 ret = float16_max(frs1, frs2, &env->fp_status); in helper_fmaxm_h()
614 float16 frs1 = check_nanbox_h(env, rs1); in helper_fsqrt_h() local
615 return nanbox_h(env, float16_sqrt(frs1, &env->fp_status)); in helper_fsqrt_h()
620 float16 frs1 = check_nanbox_h(env, rs1); in helper_fle_h() local
622 return float16_le(frs1, frs2, &env->fp_status); in helper_fle_h()
627 float16 frs1 = check_nanbox_h(env, rs1); in helper_fleq_h() local
629 return float16_le_quiet(frs1, frs2, &env->fp_status); in helper_fleq_h()
634 float16 frs1 = check_nanbox_h(env, rs1); in helper_flt_h() local
636 return float16_lt(frs1, frs2, &env->fp_status); in helper_flt_h()
641 float16 frs1 = check_nanbox_h(env, rs1); in helper_fltq_h() local
643 return float16_lt_quiet(frs1, frs2, &env->fp_status); in helper_fltq_h()
648 float16 frs1 = check_nanbox_h(env, rs1); in helper_feq_h() local
650 return float16_eq_quiet(frs1, frs2, &env->fp_status); in helper_feq_h()
655 float16 frs1 = check_nanbox_h(env, rs1); in helper_fclass_h() local
656 return fclass_h(frs1); in helper_fclass_h()
663 float16 frs1 = check_nanbox_h(env, rs1); in helper_fround_h() local
665 frs1 = float16_round_to_int(frs1, fs); in helper_fround_h()
673 return nanbox_h(env, frs1); in helper_fround_h()
678 float16 frs1 = check_nanbox_h(env, rs1); in helper_froundnx_h() local
679 frs1 = float16_round_to_int(frs1, &env->fp_status); in helper_froundnx_h()
680 return nanbox_h(env, frs1); in helper_froundnx_h()
685 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_w_h() local
686 return float16_to_int32(frs1, &env->fp_status); in helper_fcvt_w_h()
691 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_wu_h() local
692 return (int32_t)float16_to_uint32(frs1, &env->fp_status); in helper_fcvt_wu_h()
697 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_l_h() local
698 return float16_to_int64(frs1, &env->fp_status); in helper_fcvt_l_h()
703 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_lu_h() local
704 return float16_to_uint64(frs1, &env->fp_status); in helper_fcvt_lu_h()
729 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_h_s() local
730 return nanbox_h(env, float32_to_float16(frs1, true, &env->fp_status)); in helper_fcvt_h_s()
735 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_s_h() local
736 return nanbox_s(env, float16_to_float32(frs1, true, &env->fp_status)); in helper_fcvt_s_h()
746 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_d_h() local
747 return float16_to_float64(frs1, true, &env->fp_status); in helper_fcvt_d_h()
752 float32 frs1 = check_nanbox_s(env, rs1); in helper_fcvt_bf16_s() local
753 return nanbox_h(env, float32_to_bfloat16(frs1, &env->fp_status)); in helper_fcvt_bf16_s()
758 float16 frs1 = check_nanbox_h(env, rs1); in helper_fcvt_s_bf16() local
759 return nanbox_s(env, bfloat16_to_float32(frs1, &env->fp_status)); in helper_fcvt_s_bf16()