VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsThree0f38.cpp.h@ 74054

Last change on this file since 74054 was 73606, checked in by vboxsync, 6 years ago

VMM: Nested VMX: bugref:9180 Various bits:

  • IEM: Started VMXON, VMXOFF implementation, use IEM_OPCODE_GET_NEXT_RM.
  • IEM: Fixed INVPCID C impl, removed unused IEMExecDecodedInvpcid.
  • IEM: Updated iemCImpl_load_CrX to check for CR0/CR4 fixed bits in VMX.
  • IEM: Update offModRm to reset/re-initialize where needed.
  • CPUM: Added VMX root, non-root mode and other bits and updated a few places where they're used.
  • HM: Started adding fine-grained VMX instruction failure diagnostics.
  • HM: Made VM instruction error an enum.
  • HM: Added HMVMXAll.cpp for all context VMX code.
  • Ensure building with VBOX_WITH_NESTED_HWVIRT_[SVM|VMX] does the right thing based on host CPU.
  • CPUM: Added dumping of nested-VMX CPUMCTX state.
  • HMVMXR0: Added memory operand decoding.
  • HMVMXR0: VMX instr. privilege checks (CR0/CR4 read shadows are not consulted, so we need to do them)
  • HM: Added some more bit-field representaions.
  • Recompiler: Refuse to run when in nested-VMX guest code.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 38.7 KB
Line 
1/* $Id: IEMAllInstructionsThree0f38.cpp.h 73606 2018-08-10 07:38:56Z vboxsync $ */
2/** @file
3 * IEM - Instruction Decoding and Emulation.
4 *
5 * @remarks IEMAllInstructionsVexMap2.cpp.h is a VEX mirror of this file.
6 * Any update here is likely needed in that file too.
7 */
8
9/*
10 * Copyright (C) 2011-2017 Oracle Corporation
11 *
12 * This file is part of VirtualBox Open Source Edition (OSE), as
13 * available from http://www.virtualbox.org. This file is free software;
14 * you can redistribute it and/or modify it under the terms of the GNU
15 * General Public License (GPL) as published by the Free Software
16 * Foundation, in version 2 as it comes in the "COPYING" file of the
17 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
18 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
19 */
20
21
22/** @name Three byte opcodes with first two bytes 0x0f 0x38
23 * @{
24 */
25
26/* Opcode 0x0f 0x38 0x00. */
27FNIEMOP_STUB(iemOp_pshufb_Pq_Qq);
28/* Opcode 0x66 0x0f 0x38 0x00. */
29FNIEMOP_STUB(iemOp_pshufb_Vx_Wx);
30/* Opcode 0x0f 0x38 0x01. */
31FNIEMOP_STUB(iemOp_phaddw_Pq_Qq);
32/** Opcode 0x66 0x0f 0x38 0x01. */
33FNIEMOP_STUB(iemOp_phaddw_Vx_Wx);
34/** Opcode 0x0f 0x38 0x02. */
35FNIEMOP_STUB(iemOp_phaddd_Pq_Qq);
36/** Opcode 0x66 0x0f 0x38 0x02. */
37FNIEMOP_STUB(iemOp_phaddd_Vx_Wx);
38/** Opcode 0x0f 0x38 0x03. */
39FNIEMOP_STUB(iemOp_phaddsw_Pq_Qq);
40/** Opcode 0x66 0x0f 0x38 0x03. */
41FNIEMOP_STUB(iemOp_phaddsw_Vx_Wx);
42/** Opcode 0x0f 0x38 0x04. */
43FNIEMOP_STUB(iemOp_pmaddubsw_Pq_Qq);
44/** Opcode 0x66 0x0f 0x38 0x04. */
45FNIEMOP_STUB(iemOp_pmaddubsw_Vx_Wx);
46/** Opcode 0x0f 0x38 0x05. */
47FNIEMOP_STUB(iemOp_phsubw_Pq_Qq);
48/** Opcode 0x66 0x0f 0x38 0x05. */
49FNIEMOP_STUB(iemOp_phsubw_Vx_Wx);
50/** Opcode 0x0f 0x38 0x06. */
51FNIEMOP_STUB(iemOp_phsubd_Pq_Qq);
52/** Opcode 0x66 0x0f 0x38 0x06. */
53FNIEMOP_STUB(iemOp_phsubdq_Vx_Wx);
54/** Opcode 0x0f 0x38 0x07. */
55FNIEMOP_STUB(iemOp_phsubsw_Pq_Qq);
56/** Opcode 0x66 0x0f 0x38 0x07. */
57FNIEMOP_STUB(iemOp_phsubsw_Vx_Wx);
58/** Opcode 0x0f 0x38 0x08. */
59FNIEMOP_STUB(iemOp_psignb_Pq_Qq);
60/** Opcode 0x66 0x0f 0x38 0x08. */
61FNIEMOP_STUB(iemOp_psignb_Vx_Wx);
62/** Opcode 0x0f 0x38 0x09. */
63FNIEMOP_STUB(iemOp_psignw_Pq_Qq);
64/** Opcode 0x66 0x0f 0x38 0x09. */
65FNIEMOP_STUB(iemOp_psignw_Vx_Wx);
66/** Opcode 0x0f 0x38 0x0a. */
67FNIEMOP_STUB(iemOp_psignd_Pq_Qq);
68/** Opcode 0x66 0x0f 0x38 0x0a. */
69FNIEMOP_STUB(iemOp_psignd_Vx_Wx);
70/** Opcode 0x0f 0x38 0x0b. */
71FNIEMOP_STUB(iemOp_pmulhrsw_Pq_Qq);
72/** Opcode 0x66 0x0f 0x38 0x0b. */
73FNIEMOP_STUB(iemOp_pmulhrsw_Vx_Wx);
74/* Opcode 0x0f 0x38 0x0c - invalid. */
75/* Opcode 0x66 0x0f 0x38 0x0c - invalid (vex only). */
76/* Opcode 0x0f 0x38 0x0d - invalid. */
77/* Opcode 0x66 0x0f 0x38 0x0d - invalid (vex only). */
78/* Opcode 0x0f 0x38 0x0e - invalid. */
79/* Opcode 0x66 0x0f 0x38 0x0e - invalid (vex only). */
80/* Opcode 0x0f 0x38 0x0f - invalid. */
81/* Opcode 0x66 0x0f 0x38 0x0f - invalid (vex only). */
82
83
84/* Opcode 0x0f 0x38 0x10 - invalid */
85/** Opcode 0x66 0x0f 0x38 0x10 (legacy only). */
86FNIEMOP_STUB(iemOp_pblendvb_Vdq_Wdq);
87/* Opcode 0x0f 0x38 0x11 - invalid */
88/* Opcode 0x66 0x0f 0x38 0x11 - invalid */
89/* Opcode 0x0f 0x38 0x12 - invalid */
90/* Opcode 0x66 0x0f 0x38 0x12 - invalid */
91/* Opcode 0x0f 0x38 0x13 - invalid */
92/* Opcode 0x66 0x0f 0x38 0x13 - invalid (vex only). */
93/* Opcode 0x0f 0x38 0x14 - invalid */
94/** Opcode 0x66 0x0f 0x38 0x14 (legacy only). */
95FNIEMOP_STUB(iemOp_blendvps_Vdq_Wdq);
96/* Opcode 0x0f 0x38 0x15 - invalid */
97/** Opcode 0x66 0x0f 0x38 0x15 (legacy only). */
98FNIEMOP_STUB(iemOp_blendvpd_Vdq_Wdq);
99/* Opcode 0x0f 0x38 0x16 - invalid */
100/* Opcode 0x66 0x0f 0x38 0x16 - invalid (vex only). */
101/* Opcode 0x0f 0x38 0x17 - invalid */
102/** Opcode 0x66 0x0f 0x38 0x17 - invalid */
103FNIEMOP_STUB(iemOp_ptest_Vx_Wx);
104/* Opcode 0x0f 0x38 0x18 - invalid */
105/* Opcode 0x66 0x0f 0x38 0x18 - invalid (vex only). */
106/* Opcode 0x0f 0x38 0x19 - invalid */
107/* Opcode 0x66 0x0f 0x38 0x19 - invalid (vex only). */
108/* Opcode 0x0f 0x38 0x1a - invalid */
109/* Opcode 0x66 0x0f 0x38 0x1a - invalid (vex only). */
110/* Opcode 0x0f 0x38 0x1b - invalid */
111/* Opcode 0x66 0x0f 0x38 0x1b - invalid */
112/** Opcode 0x0f 0x38 0x1c. */
113FNIEMOP_STUB(iemOp_pabsb_Pq_Qq);
114/** Opcode 0x66 0x0f 0x38 0x1c. */
115FNIEMOP_STUB(iemOp_pabsb_Vx_Wx);
116/** Opcode 0x0f 0x38 0x1d. */
117FNIEMOP_STUB(iemOp_pabsw_Pq_Qq);
118/** Opcode 0x66 0x0f 0x38 0x1d. */
119FNIEMOP_STUB(iemOp_pabsw_Vx_Wx);
120/** Opcode 0x0f 0x38 0x1e. */
121FNIEMOP_STUB(iemOp_pabsd_Pq_Qq);
122/** Opcode 0x66 0x0f 0x38 0x1e. */
123FNIEMOP_STUB(iemOp_pabsd_Vx_Wx);
124/* Opcode 0x0f 0x38 0x1f - invalid */
125/* Opcode 0x66 0x0f 0x38 0x1f - invalid */
126
127
128/** Opcode 0x66 0x0f 0x38 0x20. */
129FNIEMOP_STUB(iemOp_pmovsxbw_Vx_UxMq);
130/** Opcode 0x66 0x0f 0x38 0x21. */
131FNIEMOP_STUB(iemOp_pmovsxbd_Vx_UxMd);
132/** Opcode 0x66 0x0f 0x38 0x22. */
133FNIEMOP_STUB(iemOp_pmovsxbq_Vx_UxMw);
134/** Opcode 0x66 0x0f 0x38 0x23. */
135FNIEMOP_STUB(iemOp_pmovsxwd_Vx_UxMq);
136/** Opcode 0x66 0x0f 0x38 0x24. */
137FNIEMOP_STUB(iemOp_pmovsxwq_Vx_UxMd);
138/** Opcode 0x66 0x0f 0x38 0x25. */
139FNIEMOP_STUB(iemOp_pmovsxdq_Vx_UxMq);
140/* Opcode 0x66 0x0f 0x38 0x26 - invalid */
141/* Opcode 0x66 0x0f 0x38 0x27 - invalid */
142/** Opcode 0x66 0x0f 0x38 0x28. */
143FNIEMOP_STUB(iemOp_pmuldq_Vx_Wx);
144/** Opcode 0x66 0x0f 0x38 0x29. */
145FNIEMOP_STUB(iemOp_pcmpeqq_Vx_Wx);
146
147/**
148 * @opcode 0x2a
149 * @opcodesub !11 mr/reg
150 * @oppfx 0x66
151 * @opcpuid sse4.1
152 * @opgroup og_sse41_cachect
153 * @opxcpttype 1
154 * @optest op1=-1 op2=2 -> op1=2
155 * @optest op1=0 op2=-42 -> op1=-42
156 */
157FNIEMOP_DEF(iemOp_movntdqa_Vdq_Mdq)
158{
159 IEMOP_MNEMONIC2(RM_MEM, MOVNTDQA, movntdqa, Vdq_WO, Mdq, DISOPTYPE_HARMLESS, IEMOPHINT_IGNORES_OP_SIZES);
160 uint8_t bRm; IEM_OPCODE_GET_NEXT_U8(&bRm);
161 if ((bRm & X86_MODRM_MOD_MASK) != (3 << X86_MODRM_MOD_SHIFT))
162 {
163 /* Register, memory. */
164 IEM_MC_BEGIN(0, 2);
165 IEM_MC_LOCAL(RTUINT128U, uSrc);
166 IEM_MC_LOCAL(RTGCPTR, GCPtrEffSrc);
167
168 IEM_MC_CALC_RM_EFF_ADDR(GCPtrEffSrc, bRm, 0);
169 IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX();
170 IEM_MC_MAYBE_RAISE_SSE41_RELATED_XCPT();
171 IEM_MC_ACTUALIZE_SSE_STATE_FOR_CHANGE();
172
173 IEM_MC_FETCH_MEM_U128_ALIGN_SSE(uSrc, pVCpu->iem.s.iEffSeg, GCPtrEffSrc);
174 IEM_MC_STORE_XREG_U128(((bRm >> X86_MODRM_REG_SHIFT) & X86_MODRM_REG_SMASK) | pVCpu->iem.s.uRexReg, uSrc);
175
176 IEM_MC_ADVANCE_RIP();
177 IEM_MC_END();
178 return VINF_SUCCESS;
179 }
180
181 /**
182 * @opdone
183 * @opmnemonic ud660f382areg
184 * @opcode 0x2a
185 * @opcodesub 11 mr/reg
186 * @oppfx 0x66
187 * @opunused immediate
188 * @opcpuid sse
189 * @optest ->
190 */
191 return IEMOP_RAISE_INVALID_OPCODE();
192}
193
194/** Opcode 0x66 0x0f 0x38 0x2b. */
195FNIEMOP_STUB(iemOp_packusdw_Vx_Wx);
196/* Opcode 0x66 0x0f 0x38 0x2c - invalid (vex only). */
197/* Opcode 0x66 0x0f 0x38 0x2d - invalid (vex only). */
198/* Opcode 0x66 0x0f 0x38 0x2e - invalid (vex only). */
199/* Opcode 0x66 0x0f 0x38 0x2f - invalid (vex only). */
200
201/** Opcode 0x66 0x0f 0x38 0x30. */
202FNIEMOP_STUB(iemOp_pmovzxbw_Vx_UxMq);
203/** Opcode 0x66 0x0f 0x38 0x31. */
204FNIEMOP_STUB(iemOp_pmovzxbd_Vx_UxMd);
205/** Opcode 0x66 0x0f 0x38 0x32. */
206FNIEMOP_STUB(iemOp_pmovzxbq_Vx_UxMw);
207/** Opcode 0x66 0x0f 0x38 0x33. */
208FNIEMOP_STUB(iemOp_pmovzxwd_Vx_UxMq);
209/** Opcode 0x66 0x0f 0x38 0x34. */
210FNIEMOP_STUB(iemOp_pmovzxwq_Vx_UxMd);
211/** Opcode 0x66 0x0f 0x38 0x35. */
212FNIEMOP_STUB(iemOp_pmovzxdq_Vx_UxMq);
213/* Opcode 0x66 0x0f 0x38 0x36 - invalid (vex only). */
214/** Opcode 0x66 0x0f 0x38 0x37. */
215FNIEMOP_STUB(iemOp_pcmpgtq_Vx_Wx);
216/** Opcode 0x66 0x0f 0x38 0x38. */
217FNIEMOP_STUB(iemOp_pminsb_Vx_Wx);
218/** Opcode 0x66 0x0f 0x38 0x39. */
219FNIEMOP_STUB(iemOp_pminsd_Vx_Wx);
220/** Opcode 0x66 0x0f 0x38 0x3a. */
221FNIEMOP_STUB(iemOp_pminuw_Vx_Wx);
222/** Opcode 0x66 0x0f 0x38 0x3b. */
223FNIEMOP_STUB(iemOp_pminud_Vx_Wx);
224/** Opcode 0x66 0x0f 0x38 0x3c. */
225FNIEMOP_STUB(iemOp_pmaxsb_Vx_Wx);
226/** Opcode 0x66 0x0f 0x38 0x3d. */
227FNIEMOP_STUB(iemOp_pmaxsd_Vx_Wx);
228/** Opcode 0x66 0x0f 0x38 0x3e. */
229FNIEMOP_STUB(iemOp_pmaxuw_Vx_Wx);
230/** Opcode 0x66 0x0f 0x38 0x3f. */
231FNIEMOP_STUB(iemOp_pmaxud_Vx_Wx);
232
233
234/** Opcode 0x66 0x0f 0x38 0x40. */
235FNIEMOP_STUB(iemOp_pmulld_Vx_Wx);
236/** Opcode 0x66 0x0f 0x38 0x41. */
237FNIEMOP_STUB(iemOp_phminposuw_Vdq_Wdq);
238/* Opcode 0x66 0x0f 0x38 0x42 - invalid. */
239/* Opcode 0x66 0x0f 0x38 0x43 - invalid. */
240/* Opcode 0x66 0x0f 0x38 0x44 - invalid. */
241/* Opcode 0x66 0x0f 0x38 0x45 - invalid (vex only). */
242/* Opcode 0x66 0x0f 0x38 0x46 - invalid (vex only). */
243/* Opcode 0x66 0x0f 0x38 0x47 - invalid (vex only). */
244/* Opcode 0x66 0x0f 0x38 0x48 - invalid. */
245/* Opcode 0x66 0x0f 0x38 0x49 - invalid. */
246/* Opcode 0x66 0x0f 0x38 0x4a - invalid. */
247/* Opcode 0x66 0x0f 0x38 0x4b - invalid. */
248/* Opcode 0x66 0x0f 0x38 0x4c - invalid. */
249/* Opcode 0x66 0x0f 0x38 0x4d - invalid. */
250/* Opcode 0x66 0x0f 0x38 0x4e - invalid. */
251/* Opcode 0x66 0x0f 0x38 0x4f - invalid. */
252
253/* Opcode 0x66 0x0f 0x38 0x50 - invalid. */
254/* Opcode 0x66 0x0f 0x38 0x51 - invalid. */
255/* Opcode 0x66 0x0f 0x38 0x52 - invalid. */
256/* Opcode 0x66 0x0f 0x38 0x53 - invalid. */
257/* Opcode 0x66 0x0f 0x38 0x54 - invalid. */
258/* Opcode 0x66 0x0f 0x38 0x55 - invalid. */
259/* Opcode 0x66 0x0f 0x38 0x56 - invalid. */
260/* Opcode 0x66 0x0f 0x38 0x57 - invalid. */
261/* Opcode 0x66 0x0f 0x38 0x58 - invalid (vex only). */
262/* Opcode 0x66 0x0f 0x38 0x59 - invalid (vex only). */
263/* Opcode 0x66 0x0f 0x38 0x5a - invalid (vex only). */
264/* Opcode 0x66 0x0f 0x38 0x5b - invalid. */
265/* Opcode 0x66 0x0f 0x38 0x5c - invalid. */
266/* Opcode 0x66 0x0f 0x38 0x5d - invalid. */
267/* Opcode 0x66 0x0f 0x38 0x5e - invalid. */
268/* Opcode 0x66 0x0f 0x38 0x5f - invalid. */
269
270/* Opcode 0x66 0x0f 0x38 0x60 - invalid. */
271/* Opcode 0x66 0x0f 0x38 0x61 - invalid. */
272/* Opcode 0x66 0x0f 0x38 0x62 - invalid. */
273/* Opcode 0x66 0x0f 0x38 0x63 - invalid. */
274/* Opcode 0x66 0x0f 0x38 0x64 - invalid. */
275/* Opcode 0x66 0x0f 0x38 0x65 - invalid. */
276/* Opcode 0x66 0x0f 0x38 0x66 - invalid. */
277/* Opcode 0x66 0x0f 0x38 0x67 - invalid. */
278/* Opcode 0x66 0x0f 0x38 0x68 - invalid. */
279/* Opcode 0x66 0x0f 0x38 0x69 - invalid. */
280/* Opcode 0x66 0x0f 0x38 0x6a - invalid. */
281/* Opcode 0x66 0x0f 0x38 0x6b - invalid. */
282/* Opcode 0x66 0x0f 0x38 0x6c - invalid. */
283/* Opcode 0x66 0x0f 0x38 0x6d - invalid. */
284/* Opcode 0x66 0x0f 0x38 0x6e - invalid. */
285/* Opcode 0x66 0x0f 0x38 0x6f - invalid. */
286
287/* Opcode 0x66 0x0f 0x38 0x70 - invalid. */
288/* Opcode 0x66 0x0f 0x38 0x71 - invalid. */
289/* Opcode 0x66 0x0f 0x38 0x72 - invalid. */
290/* Opcode 0x66 0x0f 0x38 0x73 - invalid. */
291/* Opcode 0x66 0x0f 0x38 0x74 - invalid. */
292/* Opcode 0x66 0x0f 0x38 0x75 - invalid. */
293/* Opcode 0x66 0x0f 0x38 0x76 - invalid. */
294/* Opcode 0x66 0x0f 0x38 0x77 - invalid. */
295/* Opcode 0x66 0x0f 0x38 0x78 - invalid (vex only). */
296/* Opcode 0x66 0x0f 0x38 0x79 - invalid (vex only). */
297/* Opcode 0x66 0x0f 0x38 0x7a - invalid. */
298/* Opcode 0x66 0x0f 0x38 0x7b - invalid. */
299/* Opcode 0x66 0x0f 0x38 0x7c - invalid. */
300/* Opcode 0x66 0x0f 0x38 0x7d - invalid. */
301/* Opcode 0x66 0x0f 0x38 0x7e - invalid. */
302/* Opcode 0x66 0x0f 0x38 0x7f - invalid. */
303
304/** Opcode 0x66 0x0f 0x38 0x80. */
305FNIEMOP_STUB(iemOp_invept_Gy_Mdq);
306/** Opcode 0x66 0x0f 0x38 0x81. */
307FNIEMOP_STUB(iemOp_invvpid_Gy_Mdq);
308/** Opcode 0x66 0x0f 0x38 0x82. */
309FNIEMOP_DEF(iemOp_invpcid_Gy_Mdq)
310{
311 IEMOP_MNEMONIC(invpcid, "invpcid Gy,Mdq");
312 IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX();
313 uint8_t bRm; IEM_OPCODE_GET_NEXT_U8(&bRm);
314 if ((bRm & X86_MODRM_MOD_MASK) != (3 << X86_MODRM_MOD_SHIFT))
315 {
316 /* Register, memory. */
317 if (pVCpu->iem.s.enmEffOpSize == IEMMODE_64BIT)
318 {
319 IEM_MC_BEGIN(3, 0);
320 IEM_MC_ARG(uint8_t, iEffSeg, 0);
321 IEM_MC_ARG(RTGCPTR, GCPtrInvpcidDesc, 1);
322 IEM_MC_ARG(uint64_t, uInvpcidType, 2);
323 IEM_MC_FETCH_GREG_U64(uInvpcidType, ((bRm >> X86_MODRM_REG_SHIFT) & X86_MODRM_REG_SMASK) | pVCpu->iem.s.uRexReg);
324 IEM_MC_CALC_RM_EFF_ADDR(GCPtrInvpcidDesc, bRm, 0);
325 IEM_MC_ASSIGN(iEffSeg, pVCpu->iem.s.iEffSeg);
326 IEM_MC_CALL_CIMPL_3(iemCImpl_invpcid, iEffSeg, GCPtrInvpcidDesc, uInvpcidType);
327 IEM_MC_END();
328 }
329 else
330 {
331 IEM_MC_BEGIN(3, 0);
332 IEM_MC_ARG(uint8_t, iEffSeg, 0);
333 IEM_MC_ARG(RTGCPTR, GCPtrInvpcidDesc, 1);
334 IEM_MC_ARG(uint32_t, uInvpcidType, 2);
335 IEM_MC_FETCH_GREG_U32(uInvpcidType, ((bRm >> X86_MODRM_REG_SHIFT) & X86_MODRM_REG_SMASK) | pVCpu->iem.s.uRexReg);
336 IEM_MC_CALC_RM_EFF_ADDR(GCPtrInvpcidDesc, bRm, 0);
337 IEM_MC_ASSIGN(iEffSeg, pVCpu->iem.s.iEffSeg);
338 IEM_MC_CALL_CIMPL_3(iemCImpl_invpcid, iEffSeg, GCPtrInvpcidDesc, uInvpcidType);
339 IEM_MC_END();
340 }
341 }
342 Log(("iemOp_invpcid_Gy_Mdq: invalid encoding -> #UD\n"));
343 return IEMOP_RAISE_INVALID_OPCODE();
344}
345
346
347/* Opcode 0x66 0x0f 0x38 0x83 - invalid. */
348/* Opcode 0x66 0x0f 0x38 0x84 - invalid. */
349/* Opcode 0x66 0x0f 0x38 0x85 - invalid. */
350/* Opcode 0x66 0x0f 0x38 0x86 - invalid. */
351/* Opcode 0x66 0x0f 0x38 0x87 - invalid. */
352/* Opcode 0x66 0x0f 0x38 0x88 - invalid. */
353/* Opcode 0x66 0x0f 0x38 0x89 - invalid. */
354/* Opcode 0x66 0x0f 0x38 0x8a - invalid. */
355/* Opcode 0x66 0x0f 0x38 0x8b - invalid. */
356/* Opcode 0x66 0x0f 0x38 0x8c - invalid (vex only). */
357/* Opcode 0x66 0x0f 0x38 0x8d - invalid. */
358/* Opcode 0x66 0x0f 0x38 0x8e - invalid (vex only). */
359/* Opcode 0x66 0x0f 0x38 0x8f - invalid. */
360
361/* Opcode 0x66 0x0f 0x38 0x90 - invalid (vex only). */
362/* Opcode 0x66 0x0f 0x38 0x91 - invalid (vex only). */
363/* Opcode 0x66 0x0f 0x38 0x92 - invalid (vex only). */
364/* Opcode 0x66 0x0f 0x38 0x93 - invalid (vex only). */
365/* Opcode 0x66 0x0f 0x38 0x94 - invalid. */
366/* Opcode 0x66 0x0f 0x38 0x95 - invalid. */
367/* Opcode 0x66 0x0f 0x38 0x96 - invalid (vex only). */
368/* Opcode 0x66 0x0f 0x38 0x97 - invalid (vex only). */
369/* Opcode 0x66 0x0f 0x38 0x98 - invalid (vex only). */
370/* Opcode 0x66 0x0f 0x38 0x99 - invalid (vex only). */
371/* Opcode 0x66 0x0f 0x38 0x9a - invalid (vex only). */
372/* Opcode 0x66 0x0f 0x38 0x9b - invalid (vex only). */
373/* Opcode 0x66 0x0f 0x38 0x9c - invalid (vex only). */
374/* Opcode 0x66 0x0f 0x38 0x9d - invalid (vex only). */
375/* Opcode 0x66 0x0f 0x38 0x9e - invalid (vex only). */
376/* Opcode 0x66 0x0f 0x38 0x9f - invalid (vex only). */
377
378/* Opcode 0x66 0x0f 0x38 0xa0 - invalid. */
379/* Opcode 0x66 0x0f 0x38 0xa1 - invalid. */
380/* Opcode 0x66 0x0f 0x38 0xa2 - invalid. */
381/* Opcode 0x66 0x0f 0x38 0xa3 - invalid. */
382/* Opcode 0x66 0x0f 0x38 0xa4 - invalid. */
383/* Opcode 0x66 0x0f 0x38 0xa5 - invalid. */
384/* Opcode 0x66 0x0f 0x38 0xa6 - invalid (vex only). */
385/* Opcode 0x66 0x0f 0x38 0xa7 - invalid (vex only). */
386/* Opcode 0x66 0x0f 0x38 0xa8 - invalid (vex only). */
387/* Opcode 0x66 0x0f 0x38 0xa9 - invalid (vex only). */
388/* Opcode 0x66 0x0f 0x38 0xaa - invalid (vex only). */
389/* Opcode 0x66 0x0f 0x38 0xab - invalid (vex only). */
390/* Opcode 0x66 0x0f 0x38 0xac - invalid (vex only). */
391/* Opcode 0x66 0x0f 0x38 0xad - invalid (vex only). */
392/* Opcode 0x66 0x0f 0x38 0xae - invalid (vex only). */
393/* Opcode 0x66 0x0f 0x38 0xaf - invalid (vex only). */
394
395/* Opcode 0x66 0x0f 0x38 0xb0 - invalid. */
396/* Opcode 0x66 0x0f 0x38 0xb1 - invalid. */
397/* Opcode 0x66 0x0f 0x38 0xb2 - invalid. */
398/* Opcode 0x66 0x0f 0x38 0xb3 - invalid. */
399/* Opcode 0x66 0x0f 0x38 0xb4 - invalid. */
400/* Opcode 0x66 0x0f 0x38 0xb5 - invalid. */
401/* Opcode 0x66 0x0f 0x38 0xb6 - invalid (vex only). */
402/* Opcode 0x66 0x0f 0x38 0xb7 - invalid (vex only). */
403/* Opcode 0x66 0x0f 0x38 0xb8 - invalid (vex only). */
404/* Opcode 0x66 0x0f 0x38 0xb9 - invalid (vex only). */
405/* Opcode 0x66 0x0f 0x38 0xba - invalid (vex only). */
406/* Opcode 0x66 0x0f 0x38 0xbb - invalid (vex only). */
407/* Opcode 0x66 0x0f 0x38 0xbc - invalid (vex only). */
408/* Opcode 0x66 0x0f 0x38 0xbd - invalid (vex only). */
409/* Opcode 0x66 0x0f 0x38 0xbe - invalid (vex only). */
410/* Opcode 0x66 0x0f 0x38 0xbf - invalid (vex only). */
411
412/* Opcode 0x0f 0x38 0xc0 - invalid. */
413/* Opcode 0x66 0x0f 0x38 0xc0 - invalid. */
414/* Opcode 0x0f 0x38 0xc1 - invalid. */
415/* Opcode 0x66 0x0f 0x38 0xc1 - invalid. */
416/* Opcode 0x0f 0x38 0xc2 - invalid. */
417/* Opcode 0x66 0x0f 0x38 0xc2 - invalid. */
418/* Opcode 0x0f 0x38 0xc3 - invalid. */
419/* Opcode 0x66 0x0f 0x38 0xc3 - invalid. */
420/* Opcode 0x0f 0x38 0xc4 - invalid. */
421/* Opcode 0x66 0x0f 0x38 0xc4 - invalid. */
422/* Opcode 0x0f 0x38 0xc5 - invalid. */
423/* Opcode 0x66 0x0f 0x38 0xc5 - invalid. */
424/* Opcode 0x0f 0x38 0xc6 - invalid. */
425/* Opcode 0x66 0x0f 0x38 0xc6 - invalid. */
426/* Opcode 0x0f 0x38 0xc7 - invalid. */
427/* Opcode 0x66 0x0f 0x38 0xc7 - invalid. */
428/** Opcode 0x0f 0x38 0xc8. */
429FNIEMOP_STUB(iemOp_sha1nexte_Vdq_Wdq);
430/* Opcode 0x66 0x0f 0x38 0xc8 - invalid. */
431/** Opcode 0x0f 0x38 0xc9. */
432FNIEMOP_STUB(iemOp_sha1msg1_Vdq_Wdq);
433/* Opcode 0x66 0x0f 0x38 0xc9 - invalid. */
434/** Opcode 0x0f 0x38 0xca. */
435FNIEMOP_STUB(iemOp_sha1msg2_Vdq_Wdq);
436/* Opcode 0x66 0x0f 0x38 0xca - invalid. */
437/** Opcode 0x0f 0x38 0xcb. */
438FNIEMOP_STUB(iemOp_sha256rnds2_Vdq_Wdq);
439/* Opcode 0x66 0x0f 0x38 0xcb - invalid. */
440/** Opcode 0x0f 0x38 0xcc. */
441FNIEMOP_STUB(iemOp_sha256msg1_Vdq_Wdq);
442/* Opcode 0x66 0x0f 0x38 0xcc - invalid. */
443/** Opcode 0x0f 0x38 0xcd. */
444FNIEMOP_STUB(iemOp_sha256msg2_Vdq_Wdq);
445/* Opcode 0x66 0x0f 0x38 0xcd - invalid. */
446/* Opcode 0x0f 0x38 0xce - invalid. */
447/* Opcode 0x66 0x0f 0x38 0xce - invalid. */
448/* Opcode 0x0f 0x38 0xcf - invalid. */
449/* Opcode 0x66 0x0f 0x38 0xcf - invalid. */
450
451/* Opcode 0x66 0x0f 0x38 0xd0 - invalid. */
452/* Opcode 0x66 0x0f 0x38 0xd1 - invalid. */
453/* Opcode 0x66 0x0f 0x38 0xd2 - invalid. */
454/* Opcode 0x66 0x0f 0x38 0xd3 - invalid. */
455/* Opcode 0x66 0x0f 0x38 0xd4 - invalid. */
456/* Opcode 0x66 0x0f 0x38 0xd5 - invalid. */
457/* Opcode 0x66 0x0f 0x38 0xd6 - invalid. */
458/* Opcode 0x66 0x0f 0x38 0xd7 - invalid. */
459/* Opcode 0x66 0x0f 0x38 0xd8 - invalid. */
460/* Opcode 0x66 0x0f 0x38 0xd9 - invalid. */
461/* Opcode 0x66 0x0f 0x38 0xda - invalid. */
462/** Opcode 0x66 0x0f 0x38 0xdb. */
463FNIEMOP_STUB(iemOp_aesimc_Vdq_Wdq);
464/** Opcode 0x66 0x0f 0x38 0xdc. */
465FNIEMOP_STUB(iemOp_aesenc_Vdq_Wdq);
466/** Opcode 0x66 0x0f 0x38 0xdd. */
467FNIEMOP_STUB(iemOp_aesenclast_Vdq_Wdq);
468/** Opcode 0x66 0x0f 0x38 0xde. */
469FNIEMOP_STUB(iemOp_aesdec_Vdq_Wdq);
470/** Opcode 0x66 0x0f 0x38 0xdf. */
471FNIEMOP_STUB(iemOp_aesdeclast_Vdq_Wdq);
472
473/* Opcode 0x66 0x0f 0x38 0xe0 - invalid. */
474/* Opcode 0x66 0x0f 0x38 0xe1 - invalid. */
475/* Opcode 0x66 0x0f 0x38 0xe2 - invalid. */
476/* Opcode 0x66 0x0f 0x38 0xe3 - invalid. */
477/* Opcode 0x66 0x0f 0x38 0xe4 - invalid. */
478/* Opcode 0x66 0x0f 0x38 0xe5 - invalid. */
479/* Opcode 0x66 0x0f 0x38 0xe6 - invalid. */
480/* Opcode 0x66 0x0f 0x38 0xe7 - invalid. */
481/* Opcode 0x66 0x0f 0x38 0xe8 - invalid. */
482/* Opcode 0x66 0x0f 0x38 0xe9 - invalid. */
483/* Opcode 0x66 0x0f 0x38 0xea - invalid. */
484/* Opcode 0x66 0x0f 0x38 0xeb - invalid. */
485/* Opcode 0x66 0x0f 0x38 0xec - invalid. */
486/* Opcode 0x66 0x0f 0x38 0xed - invalid. */
487/* Opcode 0x66 0x0f 0x38 0xee - invalid. */
488/* Opcode 0x66 0x0f 0x38 0xef - invalid. */
489
490
491/** Opcode 0x0f 0x38 0xf0. */
492FNIEMOP_STUB(iemOp_movbe_Gy_My);
493/** Opcode 0x66 0x0f 0x38 0xf0. */
494FNIEMOP_STUB(iemOp_movbe_Gw_Mw);
495/* Opcode 0xf3 0x0f 0x38 0xf0 - invalid. */
496/** Opcode 0xf2 0x0f 0x38 0xf0. */
497FNIEMOP_STUB(iemOp_crc32_Gb_Eb);
498
499/** Opcode 0x0f 0x38 0xf1. */
500FNIEMOP_STUB(iemOp_movbe_My_Gy);
501/** Opcode 0x66 0x0f 0x38 0xf1. */
502FNIEMOP_STUB(iemOp_movbe_Mw_Gw);
503/* Opcode 0xf3 0x0f 0x38 0xf1 - invalid. */
504/** Opcode 0xf2 0x0f 0x38 0xf1. */
505FNIEMOP_STUB(iemOp_crc32_Gv_Ev);
506
507/* Opcode 0x0f 0x38 0xf2 - invalid (vex only). */
508/* Opcode 0x66 0x0f 0x38 0xf2 - invalid. */
509/* Opcode 0xf3 0x0f 0x38 0xf2 - invalid. */
510/* Opcode 0xf2 0x0f 0x38 0xf2 - invalid. */
511
512/* Opcode 0x0f 0x38 0xf3 - invalid (vex only - group 17). */
513/* Opcode 0x66 0x0f 0x38 0xf3 - invalid (vex only - group 17). */
514/* Opcode 0xf3 0x0f 0x38 0xf3 - invalid (vex only - group 17). */
515/* Opcode 0xf2 0x0f 0x38 0xf3 - invalid (vex only - group 17). */
516
517/* Opcode 0x0f 0x38 0xf4 - invalid. */
518/* Opcode 0x66 0x0f 0x38 0xf4 - invalid. */
519/* Opcode 0xf3 0x0f 0x38 0xf4 - invalid. */
520/* Opcode 0xf2 0x0f 0x38 0xf4 - invalid. */
521
522/* Opcode 0x0f 0x38 0xf5 - invalid (vex only). */
523/* Opcode 0x66 0x0f 0x38 0xf5 - invalid. */
524/* Opcode 0xf3 0x0f 0x38 0xf5 - invalid (vex only). */
525/* Opcode 0xf2 0x0f 0x38 0xf5 - invalid (vex only). */
526
527/* Opcode 0x0f 0x38 0xf6 - invalid. */
528/** Opcode 0x66 0x0f 0x38 0xf6. */
529FNIEMOP_STUB(iemOp_adcx_Gy_Ey);
530/** Opcode 0xf3 0x0f 0x38 0xf6. */
531FNIEMOP_STUB(iemOp_adox_Gy_Ey);
532/* Opcode 0xf2 0x0f 0x38 0xf6 - invalid (vex only). */
533
534/* Opcode 0x0f 0x38 0xf7 - invalid (vex only). */
535/* Opcode 0x66 0x0f 0x38 0xf7 - invalid (vex only). */
536/* Opcode 0xf3 0x0f 0x38 0xf7 - invalid (vex only). */
537/* Opcode 0xf2 0x0f 0x38 0xf7 - invalid (vex only). */
538
539/* Opcode 0x0f 0x38 0xf8 - invalid. */
540/* Opcode 0x66 0x0f 0x38 0xf8 - invalid. */
541/* Opcode 0xf3 0x0f 0x38 0xf8 - invalid. */
542/* Opcode 0xf2 0x0f 0x38 0xf8 - invalid. */
543
544/* Opcode 0x0f 0x38 0xf9 - invalid. */
545/* Opcode 0x66 0x0f 0x38 0xf9 - invalid. */
546/* Opcode 0xf3 0x0f 0x38 0xf9 - invalid. */
547/* Opcode 0xf2 0x0f 0x38 0xf9 - invalid. */
548
549/* Opcode 0x0f 0x38 0xfa - invalid. */
550/* Opcode 0x66 0x0f 0x38 0xfa - invalid. */
551/* Opcode 0xf3 0x0f 0x38 0xfa - invalid. */
552/* Opcode 0xf2 0x0f 0x38 0xfa - invalid. */
553
554/* Opcode 0x0f 0x38 0xfb - invalid. */
555/* Opcode 0x66 0x0f 0x38 0xfb - invalid. */
556/* Opcode 0xf3 0x0f 0x38 0xfb - invalid. */
557/* Opcode 0xf2 0x0f 0x38 0xfb - invalid. */
558
559/* Opcode 0x0f 0x38 0xfc - invalid. */
560/* Opcode 0x66 0x0f 0x38 0xfc - invalid. */
561/* Opcode 0xf3 0x0f 0x38 0xfc - invalid. */
562/* Opcode 0xf2 0x0f 0x38 0xfc - invalid. */
563
564/* Opcode 0x0f 0x38 0xfd - invalid. */
565/* Opcode 0x66 0x0f 0x38 0xfd - invalid. */
566/* Opcode 0xf3 0x0f 0x38 0xfd - invalid. */
567/* Opcode 0xf2 0x0f 0x38 0xfd - invalid. */
568
569/* Opcode 0x0f 0x38 0xfe - invalid. */
570/* Opcode 0x66 0x0f 0x38 0xfe - invalid. */
571/* Opcode 0xf3 0x0f 0x38 0xfe - invalid. */
572/* Opcode 0xf2 0x0f 0x38 0xfe - invalid. */
573
574/* Opcode 0x0f 0x38 0xff - invalid. */
575/* Opcode 0x66 0x0f 0x38 0xff - invalid. */
576/* Opcode 0xf3 0x0f 0x38 0xff - invalid. */
577/* Opcode 0xf2 0x0f 0x38 0xff - invalid. */
578
579
580/**
581 * Three byte opcode map, first two bytes are 0x0f 0x38.
582 * @sa g_apfnVexMap2
583 */
584IEM_STATIC const PFNIEMOP g_apfnThreeByte0f38[] =
585{
586 /* no prefix, 066h prefix f3h prefix, f2h prefix */
587 /* 0x00 */ iemOp_pshufb_Pq_Qq, iemOp_pshufb_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
588 /* 0x01 */ iemOp_phaddw_Pq_Qq, iemOp_phaddw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
589 /* 0x02 */ iemOp_phaddd_Pq_Qq, iemOp_phaddd_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
590 /* 0x03 */ iemOp_phaddsw_Pq_Qq, iemOp_phaddsw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
591 /* 0x04 */ iemOp_pmaddubsw_Pq_Qq, iemOp_pmaddubsw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
592 /* 0x05 */ iemOp_phsubw_Pq_Qq, iemOp_phsubw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
593 /* 0x06 */ iemOp_phsubd_Pq_Qq, iemOp_phsubdq_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
594 /* 0x07 */ iemOp_phsubsw_Pq_Qq, iemOp_phsubsw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
595 /* 0x08 */ iemOp_psignb_Pq_Qq, iemOp_psignb_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
596 /* 0x09 */ iemOp_psignw_Pq_Qq, iemOp_psignw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
597 /* 0x0a */ iemOp_psignd_Pq_Qq, iemOp_psignd_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
598 /* 0x0b */ iemOp_pmulhrsw_Pq_Qq, iemOp_pmulhrsw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
599 /* 0x0c */ IEMOP_X4(iemOp_InvalidNeedRM),
600 /* 0x0d */ IEMOP_X4(iemOp_InvalidNeedRM),
601 /* 0x0e */ IEMOP_X4(iemOp_InvalidNeedRM),
602 /* 0x0f */ IEMOP_X4(iemOp_InvalidNeedRM),
603
604 /* 0x10 */ iemOp_InvalidNeedRM, iemOp_pblendvb_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
605 /* 0x11 */ IEMOP_X4(iemOp_InvalidNeedRM),
606 /* 0x12 */ IEMOP_X4(iemOp_InvalidNeedRM),
607 /* 0x13 */ IEMOP_X4(iemOp_InvalidNeedRM),
608 /* 0x14 */ iemOp_InvalidNeedRM, iemOp_blendvps_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
609 /* 0x15 */ iemOp_InvalidNeedRM, iemOp_blendvpd_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
610 /* 0x16 */ IEMOP_X4(iemOp_InvalidNeedRM),
611 /* 0x17 */ iemOp_InvalidNeedRM, iemOp_ptest_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
612 /* 0x18 */ IEMOP_X4(iemOp_InvalidNeedRM),
613 /* 0x19 */ IEMOP_X4(iemOp_InvalidNeedRM),
614 /* 0x1a */ IEMOP_X4(iemOp_InvalidNeedRM),
615 /* 0x1b */ IEMOP_X4(iemOp_InvalidNeedRM),
616 /* 0x1c */ iemOp_pabsb_Pq_Qq, iemOp_pabsb_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
617 /* 0x1d */ iemOp_pabsw_Pq_Qq, iemOp_pabsw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
618 /* 0x1e */ iemOp_pabsd_Pq_Qq, iemOp_pabsd_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
619 /* 0x1f */ IEMOP_X4(iemOp_InvalidNeedRM),
620
621 /* 0x20 */ iemOp_InvalidNeedRM, iemOp_pmovsxbw_Vx_UxMq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
622 /* 0x21 */ iemOp_InvalidNeedRM, iemOp_pmovsxbd_Vx_UxMd, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
623 /* 0x22 */ iemOp_InvalidNeedRM, iemOp_pmovsxbq_Vx_UxMw, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
624 /* 0x23 */ iemOp_InvalidNeedRM, iemOp_pmovsxwd_Vx_UxMq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
625 /* 0x24 */ iemOp_InvalidNeedRM, iemOp_pmovsxwq_Vx_UxMd, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
626 /* 0x25 */ iemOp_InvalidNeedRM, iemOp_pmovsxdq_Vx_UxMq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
627 /* 0x26 */ IEMOP_X4(iemOp_InvalidNeedRM),
628 /* 0x27 */ IEMOP_X4(iemOp_InvalidNeedRM),
629 /* 0x28 */ iemOp_InvalidNeedRM, iemOp_pmuldq_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
630 /* 0x29 */ iemOp_InvalidNeedRM, iemOp_pcmpeqq_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
631 /* 0x2a */ iemOp_InvalidNeedRM, iemOp_movntdqa_Vdq_Mdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
632 /* 0x2b */ iemOp_InvalidNeedRM, iemOp_packusdw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
633 /* 0x2c */ IEMOP_X4(iemOp_InvalidNeedRM),
634 /* 0x2d */ IEMOP_X4(iemOp_InvalidNeedRM),
635 /* 0x2e */ IEMOP_X4(iemOp_InvalidNeedRM),
636 /* 0x2f */ IEMOP_X4(iemOp_InvalidNeedRM),
637
638 /* 0x30 */ iemOp_InvalidNeedRM, iemOp_pmovzxbw_Vx_UxMq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
639 /* 0x31 */ iemOp_InvalidNeedRM, iemOp_pmovzxbd_Vx_UxMd, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
640 /* 0x32 */ iemOp_InvalidNeedRM, iemOp_pmovzxbq_Vx_UxMw, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
641 /* 0x33 */ iemOp_InvalidNeedRM, iemOp_pmovzxwd_Vx_UxMq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
642 /* 0x34 */ iemOp_InvalidNeedRM, iemOp_pmovzxwq_Vx_UxMd, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
643 /* 0x35 */ iemOp_InvalidNeedRM, iemOp_pmovzxdq_Vx_UxMq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
644 /* 0x36 */ IEMOP_X4(iemOp_InvalidNeedRM),
645 /* 0x37 */ iemOp_InvalidNeedRM, iemOp_pcmpgtq_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
646 /* 0x38 */ iemOp_InvalidNeedRM, iemOp_pminsb_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
647 /* 0x39 */ iemOp_InvalidNeedRM, iemOp_pminsd_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
648 /* 0x3a */ iemOp_InvalidNeedRM, iemOp_pminuw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
649 /* 0x3b */ iemOp_InvalidNeedRM, iemOp_pminud_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
650 /* 0x3c */ iemOp_InvalidNeedRM, iemOp_pmaxsb_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
651 /* 0x3d */ iemOp_InvalidNeedRM, iemOp_pmaxsd_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
652 /* 0x3e */ iemOp_InvalidNeedRM, iemOp_pmaxuw_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
653 /* 0x3f */ iemOp_InvalidNeedRM, iemOp_pmaxud_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
654
655 /* 0x40 */ iemOp_InvalidNeedRM, iemOp_pmulld_Vx_Wx, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
656 /* 0x41 */ iemOp_InvalidNeedRM, iemOp_phminposuw_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
657 /* 0x42 */ IEMOP_X4(iemOp_InvalidNeedRM),
658 /* 0x43 */ IEMOP_X4(iemOp_InvalidNeedRM),
659 /* 0x44 */ IEMOP_X4(iemOp_InvalidNeedRM),
660 /* 0x45 */ IEMOP_X4(iemOp_InvalidNeedRM),
661 /* 0x46 */ IEMOP_X4(iemOp_InvalidNeedRM),
662 /* 0x47 */ IEMOP_X4(iemOp_InvalidNeedRM),
663 /* 0x48 */ IEMOP_X4(iemOp_InvalidNeedRM),
664 /* 0x49 */ IEMOP_X4(iemOp_InvalidNeedRM),
665 /* 0x4a */ IEMOP_X4(iemOp_InvalidNeedRM),
666 /* 0x4b */ IEMOP_X4(iemOp_InvalidNeedRM),
667 /* 0x4c */ IEMOP_X4(iemOp_InvalidNeedRM),
668 /* 0x4d */ IEMOP_X4(iemOp_InvalidNeedRM),
669 /* 0x4e */ IEMOP_X4(iemOp_InvalidNeedRM),
670 /* 0x4f */ IEMOP_X4(iemOp_InvalidNeedRM),
671
672 /* 0x50 */ IEMOP_X4(iemOp_InvalidNeedRM),
673 /* 0x51 */ IEMOP_X4(iemOp_InvalidNeedRM),
674 /* 0x52 */ IEMOP_X4(iemOp_InvalidNeedRM),
675 /* 0x53 */ IEMOP_X4(iemOp_InvalidNeedRM),
676 /* 0x54 */ IEMOP_X4(iemOp_InvalidNeedRM),
677 /* 0x55 */ IEMOP_X4(iemOp_InvalidNeedRM),
678 /* 0x56 */ IEMOP_X4(iemOp_InvalidNeedRM),
679 /* 0x57 */ IEMOP_X4(iemOp_InvalidNeedRM),
680 /* 0x58 */ IEMOP_X4(iemOp_InvalidNeedRM),
681 /* 0x59 */ IEMOP_X4(iemOp_InvalidNeedRM),
682 /* 0x5a */ IEMOP_X4(iemOp_InvalidNeedRM),
683 /* 0x5b */ IEMOP_X4(iemOp_InvalidNeedRM),
684 /* 0x5c */ IEMOP_X4(iemOp_InvalidNeedRM),
685 /* 0x5d */ IEMOP_X4(iemOp_InvalidNeedRM),
686 /* 0x5e */ IEMOP_X4(iemOp_InvalidNeedRM),
687 /* 0x5f */ IEMOP_X4(iemOp_InvalidNeedRM),
688
689 /* 0x60 */ IEMOP_X4(iemOp_InvalidNeedRM),
690 /* 0x61 */ IEMOP_X4(iemOp_InvalidNeedRM),
691 /* 0x62 */ IEMOP_X4(iemOp_InvalidNeedRM),
692 /* 0x63 */ IEMOP_X4(iemOp_InvalidNeedRM),
693 /* 0x64 */ IEMOP_X4(iemOp_InvalidNeedRM),
694 /* 0x65 */ IEMOP_X4(iemOp_InvalidNeedRM),
695 /* 0x66 */ IEMOP_X4(iemOp_InvalidNeedRM),
696 /* 0x67 */ IEMOP_X4(iemOp_InvalidNeedRM),
697 /* 0x68 */ IEMOP_X4(iemOp_InvalidNeedRM),
698 /* 0x69 */ IEMOP_X4(iemOp_InvalidNeedRM),
699 /* 0x6a */ IEMOP_X4(iemOp_InvalidNeedRM),
700 /* 0x6b */ IEMOP_X4(iemOp_InvalidNeedRM),
701 /* 0x6c */ IEMOP_X4(iemOp_InvalidNeedRM),
702 /* 0x6d */ IEMOP_X4(iemOp_InvalidNeedRM),
703 /* 0x6e */ IEMOP_X4(iemOp_InvalidNeedRM),
704 /* 0x6f */ IEMOP_X4(iemOp_InvalidNeedRM),
705
706 /* 0x70 */ IEMOP_X4(iemOp_InvalidNeedRM),
707 /* 0x71 */ IEMOP_X4(iemOp_InvalidNeedRM),
708 /* 0x72 */ IEMOP_X4(iemOp_InvalidNeedRM),
709 /* 0x73 */ IEMOP_X4(iemOp_InvalidNeedRM),
710 /* 0x74 */ IEMOP_X4(iemOp_InvalidNeedRM),
711 /* 0x75 */ IEMOP_X4(iemOp_InvalidNeedRM),
712 /* 0x76 */ IEMOP_X4(iemOp_InvalidNeedRM),
713 /* 0x77 */ IEMOP_X4(iemOp_InvalidNeedRM),
714 /* 0x78 */ IEMOP_X4(iemOp_InvalidNeedRM),
715 /* 0x79 */ IEMOP_X4(iemOp_InvalidNeedRM),
716 /* 0x7a */ IEMOP_X4(iemOp_InvalidNeedRM),
717 /* 0x7b */ IEMOP_X4(iemOp_InvalidNeedRM),
718 /* 0x7c */ IEMOP_X4(iemOp_InvalidNeedRM),
719 /* 0x7d */ IEMOP_X4(iemOp_InvalidNeedRM),
720 /* 0x7e */ IEMOP_X4(iemOp_InvalidNeedRM),
721 /* 0x7f */ IEMOP_X4(iemOp_InvalidNeedRM),
722
723 /* 0x80 */ iemOp_InvalidNeedRM, iemOp_invept_Gy_Mdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
724 /* 0x81 */ iemOp_InvalidNeedRM, iemOp_invvpid_Gy_Mdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
725 /* 0x82 */ iemOp_InvalidNeedRM, iemOp_invpcid_Gy_Mdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
726 /* 0x83 */ IEMOP_X4(iemOp_InvalidNeedRM),
727 /* 0x84 */ IEMOP_X4(iemOp_InvalidNeedRM),
728 /* 0x85 */ IEMOP_X4(iemOp_InvalidNeedRM),
729 /* 0x86 */ IEMOP_X4(iemOp_InvalidNeedRM),
730 /* 0x87 */ IEMOP_X4(iemOp_InvalidNeedRM),
731 /* 0x88 */ IEMOP_X4(iemOp_InvalidNeedRM),
732 /* 0x89 */ IEMOP_X4(iemOp_InvalidNeedRM),
733 /* 0x8a */ IEMOP_X4(iemOp_InvalidNeedRM),
734 /* 0x8b */ IEMOP_X4(iemOp_InvalidNeedRM),
735 /* 0x8c */ IEMOP_X4(iemOp_InvalidNeedRM),
736 /* 0x8d */ IEMOP_X4(iemOp_InvalidNeedRM),
737 /* 0x8e */ IEMOP_X4(iemOp_InvalidNeedRM),
738 /* 0x8f */ IEMOP_X4(iemOp_InvalidNeedRM),
739
740 /* 0x90 */ IEMOP_X4(iemOp_InvalidNeedRM),
741 /* 0x91 */ IEMOP_X4(iemOp_InvalidNeedRM),
742 /* 0x92 */ IEMOP_X4(iemOp_InvalidNeedRM),
743 /* 0x93 */ IEMOP_X4(iemOp_InvalidNeedRM),
744 /* 0x94 */ IEMOP_X4(iemOp_InvalidNeedRM),
745 /* 0x95 */ IEMOP_X4(iemOp_InvalidNeedRM),
746 /* 0x96 */ IEMOP_X4(iemOp_InvalidNeedRM),
747 /* 0x97 */ IEMOP_X4(iemOp_InvalidNeedRM),
748 /* 0x98 */ IEMOP_X4(iemOp_InvalidNeedRM),
749 /* 0x99 */ IEMOP_X4(iemOp_InvalidNeedRM),
750 /* 0x9a */ IEMOP_X4(iemOp_InvalidNeedRM),
751 /* 0x9b */ IEMOP_X4(iemOp_InvalidNeedRM),
752 /* 0x9c */ IEMOP_X4(iemOp_InvalidNeedRM),
753 /* 0x9d */ IEMOP_X4(iemOp_InvalidNeedRM),
754 /* 0x9e */ IEMOP_X4(iemOp_InvalidNeedRM),
755 /* 0x9f */ IEMOP_X4(iemOp_InvalidNeedRM),
756
757 /* 0xa0 */ IEMOP_X4(iemOp_InvalidNeedRM),
758 /* 0xa1 */ IEMOP_X4(iemOp_InvalidNeedRM),
759 /* 0xa2 */ IEMOP_X4(iemOp_InvalidNeedRM),
760 /* 0xa3 */ IEMOP_X4(iemOp_InvalidNeedRM),
761 /* 0xa4 */ IEMOP_X4(iemOp_InvalidNeedRM),
762 /* 0xa5 */ IEMOP_X4(iemOp_InvalidNeedRM),
763 /* 0xa6 */ IEMOP_X4(iemOp_InvalidNeedRM),
764 /* 0xa7 */ IEMOP_X4(iemOp_InvalidNeedRM),
765 /* 0xa8 */ IEMOP_X4(iemOp_InvalidNeedRM),
766 /* 0xa9 */ IEMOP_X4(iemOp_InvalidNeedRM),
767 /* 0xaa */ IEMOP_X4(iemOp_InvalidNeedRM),
768 /* 0xab */ IEMOP_X4(iemOp_InvalidNeedRM),
769 /* 0xac */ IEMOP_X4(iemOp_InvalidNeedRM),
770 /* 0xad */ IEMOP_X4(iemOp_InvalidNeedRM),
771 /* 0xae */ IEMOP_X4(iemOp_InvalidNeedRM),
772 /* 0xaf */ IEMOP_X4(iemOp_InvalidNeedRM),
773
774 /* 0xb0 */ IEMOP_X4(iemOp_InvalidNeedRM),
775 /* 0xb1 */ IEMOP_X4(iemOp_InvalidNeedRM),
776 /* 0xb2 */ IEMOP_X4(iemOp_InvalidNeedRM),
777 /* 0xb3 */ IEMOP_X4(iemOp_InvalidNeedRM),
778 /* 0xb4 */ IEMOP_X4(iemOp_InvalidNeedRM),
779 /* 0xb5 */ IEMOP_X4(iemOp_InvalidNeedRM),
780 /* 0xb6 */ IEMOP_X4(iemOp_InvalidNeedRM),
781 /* 0xb7 */ IEMOP_X4(iemOp_InvalidNeedRM),
782 /* 0xb8 */ IEMOP_X4(iemOp_InvalidNeedRM),
783 /* 0xb9 */ IEMOP_X4(iemOp_InvalidNeedRM),
784 /* 0xba */ IEMOP_X4(iemOp_InvalidNeedRM),
785 /* 0xbb */ IEMOP_X4(iemOp_InvalidNeedRM),
786 /* 0xbc */ IEMOP_X4(iemOp_InvalidNeedRM),
787 /* 0xbd */ IEMOP_X4(iemOp_InvalidNeedRM),
788 /* 0xbe */ IEMOP_X4(iemOp_InvalidNeedRM),
789 /* 0xbf */ IEMOP_X4(iemOp_InvalidNeedRM),
790
791 /* 0xc0 */ IEMOP_X4(iemOp_InvalidNeedRM),
792 /* 0xc1 */ IEMOP_X4(iemOp_InvalidNeedRM),
793 /* 0xc2 */ IEMOP_X4(iemOp_InvalidNeedRM),
794 /* 0xc3 */ IEMOP_X4(iemOp_InvalidNeedRM),
795 /* 0xc4 */ IEMOP_X4(iemOp_InvalidNeedRM),
796 /* 0xc5 */ IEMOP_X4(iemOp_InvalidNeedRM),
797 /* 0xc6 */ IEMOP_X4(iemOp_InvalidNeedRM),
798 /* 0xc7 */ IEMOP_X4(iemOp_InvalidNeedRM),
799 /* 0xc8 */ iemOp_sha1nexte_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
800 /* 0xc9 */ iemOp_sha1msg1_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
801 /* 0xca */ iemOp_sha1msg2_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
802 /* 0xcb */ iemOp_sha256rnds2_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
803 /* 0xcc */ iemOp_sha256msg1_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
804 /* 0xcd */ iemOp_sha256msg2_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
805 /* 0xce */ IEMOP_X4(iemOp_InvalidNeedRM),
806 /* 0xcf */ IEMOP_X4(iemOp_InvalidNeedRM),
807
808 /* 0xd0 */ IEMOP_X4(iemOp_InvalidNeedRM),
809 /* 0xd1 */ IEMOP_X4(iemOp_InvalidNeedRM),
810 /* 0xd2 */ IEMOP_X4(iemOp_InvalidNeedRM),
811 /* 0xd3 */ IEMOP_X4(iemOp_InvalidNeedRM),
812 /* 0xd4 */ IEMOP_X4(iemOp_InvalidNeedRM),
813 /* 0xd5 */ IEMOP_X4(iemOp_InvalidNeedRM),
814 /* 0xd6 */ IEMOP_X4(iemOp_InvalidNeedRM),
815 /* 0xd7 */ IEMOP_X4(iemOp_InvalidNeedRM),
816 /* 0xd8 */ IEMOP_X4(iemOp_InvalidNeedRM),
817 /* 0xd9 */ IEMOP_X4(iemOp_InvalidNeedRM),
818 /* 0xda */ IEMOP_X4(iemOp_InvalidNeedRM),
819 /* 0xdb */ iemOp_InvalidNeedRM, iemOp_aesimc_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
820 /* 0xdc */ iemOp_InvalidNeedRM, iemOp_aesenc_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
821 /* 0xdd */ iemOp_InvalidNeedRM, iemOp_aesenclast_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
822 /* 0xde */ iemOp_InvalidNeedRM, iemOp_aesdec_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
823 /* 0xdf */ iemOp_InvalidNeedRM, iemOp_aesdeclast_Vdq_Wdq, iemOp_InvalidNeedRM, iemOp_InvalidNeedRM,
824
825 /* 0xe0 */ IEMOP_X4(iemOp_InvalidNeedRM),
826 /* 0xe1 */ IEMOP_X4(iemOp_InvalidNeedRM),
827 /* 0xe2 */ IEMOP_X4(iemOp_InvalidNeedRM),
828 /* 0xe3 */ IEMOP_X4(iemOp_InvalidNeedRM),
829 /* 0xe4 */ IEMOP_X4(iemOp_InvalidNeedRM),
830 /* 0xe5 */ IEMOP_X4(iemOp_InvalidNeedRM),
831 /* 0xe6 */ IEMOP_X4(iemOp_InvalidNeedRM),
832 /* 0xe7 */ IEMOP_X4(iemOp_InvalidNeedRM),
833 /* 0xe8 */ IEMOP_X4(iemOp_InvalidNeedRM),
834 /* 0xe9 */ IEMOP_X4(iemOp_InvalidNeedRM),
835 /* 0xea */ IEMOP_X4(iemOp_InvalidNeedRM),
836 /* 0xeb */ IEMOP_X4(iemOp_InvalidNeedRM),
837 /* 0xec */ IEMOP_X4(iemOp_InvalidNeedRM),
838 /* 0xed */ IEMOP_X4(iemOp_InvalidNeedRM),
839 /* 0xee */ IEMOP_X4(iemOp_InvalidNeedRM),
840 /* 0xef */ IEMOP_X4(iemOp_InvalidNeedRM),
841
842 /* 0xf0 */ iemOp_movbe_Gy_My, iemOp_movbe_Gw_Mw, iemOp_InvalidNeedRM, iemOp_crc32_Gb_Eb,
843 /* 0xf1 */ iemOp_movbe_My_Gy, iemOp_movbe_Mw_Gw, iemOp_InvalidNeedRM, iemOp_crc32_Gv_Ev,
844 /* 0xf2 */ IEMOP_X4(iemOp_InvalidNeedRM),
845 /* 0xf3 */ IEMOP_X4(iemOp_InvalidNeedRM),
846 /* 0xf4 */ IEMOP_X4(iemOp_InvalidNeedRM),
847 /* 0xf5 */ IEMOP_X4(iemOp_InvalidNeedRM),
848 /* 0xf6 */ iemOp_InvalidNeedRM, iemOp_adcx_Gy_Ey, iemOp_adox_Gy_Ey, iemOp_InvalidNeedRM,
849 /* 0xf7 */ IEMOP_X4(iemOp_InvalidNeedRM),
850 /* 0xf8 */ IEMOP_X4(iemOp_InvalidNeedRM),
851 /* 0xf9 */ IEMOP_X4(iemOp_InvalidNeedRM),
852 /* 0xfa */ IEMOP_X4(iemOp_InvalidNeedRM),
853 /* 0xfb */ IEMOP_X4(iemOp_InvalidNeedRM),
854 /* 0xfc */ IEMOP_X4(iemOp_InvalidNeedRM),
855 /* 0xfd */ IEMOP_X4(iemOp_InvalidNeedRM),
856 /* 0xfe */ IEMOP_X4(iemOp_InvalidNeedRM),
857 /* 0xff */ IEMOP_X4(iemOp_InvalidNeedRM),
858};
859AssertCompile(RT_ELEMENTS(g_apfnThreeByte0f38) == 1024);
860
861/** @} */
862
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette