Skip to content
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: rules change to use ANDN more effectively on ppc64x #18918

Closed
laboger opened this issue Feb 3, 2017 · 1 comment
Closed

cmd/compile: rules change to use ANDN more effectively on ppc64x #18918

laboger opened this issue Feb 3, 2017 · 1 comment

Comments

@laboger
Copy link
Contributor

laboger commented Feb 3, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go tip

What operating system and processor architecture are you using (go env)?

Ubuntu 16.04

What did you do?

Inspected generated code for some crypto functions to look for code generation improvement opportunities. Found some cases where two instructions (not, and) were being generated when it should be a single instruction ANDN (andc).

Changes to PPC64.rules and a few other corresponding files allows more efficient code to be generated.

@gopherbot
Copy link

CL https://golang.org/cl/36218 mentions this issue.

@golang golang locked and limited conversation to collaborators Feb 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants