xref: /openbmc/qemu/target/mips/tcg/rel6.decode (revision 0d70c5aa1bbfb0f5099d53d6e084337a8246cc0c)
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&special3_crc       rs rt c sz
20
21@lsa                ...... rs:5 rt:5 rd:5 ... sa:2 ......   &r
22@crc32              ...... rs:5 rt:5 ..... c:3 sz:2 ......  &special3_crc
23
24LSA                 000000 ..... ..... ..... 000 .. 000101  @lsa
25DLSA                000000 ..... ..... ..... 000 .. 010101  @lsa
26
27CRC32               011111 ..... ..... 00000 ... .. 001111  @crc32
28
29REMOVED             010011 ----- ----- ----- ----- ------   # COP1X (COP3)
30
31REMOVED             011100 ----- ----- ----- ----- ------   # SPECIAL2
32
33REMOVED             011010 ----- ----- ----------------     # LDL
34REMOVED             011011 ----- ----- ----------------     # LDR
35
36REMOVED             011111 ----- ----- ----------  011001   # LWLE
37REMOVED             011111 ----- ----- ----------  011010   # LWRE
38REMOVED             011111 ----- ----- ----------  100001   # SWLE
39REMOVED             011111 ----- ----- ----------  100010   # SWRE
40
41REMOVED             100010 ----- ----- ----------------     # LWL
42REMOVED             100110 ----- ----- ----------------     # LWR
43REMOVED             101010 ----- ----- ----------------     # SWL
44REMOVED             101100 ----- ----- ----------------     # SDL
45REMOVED             101101 ----- ----- ----------------     # SDR
46REMOVED             101110 ----- ----- ----------------     # SWR
47
48REMOVED             101111 ----- ----- ----------------     # CACHE
49
50REMOVED             110000 ----- ----- ----------------     # LL
51REMOVED             110011 ----- ----- ----------------     # PREF
52REMOVED             110100 ----- ----- ----------------     # LLD
53REMOVED             111000 ----- ----- ----------------     # SC
54REMOVED             111100 ----- ----- ----------------     # SCD
55