1
0
mirror of https://github.com/golang/go synced 2024-09-29 01:24:34 -06:00
go/test/codegen
Alberto Donizetti cde34780b7 test/codegen: port math/bits.RotateLeft tests to codegen
Only RotateLeft{64,32} were tested, and just for ppc64. This CL adds
tests for RotateLeft{64,32,16,8} on arm64 and amd64/386, for the cases
where the calls are actually instrinsified.

RotateLeft tests (the last ones for math/bits functions) are deleted
from asm_test.

This CL also adds a space between the "//" and the arch name in the
comments, to uniform this file to the style used in all the other
files.

Change-Id: Ifc2a27261d70bcc294b4ec64490d8367f62d2b89
Reviewed-on: https://go-review.googlesource.com/99596
Reviewed-by: Giovanni Bajo <rasky@develer.com>
2018-03-09 10:53:38 +00:00
..
arithmetic.go test/codegen: port 2^n muls tests to codegen harness 2018-03-08 16:30:14 +00:00
bits.go test/codegen: add copyright headers to new codegen files 2018-03-02 20:13:13 +00:00
issue22703.go test: port a nil-check interface test from asm_test 2018-03-03 20:20:54 +00:00
math.go test: convert all math-related tests from asm_test 2018-03-04 16:52:33 +00:00
mathbits.go test/codegen: port math/bits.RotateLeft tests to codegen 2018-03-09 10:53:38 +00:00
memcombine.go cmd/compile/internal/ssa: improve store combine optimization on arm64 2018-03-06 20:29:04 +00:00
movesmall.go test/codegen: fix issue with arm64 memmove codegen test 2018-03-07 16:41:24 +00:00
rotate.go test: convert all math-related tests from asm_test 2018-03-04 16:52:33 +00:00