Re: [Qemu-devel] [PATCH v2 06/27] int128: Use complex numbers if advisable

2016-07-04 Thread Peter Maydell
On 1 July 2016 at 18:04, Richard Henderson wrote: > If __int128 is not supported, prefer a base type that is > returned in registers rather than memory. So which host architectures does this improve? 128 bit integers are nothing to do with complex numbers, so we ought to have a strong justificati

Re: [Qemu-devel] [PATCH v2 06/27] int128: Use complex numbers if advisable

2016-07-04 Thread Paolo Bonzini
On 01/07/2016 19:04, Richard Henderson wrote: > If __int128 is not supported, prefer a base type that is > returned in registers rather than memory. > > Signed-off-by: Richard Henderson > --- > include/qemu/int128.h | 110 > +++--- > 1 file changed,

[Qemu-devel] [PATCH v2 06/27] int128: Use complex numbers if advisable

2016-07-01 Thread Richard Henderson
If __int128 is not supported, prefer a base type that is returned in registers rather than memory. Signed-off-by: Richard Henderson --- include/qemu/int128.h | 110 +++--- 1 file changed, 69 insertions(+), 41 deletions(-) diff --git a/include/qemu/int