Unlike all the other constant-value-creating instructions are bit width polymorphic (eg bconst
, iconst
, vconst
) creating float constants requires using either f32const
or f64const
However, fadd
and fmul
are bit width polymorphic, the same way as how iadd
and imul
are bit width polymorphic
So why don't we have fconst
instead of f{32,64}const
? Is this just an accident of history or something deeper?
I remember asking this same question
It's the formats: unary_ieee32
vs unary_ieee64
but it would be cool if there was a way to decouple the formats a bit more from the instructions
Last updated: Nov 22 2024 at 16:03 UTC