]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix clobberFlags for BSWAP
authorJakub Ciolek <jakub@ciolek.dev>
Thu, 10 Mar 2022 14:35:17 +0000 (15:35 +0100)
committerKeith Randall <khr@golang.org>
Thu, 31 Mar 2022 19:18:14 +0000 (19:18 +0000)
commit913ecf492d99801eefdebd7eb6773a5ea98107f8
treeae6de0af0d7e8757bdcdd501ef1ff0e76303d025
parentc5c66d78b21074c562ece01d6682d4a499815786
cmd/compile: fix clobberFlags for BSWAP

BSWAP does not affect EFLAGS on neither 386 nor x64. Set the clobberFlags value accordingly.

Change-Id: Ib9e88400607fea44bb51fe95dc4d77e7cb54bfec
Reviewed-on: https://go-review.googlesource.com/c/go/+/391494
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/ssa/gen/386Ops.go
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/opGen.go