]> Cypherpunks repositories - gostls13.git/commit
runtime: don't use duffcopy on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Mon, 5 Oct 2015 21:16:51 +0000 (23:16 +0200)
committerDavid du Colombier <0intro@gmail.com>
Tue, 6 Oct 2015 19:06:11 +0000 (19:06 +0000)
commit50ad3372383a8d47804a213b870eb32e251ca18b
treea7becc5b6709e1cd30a20196305985fcd8d00989
parente4add8d569d3152a461dbdf6e086dd60c8ca6c27
runtime: don't use duffcopy on Plan 9

In CL 14836, the implementation of duffcopy 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 duffcopy on Plan 9.

Fixes #12829.

Change-Id: Ifd5b17b17977a1b631b16c3dfe2dc7ab4ad00507
Reviewed-on: https://go-review.googlesource.com/15421
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/amd64/cgen.go