diff options
| author | Paul E. Murphy <murp@ibm.com> | 2021-04-16 15:15:17 -0500 |
|---|---|---|
| committer | Lynn Boger <laboger@linux.vnet.ibm.com> | 2021-04-22 17:02:01 +0000 |
| commit | d4aa72002e76c09f81a8fd82f37781f5126c9cbe (patch) | |
| tree | 28c56d149b7fdab45a3b63ca17e78932aad0c35c /src/runtime/funcdata.h | |
| parent | e8666abd9884f6743f78229ed210bf12a35e7368 (diff) | |
| download | go-d4aa72002e76c09f81a8fd82f37781f5126c9cbe.tar.xz | |
cmd/asm: fix RLDCR const1,reg,const2,reg on ppc64
The extended opcode field (XO) is generated incorrectly. OPVCC
assumes an X-form like layout for the XO field. MD-form insns
also have an XO field, but it is both smaller and in a different
bit position.
This hasn't been noticed since const1 == 0 matches as a register
argument instead of a constant, thus it is unlikely anyone has
attempted to assemble this instruction with a non-zero shift
argument.
Likewise, update all other MD-form instructions using OPVCC
to use the new OPMD function.
Change-Id: Id81fa2727fb701431911a05492c2038415ad0a4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/310851
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Carlos Eduardo Seo <carlos.seo@linaro.org>
Diffstat (limited to 'src/runtime/funcdata.h')
0 files changed, 0 insertions, 0 deletions
