(for fp-typed results) or the integer indefinite value (the
minimum representable signed integer value, for int-typed results).
For the non-quiet comparison operations, this touches adjacent code in
order to pass style checks.
Signed-off-by: Andrew Dutcher <and...@andrewdutcher.com>
---
Ver
cing the original
first line...
On Tue, Aug 16, 2016 at 3:59 PM, Andrew Dutcher
<and...@andrewdutcher.com> wrote:
> I explicitly left the check off the comparison operations because I
> misread the NaN check as something equivalent to the check I would be
> adding. I'll add it shortly.
>
.
Thanks,
- Andrew
On Tue, Aug 16, 2016 at 6:34 AM, Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 15 August 2016 at 23:27, Andrew Dutcher <and...@andrewdutcher.com> wrote:
>> All operations that take a floatx80 as an operand need to have their
>> inputs chec
(for fp-typed results) or the integer indefinite value (the
minimum representable signed integer value, for int-typed results).
Signed-off-by: Andrew Dutcher <and...@andrewdutcher.com>
---
Version 4: Remove comments, since apparently it's still 1998. If anyone wants
to know what the
(for fp-typed results) or the integer indefinite value (the
minimum representable signed integer value, for int-typed results).
Signed-off-by: Andrew Dutcher <and...@andrewdutcher.com>
---
Version 3: Move from a control-flow macro to an explicit inline return,
add check to all the conv
Signed-off-by: Andrew Dutcher <and...@andrewdutcher.com>
---
fpu/softfloat-specialize.h | 12
fpu/softfloat.c| 11 +++
include/fpu/softfloat.h| 13 +
3 files changed, 36 insertions(+)
diff --git a/fpu/softfloat-specialize.h b/fpu/sof
The macro require_valid_floatx80(value, status) will check for malformed
extended precision encodings, and if one is found, generate an
invalid-operation exception and return NaN. This check has been added to
the beginning of the basic 80-bit float arithmetic functions.
Signed-off-by: Andrew
Alright! I'll test that new patch and submit it.
Thanks,
- Andrew
On Fri, Aug 12, 2016 at 4:01 AM, Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 10 August 2016 at 04:35, Andrew Dutcher <andrewrdutc...@gmail.com> wrote:
>> Hello!
>>
>> I ran into
Hello!
I ran into an issue where qemu (specifically, the unicorn engine)
would hang forever in the middle of the emulated square root
instruction under certain circumstances. I eventually tracked the
issue down to the square root of an "unnormal" long double, one
without the integer part bit set.