target/arm/vfp_helper: Call set_fpscr_to_host before updating to FPSCR
In commit
e9d652824b0 we extracted the vfp_set_fpscr_to_host()
function but failed at calling it in the correct place, we call
it after xregs[ARM_VFP_FPSCR] is modified.
Fix by calling this function before we update FPSCR.
Reported-by: Laurent Desnogues <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Laurent Desnogues <[email protected]>
Tested-by: Laurent Desnogues <[email protected]>
Message-id:
20190705124318[email protected]
Signed-off-by: Peter Maydell <[email protected]>