diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2020-07-03 17:02:47 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2020-08-21 12:48:14 -0700 |
commit | fbcc38e4cb1b539b8615ec9b0adc285351d77628 (patch) | |
tree | 48987e869ba351999cfb5ee61754f446de6882e5 /target/xtensa | |
parent | 913602e3ffe6bf50b869a14028a55cb267645ba3 (diff) | |
download | qemu-fbcc38e4cb1b539b8615ec9b0adc285351d77628.zip qemu-fbcc38e4cb1b539b8615ec9b0adc285351d77628.tar.gz qemu-fbcc38e4cb1b539b8615ec9b0adc285351d77628.tar.bz2 |
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 'target/xtensa')
0 files changed, 0 insertions, 0 deletions