fast math flags question

Hi,

I’ve noticed that the lang ref defines 5 operations (fadd, fsub, fmul, fdiv, frem) that can use the fast-math flags.

But when setting the flags in code, the only check is isa(instruction), which returns true for any instruction that returns float.

Should I really be able to set the flags for operations which were not mentioned in the langref?

Thanks,

Guy

Those bits are reserved for fast math flags in all floating point operations, though they only are relevant for binary ops. The setting is safe, but we could have an assert if desired.