diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2019-07-11 10:56:23 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2019-07-12 09:55:12 +0200 |
commit | 83deaa4b3a164423254008d8594de99edc491c3b (patch) | |
tree | 6f532296f067acd5a0b528950d10eb8733c13de3 /flocq/IEEE754 | |
parent | a8c84a5270b7620c6555e58d0338afd9405bc2b2 (diff) | |
download | compcert-83deaa4b3a164423254008d8594de99edc491c3b.tar.gz compcert-83deaa4b3a164423254008d8594de99edc491c3b.zip |
Revised specification of NaN payload behavior
When an FP arithmetic instruction produces a NaN result, the payload
of this NaN depends on the architecture.
Before, the payload behavior was specified by 3 architecture-dependent
parameters: `Archi.choose_binop_pl_64` and `Archi.choose_binop_pl_32`
and `Archi.fpu_results_default_qNaN`. This was adequate for
two-argument operations, but doesn't extend to FMA.
In preparation for FMA support, this commit generalizes the `Archi.choose`
functions from two arguments to any number of arguments. In passing,
`Archi.fpu_results_default_qNaN` is no longer needed.
Diffstat (limited to 'flocq/IEEE754')
0 files changed, 0 insertions, 0 deletions