[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_enc
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_encoding() for m68k |
Date: |
Mon, 30 Jan 2017 19:15:37 +0000 |
On 30 January 2017 at 18:16, Laurent Vivier <address@hidden> 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 <address@hidden>
Part of the reason these checks are here is that the code
behind them doesn't always cope nicely with the invalid
encodings.
https://lists.nongnu.org/archive/html/qemu-devel/2016-08/msg01991.html
has an x86 test case for certain sqrt inputs that cause
the floatx80_sqrt() function to go into an infinite loop,
for instance.
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?).
thanks
-- PMM
- [Qemu-devel] [PATCH v2 00/16] target-m68k: implement 680x0 FPU, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 01/16] softfloat: define 680x0 specific values, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_encoding() for m68k, Laurent Vivier, 2017/01/30
- Re: [Qemu-devel] [PATCH v2 02/16] softloat: disable floatx80_invalid_encoding() for m68k,
Peter Maydell <=
- [Qemu-devel] [PATCH v2 04/16] target-m68k: define ext_opsize, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 07/16] target-m68k: manage FPU exceptions, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 03/16] target-m68k: move FPU helpers to fpu_helper.c, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 13/16] target-m68k: add fsglmul and fsgldiv, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 08/16] target-m68k: define 96bit FP registers for gdb on 680x0, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 06/16] target-m68k: add FPCR and FPSR, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 10/16] target-m68k: add fscc., Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 09/16] target-m68k: add fmovem, Laurent Vivier, 2017/01/30
- [Qemu-devel] [PATCH v2 12/16] target-m68k: add fscale, fgetman, fgetexp and fmod, Laurent Vivier, 2017/01/30