Philippe Mathieu-Daudé 85795187f4 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 <laurent.desnogues@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20190705124318.1075-1-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-07-08 14:11:31 +01:00
..
2019-06-12 13:20:21 +02:00
2019-07-08 10:26:18 +01:00
2019-06-12 13:20:21 +02:00
2019-07-03 21:19:03 +01:00
2019-06-12 13:20:21 +02:00
2019-07-02 07:19:45 +02:00
2019-07-03 00:16:43 +01:00
2019-07-02 07:19:45 +02:00
2019-07-02 07:19:45 +02:00
2019-06-12 13:20:20 +02:00
2019-06-25 15:02:07 +02:00