On 9 September 2012 16:14, Max Filippov wrote:
> On Sun, Sep 9, 2012 at 4:13 PM, Max Filippov wrote:
>> On Sun, Sep 9, 2012 at 1:31 PM, Peter Maydell
>> wrote:
>>> the Xtensa ISA it says it doesn't have signaling NaNs. Maybe
>>> it would be better to have a define for NO_SIGNALING_NANS
>>> whic
On Sun, Sep 9, 2012 at 4:13 PM, Max Filippov wrote:
> On Sun, Sep 9, 2012 at 1:31 PM, Peter Maydell
> wrote:
>> the Xtensa ISA it says it doesn't have signaling NaNs. Maybe
>> it would be better to have a define for NO_SIGNALING_NANS
>> which made float*_is_signaling_nan() always return false an
On Sun, Sep 9, 2012 at 1:31 PM, Peter Maydell wrote:
> On 9 September 2012 02:29, Max Filippov wrote:
>> @@ -262,9 +263,13 @@ float32 float32_maybe_silence_nan( float32 a_ )
>> #error Rules for silencing a signaling NaN are target-specific
>> # endif
>> #else
>> +# if defined(TARGET_XTEN
On 9 September 2012 02:29, Max Filippov wrote:
> @@ -262,9 +263,13 @@ float32 float32_maybe_silence_nan( float32 a_ )
> #error Rules for silencing a signaling NaN are target-specific
> # endif
> #else
> +# if defined(TARGET_XTENSA)
> +return a_;
> +# else
> uint32_t a =
NaN propagation rule: leftmost NaN in the expression gets propagated to
the result.
Signed-off-by: Max Filippov
---
fpu/softfloat-specialize.h |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.h
index 4902450..9