2 /*---------------------------------------------------------------*/
3 /*--- begin common_nanomips_defs.h ---*/
4 /*---------------------------------------------------------------*/
7 This file is part of Valgrind, a dynamic binary instrumentation
10 Copyright (C) 2017-2018 RT-RK
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of the
15 License, or (at your option) any later version.
17 This program is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27 The GNU General Public License is contained in the file COPYING.
29 #ifndef __VEX_COMMON_NANOMIPS_DEFS_H
30 #define __VEX_COMMON_NANOMIPS_DEFS_H
111 PU12_ADDIU_NEG
= 0x08,
132 P32A_POOL32A0
= 0x00,
137 _POOL32A0_PTRAP
= 0x00,
138 _POOL32A0_SEB
= 0x01,
139 _POOL32A0_SLLV
= 0x02,
140 _POOL32A0_MUL32
= 0x03,
141 _POOL32A0_MFC0
= 0x06,
142 _POOL32A0_MFHC0
= 0x07,
143 _POOL32A0_SEH
= 0x09,
144 _POOL32A0_SRLV
= 0x0A,
145 _POOL32A0_MUH
= 0x0B,
146 _POOL32A0_MTC0
= 0x0E,
147 _POOL32A0_MTHC0
= 0x0F,
148 _POOL32A0_SRAV
= 0x12,
149 _POOL32A0_MULU
= 0x13,
150 _POOL32A0_MFGC0
= 0x16,
151 _POOL32A0_MFHGC0
= 0x17,
152 _POOL32A0_ROTRV
= 0x1A,
153 _POOL32A0_MUHU
= 0x1B,
154 _POOL32A0_MTGC0
= 0x1E,
155 _POOL32A0_MTHGC0
= 0x1F,
156 _POOL32A0_ADD
= 0x22,
157 _POOL32A0_DIV
= 0x23,
158 _POOL32A0_DMFC0
= 0x26,
159 _POOL32A0_ADDU32
= 0x2A,
160 _POOL32A0_MOD
= 0x2B,
161 _POOL32A0_DMTC0
= 0x2E,
162 _POOL32A0_SUB
= 0x32,
163 _POOL32A0_DIVU
= 0x33,
164 _POOL32A0_DMFGC0
= 0x36,
165 _POOL32A0_RDHWR
= 0x38,
166 _POOL32A0_SUBU32
= 0x3A,
167 _POOL32A0_MODU
= 0x3B,
168 _POOL32A0_DMTGC0
= 0x3E,
169 _POOL32A0_PCMOVE
= 0x42,
170 _POOL32A0_FORK
= 0x45,
171 _POOL32A0_MFTR
= 0x46,
172 _POOL32A0_MFHTR
= 0x47,
173 _POOL32A0_AND32
= 0x4A,
174 _POOL32A0_YIELD
= 0x4D,
175 _POOL32A0_MTTR
= 0x4E,
176 _POOL32A0_MTHTR
= 0x4F,
177 _POOL32A0_OR32
= 0x52,
178 _POOL32A0_PMTVPE
= 0x56,
179 _POOL32A0_NOR
= 0x5A,
180 _POOL32A0_XOR32
= 0x62,
181 _POOL32A0_SLT
= 0x6A,
182 _POOL32A0_PSLTU
= 0x72,
183 _POOL32A0_SOV
= 0x7A,
187 _POOL32A7_PLSX
= 0x00,
188 _POOL32A7_LSA
= 0x01,
189 _POOL32A7_EXTW
= 0x03,
190 _POOL32A7_P32Axf
= 0x07,
194 nano_POOL32Axf4_CLO
= 0x25,
195 nano_POOL32Axf4_CLZ
= 0x2D,
363 POOL16C00_NOT
= 0x00,
364 POOL16C00_XOR
= 0x04,
365 POOL16C00_AND
= 0x08,
371 /*---------------------------------------------------------------*/
372 /*--- end common_nanomips_defs.h ---*/
373 /*---------------------------------------------------------------*/