]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't reserve X15 for float sub/div any more
authorKeith Randall <khr@golang.org>
Wed, 31 Aug 2016 19:35:32 +0000 (12:35 -0700)
committerKeith Randall <khr@golang.org>
Wed, 31 Aug 2016 20:35:49 +0000 (20:35 +0000)
commitcc0248aea53b252ec5c0e1c57e32edb102bc36fe
tree1c9e08afdef9ff70fa57bc6222b3e7a275492aeb
parent33bb597d859e6d98b4abb27592cb925753764136
cmd/compile: don't reserve X15 for float sub/div any more

We used to reserve X15 to implement the 3-operand floating-point
sub/div ops with the 2-operand sub/div that 386/amd64 gives us.

Now that resultInArg0 is implemented, we no longer need to
reserve X15 (X7 on 386).

Fixes #15584

Change-Id: I978e6c0a35236e89641bfc027538cede66004e82
Reviewed-on: https://go-review.googlesource.com/28272
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/gen/386Ops.go
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/opGen.go