]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix register masks of ANDCC et al. on PPC64
authorCherry Zhang <cherryyz@google.com>
Mon, 23 Sep 2019 20:16:04 +0000 (16:16 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 23 Sep 2019 21:16:33 +0000 (21:16 +0000)
commit55924135eed3b607ccbe4725900de797b51757f9
treec94ea55513f67ce2f0882025b9b699211884ca49
parent376fc48338bfd05192ebb87cdbca8c0d74d23b6a
cmd/compile: fix register masks of ANDCC et al. on PPC64

PPC64's ANDCC, ORCC, XORCC SSA ops produce a flags value, which
should not have register mask of an integer register.

Fixes #34468.

Change-Id: Ic762e423b20275fd9f8118dae7951c258d59738c
Reviewed-on: https://go-review.googlesource.com/c/go/+/196960
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/gen/PPC64Ops.go
src/cmd/compile/internal/ssa/opGen.go