xref: /openbmc/qemu/target/mips/tcg/rel6.decode (revision 2df1eb27)
1# MIPS32 Release 6 instruction set
2#
3# Copyright (C) 2020  Philippe Mathieu-Daudé
4#
5# SPDX-License-Identifier: LGPL-2.1-or-later
6#
7# Reference:
8#
9#       MIPS Architecture for Programmers Volume II-A
10#       The MIPS32 Instruction Set Reference Manual, Revision 6.06
11#       (Document Number: MD00086-2B-MIPS32BIS-AFP-06.06)
12#
13#       MIPS Architecture for Programmers Volume II-A
14#       The MIPS64 Instruction Set Reference Manual, Revision 6.06
15#       (Document Number: MD00087-2B-MIPS64BIS-AFP-6.06)
16
17&r                  rs rt rd sa
18
19@lsa                ...... rs:5 rt:5 rd:5 ... sa:2 ......   &r
20
21LSA                 000000 ..... ..... ..... 000 .. 000101  @lsa
22DLSA                000000 ..... ..... ..... 000 .. 010101  @lsa
23
24REMOVED             010011 ----- ----- ----- ----- ------   # COP1X (COP3)
25
26REMOVED             011100 ----- ----- ----- ----- ------   # SPECIAL2
27
28REMOVED             011010 ----- ----- ----------------     # LDL
29REMOVED             011011 ----- ----- ----------------     # LDR
30
31REMOVED             011111 ----- ----- ----------  011001   # LWLE
32REMOVED             011111 ----- ----- ----------  011010   # LWRE
33REMOVED             011111 ----- ----- ----------  100001   # SWLE
34REMOVED             011111 ----- ----- ----------  100010   # SWRE
35
36REMOVED             100010 ----- ----- ----------------     # LWL
37REMOVED             100110 ----- ----- ----------------     # LWR
38REMOVED             101010 ----- ----- ----------------     # SWL
39REMOVED             101100 ----- ----- ----------------     # SDL
40REMOVED             101101 ----- ----- ----------------     # SDR
41REMOVED             101110 ----- ----- ----------------     # SWR
42
43REMOVED             101111 ----- ----- ----------------     # CACHE
44
45REMOVED             110000 ----- ----- ----------------     # LL
46REMOVED             110011 ----- ----- ----------------     # PREF
47REMOVED             110100 ----- ----- ----------------     # LLD
48REMOVED             111000 ----- ----- ----------------     # SC
49REMOVED             111100 ----- ----- ----------------     # SCD
50