]> Cypherpunks repositories - gostls13.git/commit
test: add memcombine testcases for ppc64
authorLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 4 May 2023 14:42:58 +0000 (09:42 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 8 May 2023 16:50:23 +0000 (16:50 +0000)
commitbc3bdfa977628cfa2c6079eef71fab3e8d923d59
tree60446479f791131c14ed8f54eaf8ed3b30c4be69
parent77b1f23af70eb6e02b4d2f5ad18e462b86156971
test: add memcombine testcases for ppc64

Thanks to the recent addition of the memcombine pass, the
ppc64 ports now have the memcombine optimizations. Previously
in PPC64.rules, the memcombine rules were only added for
ppc64le targets due to the significant increase in size of
the rewritePPC64.go file when those rules were added. The
ppc64 and ppc64le rules had to be different because of the
byte order due to endianness differences.

This enables the memcombine tests to be run on ppc64 as well
as ppc64le.

Change-Id: I4081e2d94617a1b66541d536c0c2662e266c9c1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/492615
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Lynn Boger <laboger@linux.vnet.ibm.com>
test/codegen/memcombine.go