internal/simdgen: refactor decodeOperands and loadXED These functions were getting too big and doing too many things at once. Split them up and slightly rejigger the relationship between them. decodeOperands now stops at parsing the XED to []operand, and all translation to unifier values is done in the new instToUVal functions and its helpers. No effect on generated godefs. Change-Id: Idf97ebd521b8963d5703caf695fcfffc422633cd Reviewed-on: https://go-review.googlesource.com/c/arch/+/691336 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Austin Clements <austin@google.com> Reviewed-by: Junyang Shao <shaojunyang@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://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/arch.
The main issue tracker for the arch repository is located at https://go.dev/issues. Prefix your issue with “x/arch:” in the subject line, so it is easy to find.