]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use power5 instructions for uint64 to float casts
authorMichael Munday <munday@ca.ibm.com>
Thu, 16 Jun 2016 22:12:48 +0000 (18:12 -0400)
committerMichael Munday <munday@ca.ibm.com>
Fri, 17 Jun 2016 19:15:29 +0000 (19:15 +0000)
commitf3d54789f764f0f6dba1d2f12ad01986d66ea31c
tree0684eba87a9696428df70ee56d68cae34bcb429d
parent9e8fa1e99c2003cee53a6630aea9d8a3627492ab
cmd/compile: use power5 instructions for uint64 to float casts

Use the same technique as mips64 for these casts (CL 22835).

We could use the FCFIDU instruction for ppc64le however it seems
better to keep it the same as ppc64 for now.

Updates #15539, updates #16004.

Change-Id: I550680e485327568bf3238c4615a6cc8de6438d7
Reviewed-on: https://go-review.googlesource.com/24191
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ppc64/gsubr.go