[qfcc] Set all the commutativity flags

Including anti-commutativity. I hadn't set them before because I was
uncertain and got conflicting answers, but when I took a look again, it
seems IEEE 754 does guarantee commutativity for multiplication and
addition, so long as NaN isn't involved (and then it seems to be because
`a==a` is always false when a is a NaN).
This commit is contained in:
Bill Currie 2024-09-30 19:18:55 +09:00
parent eade7e9a85
commit a97fc8154a

View file

@ -58,6 +58,11 @@ options_t options = {
.code = {
.fast_float = true,
.promote_float = true,
.commute_float_add = true,
.commute_float_mul = true,
.commute_float_dot = true,
.anticom_float_cross = true,
.anticom_float_sub = true,
},
.warnings = {
.uninited_variable = true,