Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: do more optimizations for ARMv6/V7 #19843
More ARMv6 & ARMv7 instructions are already merged into branch master. The compiler can use them to do further optimization.
I have prepared a optimization CL for all these MULA like instructions. But the final form depends on
go1 benchmarks (or any benchmark, really) aren't always useful. Their performance is a useful signal when:
For instance, I suspect the go1 benchmarks never do a 16-bit multiply. So only number 2 is in play.
If you have an optimization you think is useful but doesn't affect the go1 benchmarks, write your own benchmark which is helped by your change.