ocaml-flambda / flambda-backend

The Flambda backend project for OCaml
92 stars 65 forks source link

Use float32 for `float32x4` scalar casts #2710

Open TheNumbat opened 2 weeks ago

TheNumbat commented 2 weeks ago

Updates the following builtins to operate on 32-bit floats:

The new builtins take and return unboxed float32s. This allows us to remove the special cases in the backend for converting to/from 64-bit floats.

The SIMD tests have been updated to reflect the new behavior.