riscv64: support zihintpause disassembly

This patch supports disassembly for Zihintpause, also adds tests.

The predecessor CL is at https://go-review.googlesource.com/c/arch/+/734081

Change-Id: Ia6da4da1181a884801edbd6d2f6f53cc5ce1e5f0
GitHub-Last-Rev: a2200d2f7e7e356f8f2a547b29bd0f7151f5092c
GitHub-Pull-Request: golang/arch#14
Reviewed-on: https://go-review.googlesource.com/c/arch/+/734120
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com>
Reviewed-by: Joel Sing <joel@sing.id.au>
Reviewed-by: Carlos Amedee <carlos@golang.org>
4 files changed
tree: 8e0dfa2bf2769a8a1491306900901e461a14ce90
  1. arm/
  2. arm64/
  3. loong64/
  4. ppc64/
  5. riscv64/
  6. s390x/
  7. x86/
  8. codereview.cfg
  9. CONTRIBUTING.md
  10. go.mod
  11. go.sum
  12. LICENSE
  13. PATENTS
  14. README.md
README.md

arch

Go Reference

This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.

Report Issues / Send Patches

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.