]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't use duffzero on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Wed, 24 Feb 2016 18:00:10 +0000 (19:00 +0100)
committerDavid du Colombier <0intro@gmail.com>
Wed, 24 Feb 2016 18:05:10 +0000 (18:05 +0000)
commit039d455f9d3d5d5109424f15d86b7f9b63768b42
tree17c9cf2621bfb13bf4fbccef412dfe9e47d5a28d
parenta8589312004157de09677e182c3c77399f2d628d
cmd/compile: don't use duffzero on Plan 9

In CL 14408, the implementation of duffzero on amd64
was changed to replace the use of the MOVQ instructions
by MOVUPS.

However, it broke the build on plan9/amd64, since
Plan 9 doesn't allow floating point in note handler.

This change disables the use of duffzero on Plan 9.
We also take care to not use the MOVUPS instruction.

Fixes #14471.

Change-Id: I8277b485dfe65a68d7d8338e52a048c5d45069bf
Reviewed-on: https://go-review.googlesource.com/19890
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/amd64/ggen.go