]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix wrong comment message in AMD64Ops.go
authorBen Shi <powerman1st@163.com>
Sun, 16 Sep 2018 03:05:35 +0000 (03:05 +0000)
committerBen Shi <powerman1st@163.com>
Tue, 18 Sep 2018 01:24:38 +0000 (01:24 +0000)
commitf082dbfd4f23b0c95ee1de5c2b091dad2ff6d930
treec1c2130ce64dbebfc7bb9e71beacd583ad72d19b
parentd97b11f12fb36ae8117519ee983a8f811360ee1a
cmd/compile: fix wrong comment message in AMD64Ops.go

According to AMD64.rules, BTS&BTR&BTC use arg1 as the bit index,
while BT uses arg0. This CL fixes the wrong comment message in
AMD64Ops.go, which indicates all bit indexes are in arg0.

Change-Id: Idb78f4d39f7ef5ea78065ad8bc651324597e2a8a
Reviewed-on: https://go-review.googlesource.com/135419
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/AMD64Ops.go