mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: convert CCop arm64 rules to typed aux
Passes GOARCH=arm64 gotip build -toolexec 'toolstash -cmp' -a std Change-Id: Id88141dfc0dfb02c3e958e48ab4adfbac7ba1380 Reviewed-on: https://go-review.googlesource.com/c/go/+/230837 Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
parent
f2163c4d45
commit
c8b42f9aa5
4 changed files with 204 additions and 198 deletions
|
|
@ -688,6 +688,10 @@ func s390xRotateParamsToAux(r s390x.RotateParams) interface{} {
|
|||
return r
|
||||
}
|
||||
|
||||
func cCopToAux(o Op) interface{} {
|
||||
return o
|
||||
}
|
||||
|
||||
// uaddOvf reports whether unsigned a+b would overflow.
|
||||
func uaddOvf(a, b int64) bool {
|
||||
return uint64(a)+uint64(b) < uint64(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue