]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't use duffcopy and duffzero on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 3 Mar 2016 18:45:24 +0000 (19:45 +0100)
committerDavid du Colombier <0intro@gmail.com>
Thu, 3 Mar 2016 21:36:11 +0000 (21:36 +0000)
commitd55a099e220ae2d1d9cee861e9750b9f92fcb4fe
treed37837106008b9b16f41aa5d28edb64abe238f80
parent466c948b558cb2eca089577fda2995133531d4ef
cmd/compile: don't use duffcopy and duffzero on Plan 9

The ssa compiler uses the duffcopy and duffzero functions,
which rely on the MOVUPS instructions.

However, this doesn't work on Plan 9, since floating point
operations are not allowed in the note handler.

This change disables the use of duffcopy and duffzero
on Plan 9 in the ssa compiler.

Updates #14605.

Change-Id: I017f8ff83de00eabaf7e146b4344a863db1dfddc
Reviewed-on: https://go-review.googlesource.com/20171
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go