diff options
| author | Ben Shi <powerman1st@163.com> | 2018-10-16 04:02:03 +0000 |
|---|---|---|
| committer | Ben Shi <powerman1st@163.com> | 2018-10-16 07:17:02 +0000 |
| commit | 3785be3093ef8a8ea3c71ff9608451de1ad85db8 (patch) | |
| tree | 5c77f2178d8a7f3e9777ca71b138fd7d2e2105db /test/codegen/floats.go | |
| parent | 7f3313133ee3e40515aa99d3618b8e5eafed42d6 (diff) | |
| download | go-3785be3093ef8a8ea3c71ff9608451de1ad85db8.tar.xz | |
test/codegen: fix confusing test cases
ARMv7's MULAF/MULSF/MULAD/MULSD are not fused,
this CL fixes the confusing test cases.
Change-Id: I35022e207e2f0d24a23a7f6f188e41ba8eee9886
Reviewed-on: https://go-review.googlesource.com/c/142439
Run-TryBot: Ben Shi <powerman1st@163.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Akhil Indurti <aindurti@gmail.com>
Reviewed-by: Giovanni Bajo <rasky@develer.com>
Diffstat (limited to 'test/codegen/floats.go')
| -rw-r--r-- | test/codegen/floats.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/codegen/floats.go b/test/codegen/floats.go index 847959c42e..c20f6984bf 100644 --- a/test/codegen/floats.go +++ b/test/codegen/floats.go @@ -72,7 +72,6 @@ func indexStore(b0 []float64, b1 float64, idx int) { func FusedAdd32(x, y, z float32) float32 { // s390x:"FMADDS\t" // ppc64le:"FMADDS\t" - // arm/7:"MULAF" // arm64:"FMADDS" return x*y + z } @@ -84,7 +83,6 @@ func FusedSub32_a(x, y, z float32) float32 { } func FusedSub32_b(x, y, z float32) float32 { - // arm/7:"MULSF" // arm64:"FMSUBS" return z - x*y } @@ -92,7 +90,6 @@ func FusedSub32_b(x, y, z float32) float32 { func FusedAdd64(x, y, z float64) float64 { // s390x:"FMADD\t" // ppc64le:"FMADD\t" - // arm/7:"MULAD" // arm64:"FMADDD" return x*y + z } @@ -104,7 +101,6 @@ func FusedSub64_a(x, y, z float64) float64 { } func FusedSub64_b(x, y, z float64) float64 { - // arm/7:"MULSD" // arm64:"FMSUBD" return z - x*y } |
