[RFC PATCH 2/8] softfloat: Use int128.h for some operations

2020-10-20 Thread Alex Bennée
From: Richard Henderson Use our Int128, which wraps the compiler's __int128_t, instead of open-coding left shifts and arithmetic. We'd need to extend Int128 to have unsigned operations to replace more than these three. Reviewed-by: David Hildenbrand Signed-off-by: Richard Henderson Signed-off-

Re: [PATCH 2/8] softfloat: Use int128.h for some operations

2020-09-24 Thread David Hildenbrand
On 24.09.20 03:24, Richard Henderson wrote: > Use our Int128, which wraps the compiler's __int128_t, > instead of open-coding left shifts and arithmetic. > We'd need to extend Int128 to have unsigned operations > to replace more than these three. > > Signed-off-by: Richard Henderson > --- > incl

[PATCH 2/8] softfloat: Use int128.h for some operations

2020-09-23 Thread Richard Henderson
Use our Int128, which wraps the compiler's __int128_t, instead of open-coding left shifts and arithmetic. We'd need to extend Int128 to have unsigned operations to replace more than these three. Signed-off-by: Richard Henderson --- include/fpu/softfloat-macros.h | 39 +---