mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-24 00:18:36 -07:00
target-arm: Make VFP binop helpers take pointer to fpstatus, not CPUState
Make the VFP binop helper functions take a pointer to the fp status, not the entire CPUState. This will allow us to use them for Neon operations too. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5aaebd13da
commit
ae1857eca2
3 changed files with 25 additions and 18 deletions
|
|
@ -74,14 +74,14 @@ DEF_HELPER_2(set_user_reg, void, i32, i32)
|
|||
DEF_HELPER_1(vfp_get_fpscr, i32, env)
|
||||
DEF_HELPER_2(vfp_set_fpscr, void, env, i32)
|
||||
|
||||
DEF_HELPER_3(vfp_adds, f32, f32, f32, env)
|
||||
DEF_HELPER_3(vfp_addd, f64, f64, f64, env)
|
||||
DEF_HELPER_3(vfp_subs, f32, f32, f32, env)
|
||||
DEF_HELPER_3(vfp_subd, f64, f64, f64, env)
|
||||
DEF_HELPER_3(vfp_muls, f32, f32, f32, env)
|
||||
DEF_HELPER_3(vfp_muld, f64, f64, f64, env)
|
||||
DEF_HELPER_3(vfp_divs, f32, f32, f32, env)
|
||||
DEF_HELPER_3(vfp_divd, f64, f64, f64, env)
|
||||
DEF_HELPER_3(vfp_adds, f32, f32, f32, ptr)
|
||||
DEF_HELPER_3(vfp_addd, f64, f64, f64, ptr)
|
||||
DEF_HELPER_3(vfp_subs, f32, f32, f32, ptr)
|
||||
DEF_HELPER_3(vfp_subd, f64, f64, f64, ptr)
|
||||
DEF_HELPER_3(vfp_muls, f32, f32, f32, ptr)
|
||||
DEF_HELPER_3(vfp_muld, f64, f64, f64, ptr)
|
||||
DEF_HELPER_3(vfp_divs, f32, f32, f32, ptr)
|
||||
DEF_HELPER_3(vfp_divd, f64, f64, f64, ptr)
|
||||
DEF_HELPER_1(vfp_negs, f32, f32)
|
||||
DEF_HELPER_1(vfp_negd, f64, f64)
|
||||
DEF_HELPER_1(vfp_abss, f32, f32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue