]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: used TESTL instead of TESTQ for cpu feature flag detection
authorKeith Randall <khr@golang.org>
Sat, 9 Oct 2021 22:17:03 +0000 (15:17 -0700)
committerKeith Randall <khr@golang.org>
Sun, 10 Oct 2021 15:11:26 +0000 (15:11 +0000)
commitd2d21d98e4f9181f92f3d484623ed4153444877c
treee9ed7276f627c41ae2bc847729381928641f089c
parentb99abf3cce16721d79351c92031239a27fec3d22
cmd/compile: used TESTL instead of TESTQ for cpu feature flag detection

Uses one less byte when encoded. Performance is unchanged.

Change-Id: If400c9c9fc07a033e5ae9bf975ec512e432f7825
Reviewed-on: https://go-review.googlesource.com/c/go/+/354949
Trust: Keith Randall <khr@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go