commit | 5e4c51d3ff484467c6ff1b51b6bacc8b70221058 | [log] [tgz] |
---|---|---|
author | Paul E. Murphy <murp@ibm.com> | Tue Aug 17 14:11:25 2021 -0500 |
committer | Lynn Boger <laboger@linux.vnet.ibm.com> | Fri Sep 17 15:14:18 2021 +0000 |
tree | c927041a3599bcf75d0ee4de6839710a0a702e7e | |
parent | ebb09ed340f18f7e2a2200f1adf792992c448346 [diff] |
ppc64asm: fix plan9 style decoding issues This reworks the decoding of CR bit fields to correctly decode the fcmp/cmp/setbc families of instructions. Comparison instructions always produce a result in a CR field, thus it should be listed last if not implied to be CR0. Furthermore, remove the context sensitive decoding of CR field and CR bit type arguments from plan9Arg. These edge cases are better handled during the per-instruction combining of decoded arguments. This allows setbc like instructions to decode correctly without special handling. Change-Id: I264a600034b5abb8901b0c2e6bffe2887200ac27 Reviewed-on: https://go-review.googlesource.com/c/arch/+/347569 Run-TryBot: Paul Murphy <murp@ibm.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Carlos Eduardo Seo <carlos.seo@linaro.org> Trust: Lynn Boger <laboger@linux.vnet.ibm.com> Trust: Cherry Mui <cherryyz@google.com>
This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the arch repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/arch:” in the subject line, so it is easy to find.