Home
last modified time | relevance | path

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

/qemu/target/loongarch/tcg/
H A Dfpu_helper.c15 static inline uint64_t nanbox_s(float32 fp) in nanbox_s() function
97 fd = nanbox_s(float32_add((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fadd_s()
115 fd = nanbox_s(float32_sub((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fsub_s()
133 fd = nanbox_s(float32_mul((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fmul_s()
151 fd = nanbox_s(float32_div((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fdiv_s()
169 fd = nanbox_s(float32_maxnum((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fmax_s()
187 fd = nanbox_s(float32_minnum((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fmin_s()
205 fd = nanbox_s(float32_maxnummag((uint32_t)fj, in helper_fmaxa_s()
224 fd = nanbox_s(float32_minnummag((uint32_t)fj, in helper_fmina_s()
244 fd = nanbox_s(float32_scalbn((uint32_t)fj, in helper_fscaleb_s()
[all …]
/qemu/target/riscv/
H A Dfpu_helper.c136 return nanbox_s(env, float32_muladd(frs1, frs2, frs3, flags, in do_fmadd_s()
221 return nanbox_s(env, float32_add(frs1, frs2, &env->fp_status)); in helper_fadd_s()
228 return nanbox_s(env, float32_sub(frs1, frs2, &env->fp_status)); in helper_fsub_s()
235 return nanbox_s(env, float32_mul(frs1, frs2, &env->fp_status)); in helper_fmul_s()
242 return nanbox_s(env, float32_div(frs1, frs2, &env->fp_status)); in helper_fdiv_s()
249 return nanbox_s(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmin_s()
259 return nanbox_s(env, ret); in helper_fminm_s()
266 return nanbox_s(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmax_s()
276 return nanbox_s(env, ret); in helper_fmaxm_s()
282 return nanbox_s(env, float32_sqrt(frs1, &env->fp_status)); in helper_fsqrt_s()
[all …]
H A Dinternals.h93 static inline uint64_t nanbox_s(CPURISCVState *env, float32 f) in nanbox_s() function