]> Cypherpunks repositories - gostls13.git/commit
test: fix the wrong test of math.Copysign(c, -1) for arm64
authorfanzha02 <fannie.zhang@arm.com>
Wed, 12 Sep 2018 01:43:09 +0000 (01:43 +0000)
committerCherry Zhang <cherryyz@google.com>
Wed, 12 Sep 2018 15:34:20 +0000 (15:34 +0000)
commitd5377c2026b18e1307c6fd243ece98afc6330b71
tree9051a92c06a6412eed37abbc2a65dda4bf2c1624
parentb2fcfc1a50fbd46556f7075f7f1fbf600b5c9e5d
test: fix the wrong test of math.Copysign(c, -1) for arm64

The CL 132915 added the wrong codegen test for math.Copysign(c, -1),
it should test that AND is not emitted. This CL fixes this error.

Change-Id: Ida1d3d54ebfc7f238abccbc1f70f914e1b5bfd91
Reviewed-on: https://go-review.googlesource.com/134815
Reviewed-by: Giovanni Bajo <rasky@develer.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
test/codegen/math.go