We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When emitting the code to handle x / -1 on amd64, we should use the size-appropriate negation operation. For example, NEGL for DIVL.
x / -1
This probably also means using NEGW for DIVW, which might also apply to the 386 backend?
Fixing this should allow reverting https://go-review.googlesource.com/c/go/+/85736. See also #23305.
/cc @TocarIP @cherrymui
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/96815 mentions this issue: cmd/compile/internal/amd64: use appropriate NEG for div
cmd/compile/internal/amd64: use appropriate NEG for div
Sorry, something went wrong.
f4d9c30
No branches or pull requests
When emitting the code to handle
x / -1
on amd64, we should use the size-appropriate negation operation. For example, NEGL for DIVL.This probably also means using NEGW for DIVW, which might also apply to the 386 backend?
Fixing this should allow reverting https://go-review.googlesource.com/c/go/+/85736. See also #23305.
/cc @TocarIP @cherrymui
The text was updated successfully, but these errors were encountered: