Re: [Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_encoding() for m68k

2017-01-30 Thread Andreas Schwab
On Jan 30 2017, Peter Maydell wrote: > I guess we need to look more carefully at exactly what the > m68k does for these encodings (maybe have a 'normalize value' > function which squashes them down to whatever the equivalent > non-weird encoding is?). On the m68k, the

Re: [Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_encoding() for m68k

2017-01-30 Thread Peter Maydell
On 30 January 2017 at 18:16, Laurent Vivier wrote: > According to the comment, this definition of invalid encoding is given > by intel developer's manual, and doesn't work with the behavior > of 680x0 FPU. > > Signed-off-by: Laurent Vivier Part of the

[Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_encoding() for m68k

2017-01-30 Thread Laurent Vivier
According to the comment, this definition of invalid encoding is given by intel developer's manual, and doesn't work with the behavior of 680x0 FPU. Signed-off-by: Laurent Vivier --- fpu/softfloat.c | 20 include/fpu/softfloat.h | 15