diff options
author | Max Filippov | 2020-07-04 02:02:47 +0200 |
---|---|---|
committer | Max Filippov | 2020-08-21 21:48:14 +0200 |
commit | fbcc38e4cb1b539b8615ec9b0adc285351d77628 (patch) | |
tree | 48987e869ba351999cfb5ee61754f446de6882e5 /include | |
parent | softfloat: pass float_status pointer to pickNaN (diff) | |
download | qemu-fbcc38e4cb1b539b8615ec9b0adc285351d77628.tar.gz qemu-fbcc38e4cb1b539b8615ec9b0adc285351d77628.tar.xz qemu-fbcc38e4cb1b539b8615ec9b0adc285351d77628.zip |
softfloat: add xtensa specialization for pickNaNMulAdd
pickNaNMulAdd logic on Xtensa is to apply pickNaN to the inputs of the
expression (a * b) + c. However if default NaN is produces as a result
of (a * b) calculation it is not considered when c is NaN.
So with two pickNaN variants there must be two pickNaNMulAdd variants.
In addition the invalid flag is always set when (a * b) produces NaN.
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions