diff options
| author | Alberto Donizetti <alb.donizetti@gmail.com> | 2018-03-29 21:46:28 +0200 |
|---|---|---|
| committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2018-03-29 20:05:40 +0000 |
| commit | 56eaf574a1f33a8e25561f256158059cc41a2add (patch) | |
| tree | 6524bc20d876d073824f4cbe9164e27e337948c2 /test/codegen | |
| parent | aacf7a1846f56db248bd558f33859291d0b1823e (diff) | |
| download | go-56eaf574a1f33a8e25561f256158059cc41a2add.tar.xz | |
test/codegen: match 387 ops too for GOARCH=386
Change-Id: I99407e27e340689009af798989b33cef7cb92070
Reviewed-on: https://go-review.googlesource.com/103376
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/codegen')
| -rw-r--r-- | test/codegen/floats.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/codegen/floats.go b/test/codegen/floats.go index e397518471..cab63488f4 100644 --- a/test/codegen/floats.go +++ b/test/codegen/floats.go @@ -15,7 +15,7 @@ package codegen // --------------------- // func Mul2(f float64) float64 { - // 386:"ADDSD",-"MULSD" + // 386:"ADDSD|FADDDP",-"MULSD",-"FMULDP" // amd64:"ADDSD",-"MULSD" // arm:"ADDD",-"MULD" // arm64:"FADDD",-"FMULD" @@ -23,19 +23,19 @@ func Mul2(f float64) float64 { } func DivPow2(f1, f2, f3 float64) (float64, float64, float64) { - // 386:"MULSD",-"DIVSD" + // 386:"MULSD|FMULDP",-"DIVSD",-"FDIVDP" // amd64:"MULSD",-"DIVSD" // arm:"MULD",-"DIVD" // arm64:"FMULD",-"FDIVD" x := f1 / 16.0 - // 386:"MULSD",-"DIVSD" + // 386:"MULSD|FMULDP",-"DIVSD",-"FDIVDP" // amd64:"MULSD",-"DIVSD" // arm:"MULD",-"DIVD" // arm64:"FMULD",-"FDIVD" y := f2 / 0.125 - // 386:"ADDSD",-"DIVSD",-"MULSD" + // 386:"ADDSD|FADDDP",-"DIVSD",-"MULSD",-"FDIVDP",-"FMULDP" // amd64:"ADDSD",-"DIVSD",-"MULSD" // arm:"ADDD",-"MULD",-"DIVD" // arm64:"FADDD",-"FMULD",-"FDIVD" |
