summaryrefslogtreecommitdiffstats
path: root/target/mips/tcg/tx79.decode
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-07-27 21:13:49 +0200
committerPhilippe Mathieu-Daudé2021-08-25 13:02:14 +0200
commit34fe9fa3683a7ff54315c62960eba6eeac2a36ac (patch)
tree745adae5d3617af5bdf7a00cb3ddb65aca7f7a58 /target/mips/tcg/tx79.decode
parenttarget/mips: Merge 32-bit/64-bit Release6 decodetree definitions (diff)
downloadqemu-34fe9fa3683a7ff54315c62960eba6eeac2a36ac.tar.gz
qemu-34fe9fa3683a7ff54315c62960eba6eeac2a36ac.tar.xz
qemu-34fe9fa3683a7ff54315c62960eba6eeac2a36ac.zip
target/mips: Rename 'rtype' as 'r'
We'll soon have more opcode and decoded arguments, and 'rtype' is not very helpful. Naming it simply 'r' ease reviewing the .decode files when we have many opcodes. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210801234202.3167676-5-f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/tx79.decode')
-rw-r--r--target/mips/tcg/tx79.decode14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/mips/tcg/tx79.decode b/target/mips/tcg/tx79.decode
index 03a25a5096..57d87a2076 100644
--- a/target/mips/tcg/tx79.decode
+++ b/target/mips/tcg/tx79.decode
@@ -11,20 +11,20 @@
# when creating helpers common to those for the individual
# instruction patterns.
-&rtype rs rt rd sa
+&r rs rt rd sa
-&itype base rt offset
+&i base rt offset
###########################################################################
# Named instruction formats. These are generally used to
# reduce the amount of duplication between instruction patterns.
-@rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &rtype sa=0
-@rt_rd ...... ..... rt:5 rd:5 ..... ...... &rtype rs=0 sa=0
-@rs ...... rs:5 ..... .......... ...... &rtype rt=0 rd=0 sa=0
-@rd ...... .......... rd:5 ..... ...... &rtype rs=0 rt=0 sa=0
+@rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &r sa=0
+@rt_rd ...... ..... rt:5 rd:5 ..... ...... &r sa=0 rs=0
+@rs ...... rs:5 ..... .......... ...... &r sa=0 rt=0 rd=0
+@rd ...... .......... rd:5 ..... ...... &r sa=0 rs=0 rt=0
-@ldst ...... base:5 rt:5 offset:16 &itype
+@ldst ...... base:5 rt:5 offset:16 &i
###########################################################################