-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/compile: plan9-amd64-9front builder failing in TestFma #35063
Comments
A floating-point panic occurs on a call to the Fma function because of the following instruction sequence:
The comparison of runtime.x86HasFMA with 0 returns false, indicating that the instruction is present. The instruction at
The floating-point panic is a result of executing the |
We usually disable SSE instructions on Plan 9 because FP aren't allowed in note handler. I think we should disable FMA on Plan 9. |
Sounds good to me. I'll send a CL shortly. |
Look at how |
Given that the
Can't I just change it to
This will cause feature detection to fail and default to the software fallback. |
I think it's better to keep the compiler configuration separate from the CPU feature detection. That's what we did for SSE. |
I think you can send a CL with your initial idea. |
I sent CL https://go-review.googlesource.com/c/go/+/202617 which introduces a UseFMA flag to ssa.Config, and checks it in addF to call the software fallback on AMD64. |
Change https://golang.org/cl/202617 mentions this issue: |
@0intro Is the plan9-amd64-9front builder down? I don't see it on the dashboard, and the trybot has been stuck on wait_static_builder. |
@smasher164 Sorry, the builder is back online. |
Since CL 137156
(https://build.golang.org/log/9c5e9a06aa97d909dc1ef2e2edca437e7a320e7e) the builder has been failing in
TestFma
inmath
package:CC @0intro
@gopherbot please add label OS-Plan9, NeedsInvestigation
The text was updated successfully, but these errors were encountered: