commit | 424808020bdda8dc9202c5419c66ea9803485849 | [log] [tgz] |
---|---|---|
author | Mark Ryan <markdryan@rivosinc.com> | Tue Sep 16 11:27:47 2025 +0200 |
committer | Mark Ryan <markdryan@rivosinc.com> | Wed Oct 01 04:24:54 2025 -0700 |
tree | c54c931cd25e976b89908755738fd6b648ee3f23 | |
parent | 5787ef9c846f27126b7ed9290b48f45cccb8bc96 [diff] |
riscv64: fix and update decoding of MOVD and MOVF Change https://go-review.googlesource.com/c/go/+/703216 enhances MOVD and MOVF so that they can be used to initialise a floating point register to 0.0 and also to copy the binary representations of floating point values between integer and floating point registers. We update the riscv64 plan9 disassembler to recognise these cases and output the appropriate MOVD/MOVF instructions. We also fix a bug in the plan9 decoder which results in the arguments for the MOVD and MOVF instructions that represent loads and stores being output in the wrong order. Change-Id: I5c3561437f5a0c936767497de6e22c976ce17cff Reviewed-on: https://go-review.googlesource.com/c/arch/+/704195 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Joel Sing <joel@sing.id.au> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.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.