some symbolic instructions are failing
see:
https://github.com/OCamlPro/owi/pull/96#discussion_r1452692529 https://github.com/OCamlPro/owi/pull/96#discussion_r1452692882 https://github.com/OCamlPro/owi/pull/96#discussion_r1452693000
After #151 PR, instructions have been implemented. However, it remains (non-exhaustive, in actual scope) :
f32.copysignhttps://github.com/OCamlPro/owi/blob/4e3a35f73a74b826f0fcfc25f0551296ca110de1/test/sym/binop_f32.wat#L39f64.copysignhttps://github.com/OCamlPro/owi/blob/4e3a35f73a74b826f0fcfc25f0551296ca110de1/test/sym/binop_f64.wat#L39f32.trunchttps://github.com/OCamlPro/owi/blob/4e3a35f73a74b826f0fcfc25f0551296ca110de1/test/sym/unop_f32.wat#L35f64.trunchttps://github.com/OCamlPro/owi/blob/4e3a35f73a74b826f0fcfc25f0551296ca110de1/test/sym/unop_f64.wat#L35
cc @filipeom, I believe these are the last (hopefully) missing instructions in encoding :sweat_smile:
I think I added trunc, copysign can probably be implemented without an encoding operator. I can take a look at these when I get more free time :smiley:
@epatrizio could you do a PR where you re-enable the trunc tests then ? :)
Thanks! Do you want to try implementing copysign in Owi directly too ? This should not be too hard.
This has actually been fixed, thanks @epatrizio ! :)
@filipeom, for now copy_sign is implemented in Owi, if you think it would make sense to have it directly in encoding, feel free to copy-paste the implementation (and to patch Owi to use the one from encoding :-)).