diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:56 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:56 +0000 |
| commit | c18a13edceca5419beb6eb703ffad6980d926f3b (patch) | |
| tree | 2eead65a1cd607860bb400d996c02b04ca2c45b2 /rust/qemu-api/src | |
| parent | 8403a5015c5d5ef01792dc5ebf3c10aa5594931f (diff) | |
| download | focaccia-qemu-c18a13edceca5419beb6eb703ffad6980d926f3b.tar.gz focaccia-qemu-c18a13edceca5419beb6eb703ffad6980d926f3b.zip | |
target/microblaze: Move setting of float rounding mode to reset
Although the floating point rounding mode for Microblaze is always nearest-even, we cannot set it just once in the CPU initfn. This is because env->fp_status is in the part of the CPU state struct that is zeroed on reset. Move the call to set_float_rounding_mode() into the reset fn. (This had no guest-visible effects because it happens that the float_round_nearest_even enum value is 0, so when the struct was zeroed it didn't corrupt the setting.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241025141254.2141506-18-peter.maydell@linaro.org
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions