aboutsummaryrefslogtreecommitdiff
path: root/disas/nanomips.h
diff options
context:
space:
mode:
authorAleksandar Markovic <amarkovic@wavecomp.com>2018-12-17 01:44:04 +0100
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-01-03 17:52:52 +0100
commitb4c5d21c3f5d223d902afbfa6bb4abb4080b57b1 (patch)
treea4b1441c6df0d87d53edff12bb3f8412955ece24 /disas/nanomips.h
parente0669eec802f6e82d6ea336dda7056d1c55510b2 (diff)
downloadqemu-b4c5d21c3f5d223d902afbfa6bb4abb4080b57b1.zip
qemu-b4c5d21c3f5d223d902afbfa6bb4abb4080b57b1.tar.gz
qemu-b4c5d21c3f5d223d902afbfa6bb4abb4080b57b1.tar.bz2
disas: nanoMIPS: Fix a function misnomer
Fix wrong function name. The convention in these files is that names of extraction functions should reflect bit patterns they are extracting. Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com> Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'disas/nanomips.h')
-rw-r--r--disas/nanomips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/disas/nanomips.h b/disas/nanomips.h
index 4defd35..f04a1a8 100644
--- a/disas/nanomips.h
+++ b/disas/nanomips.h
@@ -191,7 +191,7 @@ private:
uint64 extract_rdl_25_24(uint64 instruction);
uint64 extract_rd2_3_8(uint64 instruction);
uint64 extract_rd3_3_2_1(uint64 instruction);
- uint64 extract_rd_20_19_18_17_16(uint64 instruction);
+ uint64 extract_rd_15_14_13_12_11(uint64 instruction);
uint64 extract_rs3_6_5_4(uint64 instruction);
uint64 extract_rs4_4_2_1_0(uint64 instruction);
uint64 extract_rs_4_3_2_1_0(uint64 instruction);