diff options
| author | Richard Henderson | 2020-11-07 20:19:32 +0100 |
|---|---|---|
| committer | Richard Henderson | 2021-05-16 14:13:51 +0200 |
| commit | e99c43735a413e2566b4ad36eeda6dd061a9b939 (patch) | |
| tree | 0e157940b3c7c2e7b175004dd3f7c9005f9840fe /include | |
| parent | tests/fp: add quad support to the benchmark utility (diff) | |
| download | qemu-e99c43735a413e2566b4ad36eeda6dd061a9b939.tar.gz qemu-e99c43735a413e2566b4ad36eeda6dd061a9b939.tar.xz qemu-e99c43735a413e2566b4ad36eeda6dd061a9b939.zip | |
softfloat: Move the binary point to the msb
Rather than point the binary point at msb-1, put it at the msb.
Use uadd64_overflow to detect when addition overflows instead
of DECOMPOSED_OVERFLOW_BIT.
This reduces the number of special cases within the code, such
as shifting an int64_t either left or right during conversion.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
