On Fri, Sep 25, 2020 at 4:03 PM Ryan Keppel <ryan.kepp...@gmail.com> wrote: > > Does golang generate the SSE2 over the x87 floating point instructions on > x64? In Java terms, it's always using strictfp? You could check the assembly > I suppose.
On amd64 the Go compiler uses SSE2. It does not use x87. However, the Go compiler is not quite like Java strictfp, as the Go compiler will use instructions like fma that do not round precisely as strictfp requires. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXVUhQzhtz7zb-gR4%3DL9v4mzOv%2Brif6bS%2Bep3NV8r3fSA%40mail.gmail.com.