Lines Matching refs:frs2

124     float16 frs2 = check_nanbox_h(env, rs2);  in do_fmadd_h()  local
126 return nanbox_h(env, float16_muladd(frs1, frs2, frs3, flags, in do_fmadd_h()
134 float32 frs2 = check_nanbox_s(env, rs2); 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()
220 float32 frs2 = check_nanbox_s(env, rs2); in helper_fadd_s() local
221 return nanbox_s(env, float32_add(frs1, frs2, &env->fp_status)); in helper_fadd_s()
227 float32 frs2 = check_nanbox_s(env, rs2); in helper_fsub_s() local
228 return nanbox_s(env, float32_sub(frs1, frs2, &env->fp_status)); in helper_fsub_s()
234 float32 frs2 = check_nanbox_s(env, rs2); in helper_fmul_s() local
235 return nanbox_s(env, float32_mul(frs1, frs2, &env->fp_status)); in helper_fmul_s()
241 float32 frs2 = check_nanbox_s(env, rs2); in helper_fdiv_s() local
242 return nanbox_s(env, float32_div(frs1, frs2, &env->fp_status)); in helper_fdiv_s()
248 float32 frs2 = check_nanbox_s(env, rs2); 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()
257 float32 frs2 = check_nanbox_s(env, rs2); in helper_fminm_s() local
258 float32 ret = float32_min(frs1, frs2, &env->fp_status); in helper_fminm_s()
265 float32 frs2 = check_nanbox_s(env, rs2); 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()
274 float32 frs2 = check_nanbox_s(env, rs2); in helper_fmaxm_s() local
275 float32 ret = float32_max(frs1, frs2, &env->fp_status); in helper_fmaxm_s()
288 float32 frs2 = check_nanbox_s(env, rs2); in helper_fle_s() local
289 return float32_le(frs1, frs2, &env->fp_status); in helper_fle_s()
295 float32 frs2 = check_nanbox_s(env, rs2); in helper_fleq_s() local
296 return float32_le_quiet(frs1, frs2, &env->fp_status); in helper_fleq_s()
302 float32 frs2 = check_nanbox_s(env, rs2); in helper_flt_s() local
303 return float32_lt(frs1, frs2, &env->fp_status); in helper_flt_s()
309 float32 frs2 = check_nanbox_s(env, rs2); in helper_fltq_s() local
310 return float32_lt_quiet(frs1, frs2, &env->fp_status); in helper_fltq_s()
316 float32 frs2 = check_nanbox_s(env, rs2); in helper_feq_s() local
317 return float32_eq_quiet(frs1, frs2, &env->fp_status); in helper_feq_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()
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()
553 float16 frs2 = check_nanbox_h(env, rs2); in helper_fadd_h() local
554 return nanbox_h(env, float16_add(frs1, frs2, &env->fp_status)); in helper_fadd_h()
560 float16 frs2 = check_nanbox_h(env, rs2); in helper_fsub_h() local
561 return nanbox_h(env, float16_sub(frs1, frs2, &env->fp_status)); in helper_fsub_h()
567 float16 frs2 = check_nanbox_h(env, rs2); in helper_fmul_h() local
568 return nanbox_h(env, float16_mul(frs1, frs2, &env->fp_status)); in helper_fmul_h()
574 float16 frs2 = check_nanbox_h(env, rs2); in helper_fdiv_h() local
575 return nanbox_h(env, float16_div(frs1, frs2, &env->fp_status)); in helper_fdiv_h()
581 float16 frs2 = check_nanbox_h(env, rs2); 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()
590 float16 frs2 = check_nanbox_h(env, rs2); in helper_fminm_h() local
591 float16 ret = float16_min(frs1, frs2, &env->fp_status); in helper_fminm_h()
598 float16 frs2 = check_nanbox_h(env, rs2); 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()
607 float16 frs2 = check_nanbox_h(env, rs2); in helper_fmaxm_h() local
608 float16 ret = float16_max(frs1, frs2, &env->fp_status); in helper_fmaxm_h()
621 float16 frs2 = check_nanbox_h(env, rs2); in helper_fle_h() local
622 return float16_le(frs1, frs2, &env->fp_status); in helper_fle_h()
628 float16 frs2 = check_nanbox_h(env, rs2); in helper_fleq_h() local
629 return float16_le_quiet(frs1, frs2, &env->fp_status); in helper_fleq_h()
635 float16 frs2 = check_nanbox_h(env, rs2); in helper_flt_h() local
636 return float16_lt(frs1, frs2, &env->fp_status); in helper_flt_h()
642 float16 frs2 = check_nanbox_h(env, rs2); in helper_fltq_h() local
643 return float16_lt_quiet(frs1, frs2, &env->fp_status); in helper_fltq_h()
649 float16 frs2 = check_nanbox_h(env, rs2); in helper_feq_h() local
650 return float16_eq_quiet(frs1, frs2, &env->fp_status); in helper_feq_h()