• smasher164's avatar
    cmd/compile: don't use FMA on plan9 · 03fb1f60
    smasher164 authored
    CL 137156 introduces an intrinsic on AMD64 that executes vfmadd231sd
    when feature detection is successful. However, because floating-point
    isn't allowed in note handler, the builder disables SSE instructions,
    and fails when attempting to execute this instruction. This change
    disables FMA on plan9 to immediately use the software fallback.
    
    Fixes #35063.
    
    Change-Id: I87d8f0995bd2f15013d203e618938f5079c9eed2
    Reviewed-on: https://go-review.googlesource.com/c/go/+/202617Reviewed-by: default avatarKeith Randall <khr@golang.org>
    03fb1f60
config.go 11.1 KB