|
From: | Alex Bennée |
Subject: | Re: [PATCH 06/72] softfloat: Move the binary point to the msb |
Date: | Mon, 10 May 2021 14:36:13 +0100 |
User-agent: | mu4e 1.5.13; emacs 28.0.50 |
Richard Henderson <richard.henderson@linaro.org> writes: > 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. > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |