diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-06-28 17:15:33 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-06-29 15:28:24 +0100 |
commit | 7e8fafbfd0537937ba8fb366a90ea6548cc31576 (patch) | |
tree | 099911fa5407f3cbd681565b1d02d2a68043b141 /target/arm/cpu64.c | |
parent | b3141c0625a18d35c45c175a20826271b3241d92 (diff) |
target/arm: Fix SVE signed division vs x86 overflow exception
We already check for the same condition within the normal integer
sdiv and sdiv64 helpers. Use a slightly different formation that
does not require deducing the expression type.
Fixes: f97cfd596ed
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20180629001538.11415-2-richard.henderson@linaro.org
[PMM: reworded a comment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu64.c')
0 files changed, 0 insertions, 0 deletions