target/mips/tx79: Move MTHI1 / MTLO1 opcodes to decodetree
[qemu/ar7.git] / target / mips / tx79.decode
blob30737da54e403a1ad13b8b6c76b9210a3e6511a1
1 # Toshiba C790's instruction set
3 # Copyright (C) 2021  Philippe Mathieu-Daudé
5 # SPDX-License-Identifier: LGPL-2.1-or-later
7 # Toshiba Appendix B  C790-Specific Instruction Set Details
9 ###########################################################################
10 # Named attribute sets.  These are used to make nice(er) names
11 # when creating helpers common to those for the individual
12 # instruction patterns.
14 &rtype           rs rt rd sa
16 ###########################################################################
17 # Named instruction formats.  These are generally used to
18 # reduce the amount of duplication between instruction patterns.
20 @rs             ...... rs:5  ..... ..........  ......   &rtype rt=0 rd=0 sa=0
21 @rd             ...... ..........  rd:5  ..... ......   &rtype rs=0 rt=0 sa=0
23 ###########################################################################
25 MFHI1           011100 0000000000  ..... 00000 010000   @rd
26 MTHI1           011100 .....  0000000000 00000 010001   @rs
27 MFLO1           011100 0000000000  ..... 00000 010010   @rd
28 MTLO1           011100 .....  0000000000 00000 010011   @rs