]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove a false dependency for TZCNT
authornimelehin <nimelehin@gmail.com>
Mon, 6 Dec 2021 15:46:25 +0000 (18:46 +0300)
committerKeith Randall <khr@golang.org>
Thu, 31 Mar 2022 19:39:37 +0000 (19:39 +0000)
commit96081f854547353caaa77b795974f76b24572493
tree99a2b461af78cf274c6d16433eeed87796f84818
parent9743fdd097171cada6231503974209edc5400ee8
cmd/compile: remove a false dependency for TZCNT

LZCNT/TZCNT on some Intel CPUs suffer from a false dependency on
the destination register.

The problem was mentioned in the GCC Ticket: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62011#c7
and fixed with https://gcc.gnu.org/viewcvs?rev=214112&root=gcc&view=rev

Change-Id: I8109e84f03ac85f221b06d3b913612b58320d151
Reviewed-on: https://go-review.googlesource.com/c/go/+/369019
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Alex Rakoczy <alex@golang.org>
Run-TryBot: Alex Rakoczy <alex@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/amd64/ssa.go