]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: mark NOT as an op that doesn't clobber flags on i386/AMD64
authorJake Ciolek <jakub@ciolek.dev>
Sat, 9 Oct 2021 15:57:06 +0000 (17:57 +0200)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sat, 9 Oct 2021 17:34:04 +0000 (17:34 +0000)
commitba2c9fef035da3ef93e0eb0dbf4d583663829139
tree1e7a7185c6bbe3b5ce4d2893750859000e37f97a
parenteba91e83b05f146892aec8922615e77b6496d886
cmd/compile: mark NOT as an op that doesn't clobber flags on i386/AMD64

NOT does not affect any FLAGS register values on i386/AMD64 so we do not
need to mark it as an Op that clobbers them.

Change-Id: I6d99cad49cfa2568b01e58190256582b18fb3b7b
Reviewed-on: https://go-review.googlesource.com/c/go/+/354831
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/gen/386Ops.go
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/opGen.go