Home
last modified time | relevance | path

Searched refs:nanbox_s (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/loongarch/tcg/
H A Dfpu_helper.c16 static inline uint64_t nanbox_s(float32 fp) in nanbox_s() function
90 fd = nanbox_s(float32_add((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fadd_s()
108 fd = nanbox_s(float32_sub((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fsub_s()
126 fd = nanbox_s(float32_mul((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fmul_s()
144 fd = nanbox_s(float32_div((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fdiv_s()
162 fd = nanbox_s(float32_maxnum((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fmax_s()
180 fd = nanbox_s(float32_minnum((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fmin_s()
198 fd = nanbox_s(float32_maxnummag((uint32_t)fj, in helper_fmaxa_s()
217 fd = nanbox_s(float32_minnummag((uint32_t)fj, in helper_fmina_s()
237 fd = nanbox_s(float32_scalbn((uint32_t)fj, in helper_fscaleb_s()
[all …]
/openbmc/qemu/target/riscv/
H A Dfpu_helper.c137 return nanbox_s(env, float32_muladd(frs1, frs2, frs3, flags, in do_fmadd_s()
222 return nanbox_s(env, float32_add(frs1, frs2, &env->fp_status)); in helper_fadd_s()
229 return nanbox_s(env, float32_sub(frs1, frs2, &env->fp_status)); in helper_fsub_s()
236 return nanbox_s(env, float32_mul(frs1, frs2, &env->fp_status)); in helper_fmul_s()
243 return nanbox_s(env, float32_div(frs1, frs2, &env->fp_status)); in helper_fdiv_s()
250 return nanbox_s(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmin_s()
260 return nanbox_s(env, ret); in helper_fminm_s()
267 return nanbox_s(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmax_s()
277 return nanbox_s(env, ret); in helper_fmaxm_s()
283 return nanbox_s(env, float32_sqrt(frs1, &env->fp_status)); in helper_fsqrt_s()
[all …]
H A Dinternals.h90 static inline uint64_t nanbox_s(CPURISCVState *env, float32 f) in nanbox_s() function