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
package main type Foo struct { a bool } var f Foo var x int = 2 func main() { f.a = x <= 4 }
Code generated for main:
main.go:11 0x104bfe4 4883f804 CMPQ $0x4, AX main.go:11 0x104bfe8 0f9ec0 SETLE AL main.go:11 0x104bfeb 8844240f MOVB AL, 0xf(SP)
should be:
CMPQ $0x4, AX SETLE 0xf(SP)
more compact, and saves one register.
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/67950 mentions this issue: cmd/compile/internal/amd64: add SETccmem
cmd/compile/internal/amd64: add SETccmem
Sorry, something went wrong.
6b8a3c8
No branches or pull requests
Code generated for main:
should be:
more compact, and saves one register.
The text was updated successfully, but these errors were encountered: