-
Notifications
You must be signed in to change notification settings - Fork 18.8k
cmd/compile/internal/ssa: enable unalign memory access optimization on riscv64 #77207
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
base: master
Are you sure you want to change the base?
Conversation
|
This PR (HEAD: a4cf6db) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/736940. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Weihong Qiu: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Jorropo: Patch Set 1: Hold+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Weihong Qiu: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Jorropo: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Weihong Qiu: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Jorropo: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Meng Zhuo: Patch Set 1: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Weihong Qiu: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Jorropo: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Keith Randall: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Weihong Qiu: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
|
Message from Keith Randall: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/736940. |
This PR enables unaligned memory access optimization for RISC-V 64, allowing memcombine to function properly.
Zicclsm is an extension that enables support for misaligned loads and stores, and it is mandatory for RVA20U64, RVA22U64, and RVA23U64 (see https://github.com/riscv/riscv-profiles/blob/main/src/profiles.adoc and https://github.com/riscv/riscv-profiles/blob/main/src/rva23-profile.adoc).