]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add mul by ±2ⁿ code-generation tests for arm/arm64
authorAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 3 Nov 2017 10:11:27 +0000 (11:11 +0100)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Sat, 4 Nov 2017 10:28:27 +0000 (10:28 +0000)
commit33a9f01729cb88b80f915ae6d2ae9779106b9f0c
tree74124acedbe25ee98ac3dafcbc8819bd3176f4be
parent09660450394657510880197974d5ccfabd7bef8b
cmd/compile: add mul by ±2ⁿ code-generation tests for arm/arm64

This change adds code generation tests for multiplication by ±2ⁿ for
arm and arm64, in preparation for a future CL which will remove the
relevant architecture-specific SSA rules (the reduction is already
performed by rules in generic.rules added in CL 36323).

Change-Id: Iebdd5c3bb2fc632c85888569ff0c49f78569a862
Reviewed-on: https://go-review.googlesource.com/75752
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/asm_test.go