diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2022-12-16 19:44:07 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2022-12-27 20:43:30 +0100 |
commit | 767e2daed4da3245350d1e45e4eee42964d656f6 (patch) | |
tree | 4a5b816ade57f3a0d31bd796e64d1d86a451a484 /include | |
parent | 59132fd9777442eea8c05c6b4b96cee03c6273b3 (diff) | |
download | gdb-767e2daed4da3245350d1e45e4eee42964d656f6.zip gdb-767e2daed4da3245350d1e45e4eee42964d656f6.tar.gz gdb-767e2daed4da3245350d1e45e4eee42964d656f6.tar.bz2 |
RISC-V: Fix T-Head Fmv vendor extension encoding
A recent change in the XTheadFmv spec fixed an encoding bug in the
document. This patch changes the code to follow this bugfix.
Spec patch can be found here:
https://github.com/T-head-Semi/thead-extension-spec/pull/11
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/riscv-opc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h index 06e3df0..5420bfa 100644 --- a/include/opcode/riscv-opc.h +++ b/include/opcode/riscv-opc.h @@ -2209,9 +2209,9 @@ #define MATCH_TH_FSURW 0x5000700b #define MASK_TH_FSURW 0xf800707f /* Vendor-specific (T-Head) XTheadFmv instructions. */ -#define MATCH_TH_FMV_HW_X 0x6000100b +#define MATCH_TH_FMV_HW_X 0x5000100b #define MASK_TH_FMV_HW_X 0xfff0707f -#define MATCH_TH_FMV_X_HW 0x5000100b +#define MATCH_TH_FMV_X_HW 0x6000100b #define MASK_TH_FMV_X_HW 0xfff0707f /* Vendor-specific (T-Head) XTheadInt instructions. */ #define MATCH_TH_IPOP 0x0050000b |