aboutsummaryrefslogtreecommitdiffstats
path: root/exportclight
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-07-11 10:56:23 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2019-07-12 09:55:12 +0200
commit83deaa4b3a164423254008d8594de99edc491c3b (patch)
tree6f532296f067acd5a0b528950d10eb8733c13de3 /exportclight
parenta8c84a5270b7620c6555e58d0338afd9405bc2b2 (diff)
downloadcompcert-kvx-83deaa4b3a164423254008d8594de99edc491c3b.tar.gz
compcert-kvx-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 'exportclight')
0 files changed, 0 insertions, 0 deletions