1 /// @file xed-operand-accessors.h
2 
3 // This file was automatically generated.
4 // Do not edit this file.
5 
6 #if !defined(XED_OPERAND_ACCESSORS_H)
7 # define XED_OPERAND_ACCESSORS_H
8 /*BEGIN_LEGAL
9 
10 Copyright (c) 2018 Intel Corporation
11 
12   Licensed under the Apache License, Version 2.0 (the "License");
13   you may not use this file except in compliance with the License.
14   You may obtain a copy of the License at
15 
16       http://www.apache.org/licenses/LICENSE-2.0
17 
18   Unless required by applicable law or agreed to in writing, software
19   distributed under the License is distributed on an "AS IS" BASIS,
20   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21   See the License for the specific language governing permissions and
22   limitations under the License.
23 
24 END_LEGAL */
25 #include "xed-decoded-inst.h"
26 #include "xed-operand-storage.h"
27 static XED_INLINE xed_bits_t xed3_operand_get_sib(const xed_decoded_inst_t* d);
28 
29 static XED_INLINE void xed3_operand_set_sib(xed_decoded_inst_t* d, xed_bits_t opval);
30 
31 static XED_INLINE xed_bits_t xed3_operand_get_last_f2f3(const xed_decoded_inst_t* d);
32 
33 static XED_INLINE void xed3_operand_set_last_f2f3(xed_decoded_inst_t* d, xed_bits_t opval);
34 
35 static XED_INLINE xed_uint8_t xed3_operand_get_disp_width(const xed_decoded_inst_t* d);
36 
37 static XED_INLINE void xed3_operand_set_disp_width(xed_decoded_inst_t* d, xed_uint8_t opval);
38 
39 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment0(const xed_decoded_inst_t* d);
40 
41 static XED_INLINE void xed3_operand_set_using_default_segment0(xed_decoded_inst_t* d, xed_bits_t opval);
42 
43 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment1(const xed_decoded_inst_t* d);
44 
45 static XED_INLINE void xed3_operand_set_using_default_segment1(xed_decoded_inst_t* d, xed_bits_t opval);
46 
47 static XED_INLINE xed_bits_t xed3_operand_get_hint(const xed_decoded_inst_t* d);
48 
49 static XED_INLINE void xed3_operand_set_hint(xed_decoded_inst_t* d, xed_bits_t opval);
50 
51 static XED_INLINE xed_bits_t xed3_operand_get_sae(const xed_decoded_inst_t* d);
52 
53 static XED_INLINE void xed3_operand_set_sae(xed_decoded_inst_t* d, xed_bits_t opval);
54 
55 static XED_INLINE xed_bits_t xed3_operand_get_mode_first_prefix(const xed_decoded_inst_t* d);
56 
57 static XED_INLINE void xed3_operand_set_mode_first_prefix(xed_decoded_inst_t* d, xed_bits_t opval);
58 
59 static XED_INLINE xed_uint8_t xed3_operand_get_uimm1(const xed_decoded_inst_t* d);
60 
61 static XED_INLINE void xed3_operand_set_uimm1(xed_decoded_inst_t* d, xed_uint8_t opval);
62 
63 static XED_INLINE xed_uint64_t xed3_operand_get_uimm0(const xed_decoded_inst_t* d);
64 
65 static XED_INLINE void xed3_operand_set_uimm0(xed_decoded_inst_t* d, xed_uint64_t opval);
66 
67 static XED_INLINE xed_bits_t xed3_operand_get_smode(const xed_decoded_inst_t* d);
68 
69 static XED_INLINE void xed3_operand_set_smode(xed_decoded_inst_t* d, xed_bits_t opval);
70 
71 static XED_INLINE xed_bits_t xed3_operand_get_rm(const xed_decoded_inst_t* d);
72 
73 static XED_INLINE void xed3_operand_set_rm(xed_decoded_inst_t* d, xed_bits_t opval);
74 
75 static XED_INLINE xed_chip_enum_t xed3_operand_get_chip(const xed_decoded_inst_t* d);
76 
77 static XED_INLINE void xed3_operand_set_chip(xed_decoded_inst_t* d, xed_chip_enum_t opval);
78 
79 static XED_INLINE xed_bits_t xed3_operand_get_amd3dnow(const xed_decoded_inst_t* d);
80 
81 static XED_INLINE void xed3_operand_set_amd3dnow(xed_decoded_inst_t* d, xed_bits_t opval);
82 
83 static XED_INLINE xed_bits_t xed3_operand_get_map(const xed_decoded_inst_t* d);
84 
85 static XED_INLINE void xed3_operand_set_map(xed_decoded_inst_t* d, xed_bits_t opval);
86 
87 static XED_INLINE xed_bits_t xed3_operand_get_sibindex(const xed_decoded_inst_t* d);
88 
89 static XED_INLINE void xed3_operand_set_sibindex(xed_decoded_inst_t* d, xed_bits_t opval);
90 
91 static XED_INLINE xed_bits_t xed3_operand_get_agen(const xed_decoded_inst_t* d);
92 
93 static XED_INLINE void xed3_operand_set_agen(xed_decoded_inst_t* d, xed_bits_t opval);
94 
95 static XED_INLINE xed_bits_t xed3_operand_get_nominal_opcode(const xed_decoded_inst_t* d);
96 
97 static XED_INLINE void xed3_operand_set_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval);
98 
99 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg1(const xed_decoded_inst_t* d);
100 
101 static XED_INLINE void xed3_operand_set_seg1(xed_decoded_inst_t* d, xed_reg_enum_t opval);
102 
103 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg0(const xed_decoded_inst_t* d);
104 
105 static XED_INLINE void xed3_operand_set_seg0(xed_decoded_inst_t* d, xed_reg_enum_t opval);
106 
107 static XED_INLINE xed_bits_t xed3_operand_get_cldemote(const xed_decoded_inst_t* d);
108 
109 static XED_INLINE void xed3_operand_set_cldemote(xed_decoded_inst_t* d, xed_bits_t opval);
110 
111 static XED_INLINE xed_bits_t xed3_operand_get_nprefixes(const xed_decoded_inst_t* d);
112 
113 static XED_INLINE void xed3_operand_set_nprefixes(xed_decoded_inst_t* d, xed_bits_t opval);
114 
115 static XED_INLINE xed_reg_enum_t xed3_operand_get_index(const xed_decoded_inst_t* d);
116 
117 static XED_INLINE void xed3_operand_set_index(xed_decoded_inst_t* d, xed_reg_enum_t opval);
118 
119 static XED_INLINE xed_bits_t xed3_operand_get_ild_f2(const xed_decoded_inst_t* d);
120 
121 static XED_INLINE void xed3_operand_set_ild_f2(xed_decoded_inst_t* d, xed_bits_t opval);
122 
123 static XED_INLINE xed_bits_t xed3_operand_get_scale(const xed_decoded_inst_t* d);
124 
125 static XED_INLINE void xed3_operand_set_scale(xed_decoded_inst_t* d, xed_bits_t opval);
126 
127 static XED_INLINE xed_bits_t xed3_operand_get_llrc(const xed_decoded_inst_t* d);
128 
129 static XED_INLINE void xed3_operand_set_llrc(xed_decoded_inst_t* d, xed_bits_t opval);
130 
131 static XED_INLINE xed_bits_t xed3_operand_get_esrc(const xed_decoded_inst_t* d);
132 
133 static XED_INLINE void xed3_operand_set_esrc(xed_decoded_inst_t* d, xed_bits_t opval);
134 
135 static XED_INLINE xed_bits_t xed3_operand_get_nrexes(const xed_decoded_inst_t* d);
136 
137 static XED_INLINE void xed3_operand_set_nrexes(xed_decoded_inst_t* d, xed_bits_t opval);
138 
139 static XED_INLINE xed_bits_t xed3_operand_get_pos_sib(const xed_decoded_inst_t* d);
140 
141 static XED_INLINE void xed3_operand_set_pos_sib(xed_decoded_inst_t* d, xed_bits_t opval);
142 
143 static XED_INLINE xed_bits_t xed3_operand_get_osz(const xed_decoded_inst_t* d);
144 
145 static XED_INLINE void xed3_operand_set_osz(xed_decoded_inst_t* d, xed_bits_t opval);
146 
147 static XED_INLINE xed_bits_t xed3_operand_get_has_sib(const xed_decoded_inst_t* d);
148 
149 static XED_INLINE void xed3_operand_set_has_sib(xed_decoded_inst_t* d, xed_bits_t opval);
150 
151 static XED_INLINE xed_bits_t xed3_operand_get_eosz(const xed_decoded_inst_t* d);
152 
153 static XED_INLINE void xed3_operand_set_eosz(xed_decoded_inst_t* d, xed_bits_t opval);
154 
155 static XED_INLINE xed_bits_t xed3_operand_get_element_size(const xed_decoded_inst_t* d);
156 
157 static XED_INLINE void xed3_operand_set_element_size(xed_decoded_inst_t* d, xed_bits_t opval);
158 
159 static XED_INLINE xed_bits_t xed3_operand_get_pos_disp(const xed_decoded_inst_t* d);
160 
161 static XED_INLINE void xed3_operand_set_pos_disp(xed_decoded_inst_t* d, xed_bits_t opval);
162 
163 static XED_INLINE xed_bits_t xed3_operand_get_ubit(const xed_decoded_inst_t* d);
164 
165 static XED_INLINE void xed3_operand_set_ubit(xed_decoded_inst_t* d, xed_bits_t opval);
166 
167 static XED_INLINE xed_bits_t xed3_operand_get_vexdest210(const xed_decoded_inst_t* d);
168 
169 static XED_INLINE void xed3_operand_set_vexdest210(xed_decoded_inst_t* d, xed_bits_t opval);
170 
171 static XED_INLINE xed_bits_t xed3_operand_get_vexdest3(const xed_decoded_inst_t* d);
172 
173 static XED_INLINE void xed3_operand_set_vexdest3(xed_decoded_inst_t* d, xed_bits_t opval);
174 
175 static XED_INLINE xed_bits_t xed3_operand_get_cet(const xed_decoded_inst_t* d);
176 
177 static XED_INLINE void xed3_operand_set_cet(xed_decoded_inst_t* d, xed_bits_t opval);
178 
179 static XED_INLINE xed_bits_t xed3_operand_get_ptr(const xed_decoded_inst_t* d);
180 
181 static XED_INLINE void xed3_operand_set_ptr(xed_decoded_inst_t* d, xed_bits_t opval);
182 
183 static XED_INLINE xed_bits_t xed3_operand_get_p4(const xed_decoded_inst_t* d);
184 
185 static XED_INLINE void xed3_operand_set_p4(xed_decoded_inst_t* d, xed_bits_t opval);
186 
187 static XED_INLINE xed_bits_t xed3_operand_get_modep55c(const xed_decoded_inst_t* d);
188 
189 static XED_INLINE void xed3_operand_set_modep55c(xed_decoded_inst_t* d, xed_bits_t opval);
190 
191 static XED_INLINE xed_iclass_enum_t xed3_operand_get_iclass(const xed_decoded_inst_t* d);
192 
193 static XED_INLINE void xed3_operand_set_iclass(xed_decoded_inst_t* d, xed_iclass_enum_t opval);
194 
195 static XED_INLINE xed_uint8_t xed3_operand_get_imm_width(const xed_decoded_inst_t* d);
196 
197 static XED_INLINE void xed3_operand_set_imm_width(xed_decoded_inst_t* d, xed_uint8_t opval);
198 
199 static XED_INLINE xed_bits_t xed3_operand_get_bcrc(const xed_decoded_inst_t* d);
200 
201 static XED_INLINE void xed3_operand_set_bcrc(xed_decoded_inst_t* d, xed_bits_t opval);
202 
203 static XED_INLINE xed_error_enum_t xed3_operand_get_error(const xed_decoded_inst_t* d);
204 
205 static XED_INLINE void xed3_operand_set_error(xed_decoded_inst_t* d, xed_error_enum_t opval);
206 
207 static XED_INLINE xed_bits_t xed3_operand_get_nelem(const xed_decoded_inst_t* d);
208 
209 static XED_INLINE void xed3_operand_set_nelem(xed_decoded_inst_t* d, xed_bits_t opval);
210 
211 static XED_INLINE xed_bits_t xed3_operand_get_imm0signed(const xed_decoded_inst_t* d);
212 
213 static XED_INLINE void xed3_operand_set_imm0signed(xed_decoded_inst_t* d, xed_bits_t opval);
214 
215 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg8(const xed_decoded_inst_t* d);
216 
217 static XED_INLINE void xed3_operand_set_reg8(xed_decoded_inst_t* d, xed_reg_enum_t opval);
218 
219 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg6(const xed_decoded_inst_t* d);
220 
221 static XED_INLINE void xed3_operand_set_reg6(xed_decoded_inst_t* d, xed_reg_enum_t opval);
222 
223 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg7(const xed_decoded_inst_t* d);
224 
225 static XED_INLINE void xed3_operand_set_reg7(xed_decoded_inst_t* d, xed_reg_enum_t opval);
226 
227 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg4(const xed_decoded_inst_t* d);
228 
229 static XED_INLINE void xed3_operand_set_reg4(xed_decoded_inst_t* d, xed_reg_enum_t opval);
230 
231 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg5(const xed_decoded_inst_t* d);
232 
233 static XED_INLINE void xed3_operand_set_reg5(xed_decoded_inst_t* d, xed_reg_enum_t opval);
234 
235 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg2(const xed_decoded_inst_t* d);
236 
237 static XED_INLINE void xed3_operand_set_reg2(xed_decoded_inst_t* d, xed_reg_enum_t opval);
238 
239 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg3(const xed_decoded_inst_t* d);
240 
241 static XED_INLINE void xed3_operand_set_reg3(xed_decoded_inst_t* d, xed_reg_enum_t opval);
242 
243 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg0(const xed_decoded_inst_t* d);
244 
245 static XED_INLINE void xed3_operand_set_reg0(xed_decoded_inst_t* d, xed_reg_enum_t opval);
246 
247 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg1(const xed_decoded_inst_t* d);
248 
249 static XED_INLINE void xed3_operand_set_reg1(xed_decoded_inst_t* d, xed_reg_enum_t opval);
250 
251 static XED_INLINE xed_reg_enum_t xed3_operand_get_base0(const xed_decoded_inst_t* d);
252 
253 static XED_INLINE void xed3_operand_set_base0(xed_decoded_inst_t* d, xed_reg_enum_t opval);
254 
255 static XED_INLINE xed_reg_enum_t xed3_operand_get_base1(const xed_decoded_inst_t* d);
256 
257 static XED_INLINE void xed3_operand_set_base1(xed_decoded_inst_t* d, xed_reg_enum_t opval);
258 
259 static XED_INLINE xed_bits_t xed3_operand_get_mod(const xed_decoded_inst_t* d);
260 
261 static XED_INLINE void xed3_operand_set_mod(xed_decoded_inst_t* d, xed_bits_t opval);
262 
263 static XED_INLINE xed_int64_t xed3_operand_get_disp(const xed_decoded_inst_t* d);
264 
265 static XED_INLINE void xed3_operand_set_disp(xed_decoded_inst_t* d, xed_int64_t opval);
266 
267 static XED_INLINE xed_bits_t xed3_operand_get_rex(const xed_decoded_inst_t* d);
268 
269 static XED_INLINE void xed3_operand_set_rex(xed_decoded_inst_t* d, xed_bits_t opval);
270 
271 static XED_INLINE xed_bits_t xed3_operand_get_rexb(const xed_decoded_inst_t* d);
272 
273 static XED_INLINE void xed3_operand_set_rexb(xed_decoded_inst_t* d, xed_bits_t opval);
274 
275 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm(const xed_decoded_inst_t* d);
276 
277 static XED_INLINE void xed3_operand_set_pos_imm(xed_decoded_inst_t* d, xed_bits_t opval);
278 
279 static XED_INLINE xed_bits_t xed3_operand_get_rep(const xed_decoded_inst_t* d);
280 
281 static XED_INLINE void xed3_operand_set_rep(xed_decoded_inst_t* d, xed_bits_t opval);
282 
283 static XED_INLINE xed_bits_t xed3_operand_get_rexw(const xed_decoded_inst_t* d);
284 
285 static XED_INLINE void xed3_operand_set_rexw(xed_decoded_inst_t* d, xed_bits_t opval);
286 
287 static XED_INLINE xed_bits_t xed3_operand_get_ild_f3(const xed_decoded_inst_t* d);
288 
289 static XED_INLINE void xed3_operand_set_ild_f3(xed_decoded_inst_t* d, xed_bits_t opval);
290 
291 static XED_INLINE xed_bits_t xed3_operand_get_rexr(const xed_decoded_inst_t* d);
292 
293 static XED_INLINE void xed3_operand_set_rexr(xed_decoded_inst_t* d, xed_bits_t opval);
294 
295 static XED_INLINE xed_bits_t xed3_operand_get_encoder_preferred(const xed_decoded_inst_t* d);
296 
297 static XED_INLINE void xed3_operand_set_encoder_preferred(xed_decoded_inst_t* d, xed_bits_t opval);
298 
299 static XED_INLINE xed_bits_t xed3_operand_get_reg(const xed_decoded_inst_t* d);
300 
301 static XED_INLINE void xed3_operand_set_reg(xed_decoded_inst_t* d, xed_bits_t opval);
302 
303 static XED_INLINE xed_bits_t xed3_operand_get_pos_nominal_opcode(const xed_decoded_inst_t* d);
304 
305 static XED_INLINE void xed3_operand_set_pos_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval);
306 
307 static XED_INLINE xed_bits_t xed3_operand_get_rexx(const xed_decoded_inst_t* d);
308 
309 static XED_INLINE void xed3_operand_set_rexx(xed_decoded_inst_t* d, xed_bits_t opval);
310 
311 static XED_INLINE xed_bits_t xed3_operand_get_prefix66(const xed_decoded_inst_t* d);
312 
313 static XED_INLINE void xed3_operand_set_prefix66(xed_decoded_inst_t* d, xed_bits_t opval);
314 
315 static XED_INLINE xed_bits_t xed3_operand_get_rexrr(const xed_decoded_inst_t* d);
316 
317 static XED_INLINE void xed3_operand_set_rexrr(xed_decoded_inst_t* d, xed_bits_t opval);
318 
319 static XED_INLINE xed_bits_t xed3_operand_get_asz(const xed_decoded_inst_t* d);
320 
321 static XED_INLINE void xed3_operand_set_asz(xed_decoded_inst_t* d, xed_bits_t opval);
322 
323 static XED_INLINE xed_bits_t xed3_operand_get_mask(const xed_decoded_inst_t* d);
324 
325 static XED_INLINE void xed3_operand_set_mask(xed_decoded_inst_t* d, xed_bits_t opval);
326 
327 static XED_INLINE xed_bits_t xed3_operand_get_mem1(const xed_decoded_inst_t* d);
328 
329 static XED_INLINE void xed3_operand_set_mem1(xed_decoded_inst_t* d, xed_bits_t opval);
330 
331 static XED_INLINE xed_bits_t xed3_operand_get_easz(const xed_decoded_inst_t* d);
332 
333 static XED_INLINE void xed3_operand_set_easz(xed_decoded_inst_t* d, xed_bits_t opval);
334 
335 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm1(const xed_decoded_inst_t* d);
336 
337 static XED_INLINE void xed3_operand_set_pos_imm1(xed_decoded_inst_t* d, xed_bits_t opval);
338 
339 static XED_INLINE xed_uint16_t xed3_operand_get_mem_width(const xed_decoded_inst_t* d);
340 
341 static XED_INLINE void xed3_operand_set_mem_width(xed_decoded_inst_t* d, xed_uint16_t opval);
342 
343 static XED_INLINE xed_bits_t xed3_operand_get_lzcnt(const xed_decoded_inst_t* d);
344 
345 static XED_INLINE void xed3_operand_set_lzcnt(xed_decoded_inst_t* d, xed_bits_t opval);
346 
347 static XED_INLINE xed_bits_t xed3_operand_get_mem0(const xed_decoded_inst_t* d);
348 
349 static XED_INLINE void xed3_operand_set_mem0(xed_decoded_inst_t* d, xed_bits_t opval);
350 
351 static XED_INLINE xed_uint8_t xed3_operand_get_brdisp_width(const xed_decoded_inst_t* d);
352 
353 static XED_INLINE void xed3_operand_set_brdisp_width(xed_decoded_inst_t* d, xed_uint8_t opval);
354 
355 static XED_INLINE xed_bits_t xed3_operand_get_imm1_bytes(const xed_decoded_inst_t* d);
356 
357 static XED_INLINE void xed3_operand_set_imm1_bytes(xed_decoded_inst_t* d, xed_bits_t opval);
358 
359 static XED_INLINE xed_bits_t xed3_operand_get_tzcnt(const xed_decoded_inst_t* d);
360 
361 static XED_INLINE void xed3_operand_set_tzcnt(xed_decoded_inst_t* d, xed_bits_t opval);
362 
363 static XED_INLINE xed_bits_t xed3_operand_get_df64(const xed_decoded_inst_t* d);
364 
365 static XED_INLINE void xed3_operand_set_df64(xed_decoded_inst_t* d, xed_bits_t opval);
366 
367 static XED_INLINE xed_bits_t xed3_operand_get_lock(const xed_decoded_inst_t* d);
368 
369 static XED_INLINE void xed3_operand_set_lock(xed_decoded_inst_t* d, xed_bits_t opval);
370 
371 static XED_INLINE xed_bits_t xed3_operand_get_has_modrm(const xed_decoded_inst_t* d);
372 
373 static XED_INLINE void xed3_operand_set_has_modrm(xed_decoded_inst_t* d, xed_bits_t opval);
374 
375 static XED_INLINE xed_bits_t xed3_operand_get_zeroing(const xed_decoded_inst_t* d);
376 
377 static XED_INLINE void xed3_operand_set_zeroing(xed_decoded_inst_t* d, xed_bits_t opval);
378 
379 static XED_INLINE xed_bits_t xed3_operand_get_srm(const xed_decoded_inst_t* d);
380 
381 static XED_INLINE void xed3_operand_set_srm(xed_decoded_inst_t* d, xed_bits_t opval);
382 
383 static XED_INLINE xed_bits_t xed3_operand_get_vexvalid(const xed_decoded_inst_t* d);
384 
385 static XED_INLINE void xed3_operand_set_vexvalid(xed_decoded_inst_t* d, xed_bits_t opval);
386 
387 static XED_INLINE xed_bits_t xed3_operand_get_needrex(const xed_decoded_inst_t* d);
388 
389 static XED_INLINE void xed3_operand_set_needrex(xed_decoded_inst_t* d, xed_bits_t opval);
390 
391 static XED_INLINE xed_bits_t xed3_operand_get_skip_osz(const xed_decoded_inst_t* d);
392 
393 static XED_INLINE void xed3_operand_set_skip_osz(xed_decoded_inst_t* d, xed_bits_t opval);
394 
395 static XED_INLINE xed_reg_enum_t xed3_operand_get_outreg(const xed_decoded_inst_t* d);
396 
397 static XED_INLINE void xed3_operand_set_outreg(xed_decoded_inst_t* d, xed_reg_enum_t opval);
398 
399 static XED_INLINE xed_bits_t xed3_operand_get_default_seg(const xed_decoded_inst_t* d);
400 
401 static XED_INLINE void xed3_operand_set_default_seg(xed_decoded_inst_t* d, xed_bits_t opval);
402 
403 static XED_INLINE xed_bits_t xed3_operand_get_nseg_prefixes(const xed_decoded_inst_t* d);
404 
405 static XED_INLINE void xed3_operand_set_nseg_prefixes(xed_decoded_inst_t* d, xed_bits_t opval);
406 
407 static XED_INLINE xed_bits_t xed3_operand_get_vex_c4(const xed_decoded_inst_t* d);
408 
409 static XED_INLINE void xed3_operand_set_vex_c4(xed_decoded_inst_t* d, xed_bits_t opval);
410 
411 static XED_INLINE xed_bits_t xed3_operand_get_pos_modrm(const xed_decoded_inst_t* d);
412 
413 static XED_INLINE void xed3_operand_set_pos_modrm(xed_decoded_inst_t* d, xed_bits_t opval);
414 
415 static XED_INLINE xed_bits_t xed3_operand_get_bcast(const xed_decoded_inst_t* d);
416 
417 static XED_INLINE void xed3_operand_set_bcast(xed_decoded_inst_t* d, xed_bits_t opval);
418 
419 static XED_INLINE xed_operand_element_type_enum_t xed3_operand_get_type(const xed_decoded_inst_t* d);
420 
421 static XED_INLINE void xed3_operand_set_type(xed_decoded_inst_t* d, xed_operand_element_type_enum_t opval);
422 
423 static XED_INLINE xed_bits_t xed3_operand_get_seg_ovd(const xed_decoded_inst_t* d);
424 
425 static XED_INLINE void xed3_operand_set_seg_ovd(xed_decoded_inst_t* d, xed_bits_t opval);
426 
427 static XED_INLINE xed_bits_t xed3_operand_get_vex_prefix(const xed_decoded_inst_t* d);
428 
429 static XED_INLINE void xed3_operand_set_vex_prefix(xed_decoded_inst_t* d, xed_bits_t opval);
430 
431 static XED_INLINE xed_bits_t xed3_operand_get_dummy(const xed_decoded_inst_t* d);
432 
433 static XED_INLINE void xed3_operand_set_dummy(xed_decoded_inst_t* d, xed_bits_t opval);
434 
435 static XED_INLINE xed_bits_t xed3_operand_get_norex(const xed_decoded_inst_t* d);
436 
437 static XED_INLINE void xed3_operand_set_norex(xed_decoded_inst_t* d, xed_bits_t opval);
438 
439 static XED_INLINE xed_bits_t xed3_operand_get_roundc(const xed_decoded_inst_t* d);
440 
441 static XED_INLINE void xed3_operand_set_roundc(xed_decoded_inst_t* d, xed_bits_t opval);
442 
443 static XED_INLINE xed_bits_t xed3_operand_get_sibbase(const xed_decoded_inst_t* d);
444 
445 static XED_INLINE void xed3_operand_set_sibbase(xed_decoded_inst_t* d, xed_bits_t opval);
446 
447 static XED_INLINE xed_bits_t xed3_operand_get_need_memdisp(const xed_decoded_inst_t* d);
448 
449 static XED_INLINE void xed3_operand_set_need_memdisp(xed_decoded_inst_t* d, xed_bits_t opval);
450 
451 static XED_INLINE xed_bits_t xed3_operand_get_out_of_bytes(const xed_decoded_inst_t* d);
452 
453 static XED_INLINE void xed3_operand_set_out_of_bytes(xed_decoded_inst_t* d, xed_bits_t opval);
454 
455 static XED_INLINE xed_bits_t xed3_operand_get_imm1(const xed_decoded_inst_t* d);
456 
457 static XED_INLINE void xed3_operand_set_imm1(xed_decoded_inst_t* d, xed_bits_t opval);
458 
459 static XED_INLINE xed_bits_t xed3_operand_get_imm0(const xed_decoded_inst_t* d);
460 
461 static XED_INLINE void xed3_operand_set_imm0(xed_decoded_inst_t* d, xed_bits_t opval);
462 
463 static XED_INLINE xed_bits_t xed3_operand_get_no_scale_disp8(const xed_decoded_inst_t* d);
464 
465 static XED_INLINE void xed3_operand_set_no_scale_disp8(xed_decoded_inst_t* d, xed_bits_t opval);
466 
467 static XED_INLINE xed_bits_t xed3_operand_get_relbr(const xed_decoded_inst_t* d);
468 
469 static XED_INLINE void xed3_operand_set_relbr(xed_decoded_inst_t* d, xed_bits_t opval);
470 
471 static XED_INLINE xed_bits_t xed3_operand_get_ild_seg(const xed_decoded_inst_t* d);
472 
473 static XED_INLINE void xed3_operand_set_ild_seg(xed_decoded_inst_t* d, xed_bits_t opval);
474 
475 static XED_INLINE xed_bits_t xed3_operand_get_df32(const xed_decoded_inst_t* d);
476 
477 static XED_INLINE void xed3_operand_set_df32(xed_decoded_inst_t* d, xed_bits_t opval);
478 
479 static XED_INLINE xed_bits_t xed3_operand_get_realmode(const xed_decoded_inst_t* d);
480 
481 static XED_INLINE void xed3_operand_set_realmode(xed_decoded_inst_t* d, xed_bits_t opval);
482 
483 static XED_INLINE xed_bits_t xed3_operand_get_modrm_byte(const xed_decoded_inst_t* d);
484 
485 static XED_INLINE void xed3_operand_set_modrm_byte(xed_decoded_inst_t* d, xed_bits_t opval);
486 
487 static XED_INLINE xed_bits_t xed3_operand_get_mode(const xed_decoded_inst_t* d);
488 
489 static XED_INLINE void xed3_operand_set_mode(xed_decoded_inst_t* d, xed_bits_t opval);
490 
491 static XED_INLINE xed_bits_t xed3_operand_get_mpxmode(const xed_decoded_inst_t* d);
492 
493 static XED_INLINE void xed3_operand_set_mpxmode(xed_decoded_inst_t* d, xed_bits_t opval);
494 
495 static XED_INLINE xed_bits_t xed3_operand_get_sibscale(const xed_decoded_inst_t* d);
496 
497 static XED_INLINE void xed3_operand_set_sibscale(xed_decoded_inst_t* d, xed_bits_t opval);
498 
499 static XED_INLINE xed_bits_t xed3_operand_get_vl(const xed_decoded_inst_t* d);
500 
501 static XED_INLINE void xed3_operand_set_vl(xed_decoded_inst_t* d, xed_bits_t opval);
502 
503 static XED_INLINE xed_bits_t xed3_operand_get_wbnoinvd(const xed_decoded_inst_t* d);
504 
505 static XED_INLINE void xed3_operand_set_wbnoinvd(xed_decoded_inst_t* d, xed_bits_t opval);
506 
507 static XED_INLINE xed_bits_t xed3_operand_get_max_bytes(const xed_decoded_inst_t* d);
508 
509 static XED_INLINE void xed3_operand_set_max_bytes(xed_decoded_inst_t* d, xed_bits_t opval);
510 
511 static XED_INLINE xed_bits_t xed3_operand_get_modep5(const xed_decoded_inst_t* d);
512 
513 static XED_INLINE void xed3_operand_set_modep5(xed_decoded_inst_t* d, xed_bits_t opval);
514 
515 static XED_INLINE xed_bits_t xed3_operand_get_first_f2f3(const xed_decoded_inst_t* d);
516 
517 static XED_INLINE void xed3_operand_set_first_f2f3(xed_decoded_inst_t* d, xed_bits_t opval);
518 
519 static XED_INLINE xed_bits_t xed3_operand_get_vexdest4(const xed_decoded_inst_t* d);
520 
521 static XED_INLINE void xed3_operand_set_vexdest4(xed_decoded_inst_t* d, xed_bits_t opval);
522 
523 XED_DLL_EXPORT void xed3_get_generic_operand(const xed_decoded_inst_t* d, xed_operand_enum_t operand, void* ret_arg);
524 
525 XED_DLL_EXPORT void xed3_set_generic_operand(xed_decoded_inst_t* d, xed_operand_enum_t operand, xed_uint32_t val);
526 
xed3_operand_get_sib(const xed_decoded_inst_t * d)527 static XED_INLINE xed_bits_t xed3_operand_get_sib(const xed_decoded_inst_t* d)
528 {
529 return (xed_bits_t)d->_operands.sib;
530 }
xed3_operand_set_sib(xed_decoded_inst_t * d,xed_bits_t opval)531 static XED_INLINE void xed3_operand_set_sib(xed_decoded_inst_t* d, xed_bits_t opval)
532 {
533 d->_operands.sib = (xed_uint8_t)opval;
534 }
xed3_operand_get_last_f2f3(const xed_decoded_inst_t * d)535 static XED_INLINE xed_bits_t xed3_operand_get_last_f2f3(const xed_decoded_inst_t* d)
536 {
537 return (xed_bits_t)d->_operands.last_f2f3;
538 }
xed3_operand_set_last_f2f3(xed_decoded_inst_t * d,xed_bits_t opval)539 static XED_INLINE void xed3_operand_set_last_f2f3(xed_decoded_inst_t* d, xed_bits_t opval)
540 {
541 d->_operands.last_f2f3 = (xed_uint8_t)opval;
542 }
xed3_operand_get_disp_width(const xed_decoded_inst_t * d)543 static XED_INLINE xed_uint8_t xed3_operand_get_disp_width(const xed_decoded_inst_t* d)
544 {
545 return (xed_uint8_t)d->_operands.disp_width;
546 }
xed3_operand_set_disp_width(xed_decoded_inst_t * d,xed_uint8_t opval)547 static XED_INLINE void xed3_operand_set_disp_width(xed_decoded_inst_t* d, xed_uint8_t opval)
548 {
549 d->_operands.disp_width = (xed_uint8_t)opval;
550 }
xed3_operand_get_using_default_segment0(const xed_decoded_inst_t * d)551 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment0(const xed_decoded_inst_t* d)
552 {
553 return (xed_bits_t)d->_operands.using_default_segment0;
554 }
xed3_operand_set_using_default_segment0(xed_decoded_inst_t * d,xed_bits_t opval)555 static XED_INLINE void xed3_operand_set_using_default_segment0(xed_decoded_inst_t* d, xed_bits_t opval)
556 {
557 d->_operands.using_default_segment0 = (xed_uint8_t)opval;
558 }
xed3_operand_get_using_default_segment1(const xed_decoded_inst_t * d)559 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment1(const xed_decoded_inst_t* d)
560 {
561 return (xed_bits_t)d->_operands.using_default_segment1;
562 }
xed3_operand_set_using_default_segment1(xed_decoded_inst_t * d,xed_bits_t opval)563 static XED_INLINE void xed3_operand_set_using_default_segment1(xed_decoded_inst_t* d, xed_bits_t opval)
564 {
565 d->_operands.using_default_segment1 = (xed_uint8_t)opval;
566 }
xed3_operand_get_hint(const xed_decoded_inst_t * d)567 static XED_INLINE xed_bits_t xed3_operand_get_hint(const xed_decoded_inst_t* d)
568 {
569 return (xed_bits_t)d->_operands.hint;
570 }
xed3_operand_set_hint(xed_decoded_inst_t * d,xed_bits_t opval)571 static XED_INLINE void xed3_operand_set_hint(xed_decoded_inst_t* d, xed_bits_t opval)
572 {
573 d->_operands.hint = (xed_uint8_t)opval;
574 }
xed3_operand_get_sae(const xed_decoded_inst_t * d)575 static XED_INLINE xed_bits_t xed3_operand_get_sae(const xed_decoded_inst_t* d)
576 {
577 return (xed_bits_t)d->_operands.sae;
578 }
xed3_operand_set_sae(xed_decoded_inst_t * d,xed_bits_t opval)579 static XED_INLINE void xed3_operand_set_sae(xed_decoded_inst_t* d, xed_bits_t opval)
580 {
581 d->_operands.sae = (xed_uint8_t)opval;
582 }
xed3_operand_get_mode_first_prefix(const xed_decoded_inst_t * d)583 static XED_INLINE xed_bits_t xed3_operand_get_mode_first_prefix(const xed_decoded_inst_t* d)
584 {
585 return (xed_bits_t)d->_operands.mode_first_prefix;
586 }
xed3_operand_set_mode_first_prefix(xed_decoded_inst_t * d,xed_bits_t opval)587 static XED_INLINE void xed3_operand_set_mode_first_prefix(xed_decoded_inst_t* d, xed_bits_t opval)
588 {
589 d->_operands.mode_first_prefix = (xed_uint8_t)opval;
590 }
xed3_operand_get_uimm1(const xed_decoded_inst_t * d)591 static XED_INLINE xed_uint8_t xed3_operand_get_uimm1(const xed_decoded_inst_t* d)
592 {
593 return (xed_uint8_t)d->_operands.uimm1;
594 }
xed3_operand_set_uimm1(xed_decoded_inst_t * d,xed_uint8_t opval)595 static XED_INLINE void xed3_operand_set_uimm1(xed_decoded_inst_t* d, xed_uint8_t opval)
596 {
597 d->_operands.uimm1 = (xed_uint8_t)opval;
598 }
xed3_operand_get_uimm0(const xed_decoded_inst_t * d)599 static XED_INLINE xed_uint64_t xed3_operand_get_uimm0(const xed_decoded_inst_t* d)
600 {
601 return (xed_uint64_t)d->_operands.uimm0;
602 }
xed3_operand_set_uimm0(xed_decoded_inst_t * d,xed_uint64_t opval)603 static XED_INLINE void xed3_operand_set_uimm0(xed_decoded_inst_t* d, xed_uint64_t opval)
604 {
605 d->_operands.uimm0 = (xed_uint64_t)opval;
606 }
xed3_operand_get_smode(const xed_decoded_inst_t * d)607 static XED_INLINE xed_bits_t xed3_operand_get_smode(const xed_decoded_inst_t* d)
608 {
609 return (xed_bits_t)d->_operands.smode;
610 }
xed3_operand_set_smode(xed_decoded_inst_t * d,xed_bits_t opval)611 static XED_INLINE void xed3_operand_set_smode(xed_decoded_inst_t* d, xed_bits_t opval)
612 {
613 d->_operands.smode = (xed_uint8_t)opval;
614 }
xed3_operand_get_rm(const xed_decoded_inst_t * d)615 static XED_INLINE xed_bits_t xed3_operand_get_rm(const xed_decoded_inst_t* d)
616 {
617 return (xed_bits_t)d->_operands.rm;
618 }
xed3_operand_set_rm(xed_decoded_inst_t * d,xed_bits_t opval)619 static XED_INLINE void xed3_operand_set_rm(xed_decoded_inst_t* d, xed_bits_t opval)
620 {
621 d->_operands.rm = (xed_uint8_t)opval;
622 }
xed3_operand_get_chip(const xed_decoded_inst_t * d)623 static XED_INLINE xed_chip_enum_t xed3_operand_get_chip(const xed_decoded_inst_t* d)
624 {
625 return (xed_chip_enum_t)d->_operands.chip;
626 }
xed3_operand_set_chip(xed_decoded_inst_t * d,xed_chip_enum_t opval)627 static XED_INLINE void xed3_operand_set_chip(xed_decoded_inst_t* d, xed_chip_enum_t opval)
628 {
629 d->_operands.chip = (xed_uint8_t)opval;
630 }
xed3_operand_get_amd3dnow(const xed_decoded_inst_t * d)631 static XED_INLINE xed_bits_t xed3_operand_get_amd3dnow(const xed_decoded_inst_t* d)
632 {
633 return (xed_bits_t)d->_operands.amd3dnow;
634 }
xed3_operand_set_amd3dnow(xed_decoded_inst_t * d,xed_bits_t opval)635 static XED_INLINE void xed3_operand_set_amd3dnow(xed_decoded_inst_t* d, xed_bits_t opval)
636 {
637 d->_operands.amd3dnow = (xed_uint8_t)opval;
638 }
xed3_operand_get_map(const xed_decoded_inst_t * d)639 static XED_INLINE xed_bits_t xed3_operand_get_map(const xed_decoded_inst_t* d)
640 {
641 return (xed_bits_t)d->_operands.map;
642 }
xed3_operand_set_map(xed_decoded_inst_t * d,xed_bits_t opval)643 static XED_INLINE void xed3_operand_set_map(xed_decoded_inst_t* d, xed_bits_t opval)
644 {
645 d->_operands.map = (xed_uint8_t)opval;
646 }
xed3_operand_get_sibindex(const xed_decoded_inst_t * d)647 static XED_INLINE xed_bits_t xed3_operand_get_sibindex(const xed_decoded_inst_t* d)
648 {
649 return (xed_bits_t)d->_operands.sibindex;
650 }
xed3_operand_set_sibindex(xed_decoded_inst_t * d,xed_bits_t opval)651 static XED_INLINE void xed3_operand_set_sibindex(xed_decoded_inst_t* d, xed_bits_t opval)
652 {
653 d->_operands.sibindex = (xed_uint8_t)opval;
654 }
xed3_operand_get_agen(const xed_decoded_inst_t * d)655 static XED_INLINE xed_bits_t xed3_operand_get_agen(const xed_decoded_inst_t* d)
656 {
657 return (xed_bits_t)d->_operands.agen;
658 }
xed3_operand_set_agen(xed_decoded_inst_t * d,xed_bits_t opval)659 static XED_INLINE void xed3_operand_set_agen(xed_decoded_inst_t* d, xed_bits_t opval)
660 {
661 d->_operands.agen = (xed_uint8_t)opval;
662 }
xed3_operand_get_nominal_opcode(const xed_decoded_inst_t * d)663 static XED_INLINE xed_bits_t xed3_operand_get_nominal_opcode(const xed_decoded_inst_t* d)
664 {
665 return (xed_bits_t)d->_operands.nominal_opcode;
666 }
xed3_operand_set_nominal_opcode(xed_decoded_inst_t * d,xed_bits_t opval)667 static XED_INLINE void xed3_operand_set_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval)
668 {
669 d->_operands.nominal_opcode = (xed_uint8_t)opval;
670 }
xed3_operand_get_seg1(const xed_decoded_inst_t * d)671 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg1(const xed_decoded_inst_t* d)
672 {
673 return (xed_reg_enum_t)d->_operands.seg1;
674 }
xed3_operand_set_seg1(xed_decoded_inst_t * d,xed_reg_enum_t opval)675 static XED_INLINE void xed3_operand_set_seg1(xed_decoded_inst_t* d, xed_reg_enum_t opval)
676 {
677 d->_operands.seg1 = (xed_uint16_t)opval;
678 }
xed3_operand_get_seg0(const xed_decoded_inst_t * d)679 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg0(const xed_decoded_inst_t* d)
680 {
681 return (xed_reg_enum_t)d->_operands.seg0;
682 }
xed3_operand_set_seg0(xed_decoded_inst_t * d,xed_reg_enum_t opval)683 static XED_INLINE void xed3_operand_set_seg0(xed_decoded_inst_t* d, xed_reg_enum_t opval)
684 {
685 d->_operands.seg0 = (xed_uint16_t)opval;
686 }
xed3_operand_get_cldemote(const xed_decoded_inst_t * d)687 static XED_INLINE xed_bits_t xed3_operand_get_cldemote(const xed_decoded_inst_t* d)
688 {
689 return (xed_bits_t)d->_operands.cldemote;
690 }
xed3_operand_set_cldemote(xed_decoded_inst_t * d,xed_bits_t opval)691 static XED_INLINE void xed3_operand_set_cldemote(xed_decoded_inst_t* d, xed_bits_t opval)
692 {
693 d->_operands.cldemote = (xed_uint8_t)opval;
694 }
xed3_operand_get_nprefixes(const xed_decoded_inst_t * d)695 static XED_INLINE xed_bits_t xed3_operand_get_nprefixes(const xed_decoded_inst_t* d)
696 {
697 return (xed_bits_t)d->_operands.nprefixes;
698 }
xed3_operand_set_nprefixes(xed_decoded_inst_t * d,xed_bits_t opval)699 static XED_INLINE void xed3_operand_set_nprefixes(xed_decoded_inst_t* d, xed_bits_t opval)
700 {
701 d->_operands.nprefixes = (xed_uint8_t)opval;
702 }
xed3_operand_get_index(const xed_decoded_inst_t * d)703 static XED_INLINE xed_reg_enum_t xed3_operand_get_index(const xed_decoded_inst_t* d)
704 {
705 return (xed_reg_enum_t)d->_operands.index;
706 }
xed3_operand_set_index(xed_decoded_inst_t * d,xed_reg_enum_t opval)707 static XED_INLINE void xed3_operand_set_index(xed_decoded_inst_t* d, xed_reg_enum_t opval)
708 {
709 d->_operands.index = (xed_uint16_t)opval;
710 }
xed3_operand_get_ild_f2(const xed_decoded_inst_t * d)711 static XED_INLINE xed_bits_t xed3_operand_get_ild_f2(const xed_decoded_inst_t* d)
712 {
713 return (xed_bits_t)d->_operands.ild_f2;
714 }
xed3_operand_set_ild_f2(xed_decoded_inst_t * d,xed_bits_t opval)715 static XED_INLINE void xed3_operand_set_ild_f2(xed_decoded_inst_t* d, xed_bits_t opval)
716 {
717 d->_operands.ild_f2 = (xed_uint8_t)opval;
718 }
xed3_operand_get_scale(const xed_decoded_inst_t * d)719 static XED_INLINE xed_bits_t xed3_operand_get_scale(const xed_decoded_inst_t* d)
720 {
721 return (xed_bits_t)d->_operands.scale;
722 }
xed3_operand_set_scale(xed_decoded_inst_t * d,xed_bits_t opval)723 static XED_INLINE void xed3_operand_set_scale(xed_decoded_inst_t* d, xed_bits_t opval)
724 {
725 d->_operands.scale = (xed_uint8_t)opval;
726 }
xed3_operand_get_llrc(const xed_decoded_inst_t * d)727 static XED_INLINE xed_bits_t xed3_operand_get_llrc(const xed_decoded_inst_t* d)
728 {
729 return (xed_bits_t)d->_operands.llrc;
730 }
xed3_operand_set_llrc(xed_decoded_inst_t * d,xed_bits_t opval)731 static XED_INLINE void xed3_operand_set_llrc(xed_decoded_inst_t* d, xed_bits_t opval)
732 {
733 d->_operands.llrc = (xed_uint8_t)opval;
734 }
xed3_operand_get_esrc(const xed_decoded_inst_t * d)735 static XED_INLINE xed_bits_t xed3_operand_get_esrc(const xed_decoded_inst_t* d)
736 {
737 return (xed_bits_t)d->_operands.esrc;
738 }
xed3_operand_set_esrc(xed_decoded_inst_t * d,xed_bits_t opval)739 static XED_INLINE void xed3_operand_set_esrc(xed_decoded_inst_t* d, xed_bits_t opval)
740 {
741 d->_operands.esrc = (xed_uint8_t)opval;
742 }
xed3_operand_get_nrexes(const xed_decoded_inst_t * d)743 static XED_INLINE xed_bits_t xed3_operand_get_nrexes(const xed_decoded_inst_t* d)
744 {
745 return (xed_bits_t)d->_operands.nrexes;
746 }
xed3_operand_set_nrexes(xed_decoded_inst_t * d,xed_bits_t opval)747 static XED_INLINE void xed3_operand_set_nrexes(xed_decoded_inst_t* d, xed_bits_t opval)
748 {
749 d->_operands.nrexes = (xed_uint8_t)opval;
750 }
xed3_operand_get_pos_sib(const xed_decoded_inst_t * d)751 static XED_INLINE xed_bits_t xed3_operand_get_pos_sib(const xed_decoded_inst_t* d)
752 {
753 return (xed_bits_t)d->_operands.pos_sib;
754 }
xed3_operand_set_pos_sib(xed_decoded_inst_t * d,xed_bits_t opval)755 static XED_INLINE void xed3_operand_set_pos_sib(xed_decoded_inst_t* d, xed_bits_t opval)
756 {
757 d->_operands.pos_sib = (xed_uint8_t)opval;
758 }
xed3_operand_get_osz(const xed_decoded_inst_t * d)759 static XED_INLINE xed_bits_t xed3_operand_get_osz(const xed_decoded_inst_t* d)
760 {
761 return (xed_bits_t)d->_operands.osz;
762 }
xed3_operand_set_osz(xed_decoded_inst_t * d,xed_bits_t opval)763 static XED_INLINE void xed3_operand_set_osz(xed_decoded_inst_t* d, xed_bits_t opval)
764 {
765 d->_operands.osz = (xed_uint8_t)opval;
766 }
xed3_operand_get_has_sib(const xed_decoded_inst_t * d)767 static XED_INLINE xed_bits_t xed3_operand_get_has_sib(const xed_decoded_inst_t* d)
768 {
769 return (xed_bits_t)d->_operands.has_sib;
770 }
xed3_operand_set_has_sib(xed_decoded_inst_t * d,xed_bits_t opval)771 static XED_INLINE void xed3_operand_set_has_sib(xed_decoded_inst_t* d, xed_bits_t opval)
772 {
773 d->_operands.has_sib = (xed_uint8_t)opval;
774 }
xed3_operand_get_eosz(const xed_decoded_inst_t * d)775 static XED_INLINE xed_bits_t xed3_operand_get_eosz(const xed_decoded_inst_t* d)
776 {
777 return (xed_bits_t)d->_operands.eosz;
778 }
xed3_operand_set_eosz(xed_decoded_inst_t * d,xed_bits_t opval)779 static XED_INLINE void xed3_operand_set_eosz(xed_decoded_inst_t* d, xed_bits_t opval)
780 {
781 d->_operands.eosz = (xed_uint8_t)opval;
782 }
xed3_operand_get_element_size(const xed_decoded_inst_t * d)783 static XED_INLINE xed_bits_t xed3_operand_get_element_size(const xed_decoded_inst_t* d)
784 {
785 return (xed_bits_t)d->_operands.element_size;
786 }
xed3_operand_set_element_size(xed_decoded_inst_t * d,xed_bits_t opval)787 static XED_INLINE void xed3_operand_set_element_size(xed_decoded_inst_t* d, xed_bits_t opval)
788 {
789 d->_operands.element_size = (xed_uint16_t)opval;
790 }
xed3_operand_get_pos_disp(const xed_decoded_inst_t * d)791 static XED_INLINE xed_bits_t xed3_operand_get_pos_disp(const xed_decoded_inst_t* d)
792 {
793 return (xed_bits_t)d->_operands.pos_disp;
794 }
xed3_operand_set_pos_disp(xed_decoded_inst_t * d,xed_bits_t opval)795 static XED_INLINE void xed3_operand_set_pos_disp(xed_decoded_inst_t* d, xed_bits_t opval)
796 {
797 d->_operands.pos_disp = (xed_uint8_t)opval;
798 }
xed3_operand_get_ubit(const xed_decoded_inst_t * d)799 static XED_INLINE xed_bits_t xed3_operand_get_ubit(const xed_decoded_inst_t* d)
800 {
801 return (xed_bits_t)d->_operands.ubit;
802 }
xed3_operand_set_ubit(xed_decoded_inst_t * d,xed_bits_t opval)803 static XED_INLINE void xed3_operand_set_ubit(xed_decoded_inst_t* d, xed_bits_t opval)
804 {
805 d->_operands.ubit = (xed_uint8_t)opval;
806 }
xed3_operand_get_vexdest210(const xed_decoded_inst_t * d)807 static XED_INLINE xed_bits_t xed3_operand_get_vexdest210(const xed_decoded_inst_t* d)
808 {
809 return (xed_bits_t)d->_operands.vexdest210;
810 }
xed3_operand_set_vexdest210(xed_decoded_inst_t * d,xed_bits_t opval)811 static XED_INLINE void xed3_operand_set_vexdest210(xed_decoded_inst_t* d, xed_bits_t opval)
812 {
813 d->_operands.vexdest210 = (xed_uint8_t)opval;
814 }
xed3_operand_get_vexdest3(const xed_decoded_inst_t * d)815 static XED_INLINE xed_bits_t xed3_operand_get_vexdest3(const xed_decoded_inst_t* d)
816 {
817 return (xed_bits_t)d->_operands.vexdest3;
818 }
xed3_operand_set_vexdest3(xed_decoded_inst_t * d,xed_bits_t opval)819 static XED_INLINE void xed3_operand_set_vexdest3(xed_decoded_inst_t* d, xed_bits_t opval)
820 {
821 d->_operands.vexdest3 = (xed_uint8_t)opval;
822 }
xed3_operand_get_cet(const xed_decoded_inst_t * d)823 static XED_INLINE xed_bits_t xed3_operand_get_cet(const xed_decoded_inst_t* d)
824 {
825 return (xed_bits_t)d->_operands.cet;
826 }
xed3_operand_set_cet(xed_decoded_inst_t * d,xed_bits_t opval)827 static XED_INLINE void xed3_operand_set_cet(xed_decoded_inst_t* d, xed_bits_t opval)
828 {
829 d->_operands.cet = (xed_uint8_t)opval;
830 }
xed3_operand_get_ptr(const xed_decoded_inst_t * d)831 static XED_INLINE xed_bits_t xed3_operand_get_ptr(const xed_decoded_inst_t* d)
832 {
833 return (xed_bits_t)d->_operands.ptr;
834 }
xed3_operand_set_ptr(xed_decoded_inst_t * d,xed_bits_t opval)835 static XED_INLINE void xed3_operand_set_ptr(xed_decoded_inst_t* d, xed_bits_t opval)
836 {
837 d->_operands.ptr = (xed_uint8_t)opval;
838 }
xed3_operand_get_p4(const xed_decoded_inst_t * d)839 static XED_INLINE xed_bits_t xed3_operand_get_p4(const xed_decoded_inst_t* d)
840 {
841 return (xed_bits_t)d->_operands.p4;
842 }
xed3_operand_set_p4(xed_decoded_inst_t * d,xed_bits_t opval)843 static XED_INLINE void xed3_operand_set_p4(xed_decoded_inst_t* d, xed_bits_t opval)
844 {
845 d->_operands.p4 = (xed_uint8_t)opval;
846 }
xed3_operand_get_modep55c(const xed_decoded_inst_t * d)847 static XED_INLINE xed_bits_t xed3_operand_get_modep55c(const xed_decoded_inst_t* d)
848 {
849 return (xed_bits_t)d->_operands.modep55c;
850 }
xed3_operand_set_modep55c(xed_decoded_inst_t * d,xed_bits_t opval)851 static XED_INLINE void xed3_operand_set_modep55c(xed_decoded_inst_t* d, xed_bits_t opval)
852 {
853 d->_operands.modep55c = (xed_uint8_t)opval;
854 }
xed3_operand_get_iclass(const xed_decoded_inst_t * d)855 static XED_INLINE xed_iclass_enum_t xed3_operand_get_iclass(const xed_decoded_inst_t* d)
856 {
857 return (xed_iclass_enum_t)d->_operands.iclass;
858 }
xed3_operand_set_iclass(xed_decoded_inst_t * d,xed_iclass_enum_t opval)859 static XED_INLINE void xed3_operand_set_iclass(xed_decoded_inst_t* d, xed_iclass_enum_t opval)
860 {
861 d->_operands.iclass = (xed_uint16_t)opval;
862 }
xed3_operand_get_imm_width(const xed_decoded_inst_t * d)863 static XED_INLINE xed_uint8_t xed3_operand_get_imm_width(const xed_decoded_inst_t* d)
864 {
865 return (xed_uint8_t)d->_operands.imm_width;
866 }
xed3_operand_set_imm_width(xed_decoded_inst_t * d,xed_uint8_t opval)867 static XED_INLINE void xed3_operand_set_imm_width(xed_decoded_inst_t* d, xed_uint8_t opval)
868 {
869 d->_operands.imm_width = (xed_uint8_t)opval;
870 }
xed3_operand_get_bcrc(const xed_decoded_inst_t * d)871 static XED_INLINE xed_bits_t xed3_operand_get_bcrc(const xed_decoded_inst_t* d)
872 {
873 return (xed_bits_t)d->_operands.bcrc;
874 }
xed3_operand_set_bcrc(xed_decoded_inst_t * d,xed_bits_t opval)875 static XED_INLINE void xed3_operand_set_bcrc(xed_decoded_inst_t* d, xed_bits_t opval)
876 {
877 d->_operands.bcrc = (xed_uint8_t)opval;
878 }
xed3_operand_get_error(const xed_decoded_inst_t * d)879 static XED_INLINE xed_error_enum_t xed3_operand_get_error(const xed_decoded_inst_t* d)
880 {
881 return (xed_error_enum_t)d->_operands.error;
882 }
xed3_operand_set_error(xed_decoded_inst_t * d,xed_error_enum_t opval)883 static XED_INLINE void xed3_operand_set_error(xed_decoded_inst_t* d, xed_error_enum_t opval)
884 {
885 d->_operands.error = (xed_uint8_t)opval;
886 }
xed3_operand_get_nelem(const xed_decoded_inst_t * d)887 static XED_INLINE xed_bits_t xed3_operand_get_nelem(const xed_decoded_inst_t* d)
888 {
889 return (xed_bits_t)d->_operands.nelem;
890 }
xed3_operand_set_nelem(xed_decoded_inst_t * d,xed_bits_t opval)891 static XED_INLINE void xed3_operand_set_nelem(xed_decoded_inst_t* d, xed_bits_t opval)
892 {
893 d->_operands.nelem = (xed_uint8_t)opval;
894 }
xed3_operand_get_imm0signed(const xed_decoded_inst_t * d)895 static XED_INLINE xed_bits_t xed3_operand_get_imm0signed(const xed_decoded_inst_t* d)
896 {
897 return (xed_bits_t)d->_operands.imm0signed;
898 }
xed3_operand_set_imm0signed(xed_decoded_inst_t * d,xed_bits_t opval)899 static XED_INLINE void xed3_operand_set_imm0signed(xed_decoded_inst_t* d, xed_bits_t opval)
900 {
901 d->_operands.imm0signed = (xed_uint8_t)opval;
902 }
xed3_operand_get_reg8(const xed_decoded_inst_t * d)903 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg8(const xed_decoded_inst_t* d)
904 {
905 return (xed_reg_enum_t)d->_operands.reg8;
906 }
xed3_operand_set_reg8(xed_decoded_inst_t * d,xed_reg_enum_t opval)907 static XED_INLINE void xed3_operand_set_reg8(xed_decoded_inst_t* d, xed_reg_enum_t opval)
908 {
909 d->_operands.reg8 = (xed_uint16_t)opval;
910 }
xed3_operand_get_reg6(const xed_decoded_inst_t * d)911 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg6(const xed_decoded_inst_t* d)
912 {
913 return (xed_reg_enum_t)d->_operands.reg6;
914 }
xed3_operand_set_reg6(xed_decoded_inst_t * d,xed_reg_enum_t opval)915 static XED_INLINE void xed3_operand_set_reg6(xed_decoded_inst_t* d, xed_reg_enum_t opval)
916 {
917 d->_operands.reg6 = (xed_uint16_t)opval;
918 }
xed3_operand_get_reg7(const xed_decoded_inst_t * d)919 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg7(const xed_decoded_inst_t* d)
920 {
921 return (xed_reg_enum_t)d->_operands.reg7;
922 }
xed3_operand_set_reg7(xed_decoded_inst_t * d,xed_reg_enum_t opval)923 static XED_INLINE void xed3_operand_set_reg7(xed_decoded_inst_t* d, xed_reg_enum_t opval)
924 {
925 d->_operands.reg7 = (xed_uint16_t)opval;
926 }
xed3_operand_get_reg4(const xed_decoded_inst_t * d)927 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg4(const xed_decoded_inst_t* d)
928 {
929 return (xed_reg_enum_t)d->_operands.reg4;
930 }
xed3_operand_set_reg4(xed_decoded_inst_t * d,xed_reg_enum_t opval)931 static XED_INLINE void xed3_operand_set_reg4(xed_decoded_inst_t* d, xed_reg_enum_t opval)
932 {
933 d->_operands.reg4 = (xed_uint16_t)opval;
934 }
xed3_operand_get_reg5(const xed_decoded_inst_t * d)935 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg5(const xed_decoded_inst_t* d)
936 {
937 return (xed_reg_enum_t)d->_operands.reg5;
938 }
xed3_operand_set_reg5(xed_decoded_inst_t * d,xed_reg_enum_t opval)939 static XED_INLINE void xed3_operand_set_reg5(xed_decoded_inst_t* d, xed_reg_enum_t opval)
940 {
941 d->_operands.reg5 = (xed_uint16_t)opval;
942 }
xed3_operand_get_reg2(const xed_decoded_inst_t * d)943 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg2(const xed_decoded_inst_t* d)
944 {
945 return (xed_reg_enum_t)d->_operands.reg2;
946 }
xed3_operand_set_reg2(xed_decoded_inst_t * d,xed_reg_enum_t opval)947 static XED_INLINE void xed3_operand_set_reg2(xed_decoded_inst_t* d, xed_reg_enum_t opval)
948 {
949 d->_operands.reg2 = (xed_uint16_t)opval;
950 }
xed3_operand_get_reg3(const xed_decoded_inst_t * d)951 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg3(const xed_decoded_inst_t* d)
952 {
953 return (xed_reg_enum_t)d->_operands.reg3;
954 }
xed3_operand_set_reg3(xed_decoded_inst_t * d,xed_reg_enum_t opval)955 static XED_INLINE void xed3_operand_set_reg3(xed_decoded_inst_t* d, xed_reg_enum_t opval)
956 {
957 d->_operands.reg3 = (xed_uint16_t)opval;
958 }
xed3_operand_get_reg0(const xed_decoded_inst_t * d)959 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg0(const xed_decoded_inst_t* d)
960 {
961 return (xed_reg_enum_t)d->_operands.reg0;
962 }
xed3_operand_set_reg0(xed_decoded_inst_t * d,xed_reg_enum_t opval)963 static XED_INLINE void xed3_operand_set_reg0(xed_decoded_inst_t* d, xed_reg_enum_t opval)
964 {
965 d->_operands.reg0 = (xed_uint16_t)opval;
966 }
xed3_operand_get_reg1(const xed_decoded_inst_t * d)967 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg1(const xed_decoded_inst_t* d)
968 {
969 return (xed_reg_enum_t)d->_operands.reg1;
970 }
xed3_operand_set_reg1(xed_decoded_inst_t * d,xed_reg_enum_t opval)971 static XED_INLINE void xed3_operand_set_reg1(xed_decoded_inst_t* d, xed_reg_enum_t opval)
972 {
973 d->_operands.reg1 = (xed_uint16_t)opval;
974 }
xed3_operand_get_base0(const xed_decoded_inst_t * d)975 static XED_INLINE xed_reg_enum_t xed3_operand_get_base0(const xed_decoded_inst_t* d)
976 {
977 return (xed_reg_enum_t)d->_operands.base0;
978 }
xed3_operand_set_base0(xed_decoded_inst_t * d,xed_reg_enum_t opval)979 static XED_INLINE void xed3_operand_set_base0(xed_decoded_inst_t* d, xed_reg_enum_t opval)
980 {
981 d->_operands.base0 = (xed_uint16_t)opval;
982 }
xed3_operand_get_base1(const xed_decoded_inst_t * d)983 static XED_INLINE xed_reg_enum_t xed3_operand_get_base1(const xed_decoded_inst_t* d)
984 {
985 return (xed_reg_enum_t)d->_operands.base1;
986 }
xed3_operand_set_base1(xed_decoded_inst_t * d,xed_reg_enum_t opval)987 static XED_INLINE void xed3_operand_set_base1(xed_decoded_inst_t* d, xed_reg_enum_t opval)
988 {
989 d->_operands.base1 = (xed_uint16_t)opval;
990 }
xed3_operand_get_mod(const xed_decoded_inst_t * d)991 static XED_INLINE xed_bits_t xed3_operand_get_mod(const xed_decoded_inst_t* d)
992 {
993 return (xed_bits_t)d->_operands.mod;
994 }
xed3_operand_set_mod(xed_decoded_inst_t * d,xed_bits_t opval)995 static XED_INLINE void xed3_operand_set_mod(xed_decoded_inst_t* d, xed_bits_t opval)
996 {
997 d->_operands.mod = (xed_uint8_t)opval;
998 }
xed3_operand_get_disp(const xed_decoded_inst_t * d)999 static XED_INLINE xed_int64_t xed3_operand_get_disp(const xed_decoded_inst_t* d)
1000 {
1001 return (xed_int64_t)d->_operands.disp;
1002 }
xed3_operand_set_disp(xed_decoded_inst_t * d,xed_int64_t opval)1003 static XED_INLINE void xed3_operand_set_disp(xed_decoded_inst_t* d, xed_int64_t opval)
1004 {
1005 d->_operands.disp = (xed_uint64_t)opval;
1006 }
xed3_operand_get_rex(const xed_decoded_inst_t * d)1007 static XED_INLINE xed_bits_t xed3_operand_get_rex(const xed_decoded_inst_t* d)
1008 {
1009 return (xed_bits_t)d->_operands.rex;
1010 }
xed3_operand_set_rex(xed_decoded_inst_t * d,xed_bits_t opval)1011 static XED_INLINE void xed3_operand_set_rex(xed_decoded_inst_t* d, xed_bits_t opval)
1012 {
1013 d->_operands.rex = (xed_uint8_t)opval;
1014 }
xed3_operand_get_rexb(const xed_decoded_inst_t * d)1015 static XED_INLINE xed_bits_t xed3_operand_get_rexb(const xed_decoded_inst_t* d)
1016 {
1017 return (xed_bits_t)d->_operands.rexb;
1018 }
xed3_operand_set_rexb(xed_decoded_inst_t * d,xed_bits_t opval)1019 static XED_INLINE void xed3_operand_set_rexb(xed_decoded_inst_t* d, xed_bits_t opval)
1020 {
1021 d->_operands.rexb = (xed_uint8_t)opval;
1022 }
xed3_operand_get_pos_imm(const xed_decoded_inst_t * d)1023 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm(const xed_decoded_inst_t* d)
1024 {
1025 return (xed_bits_t)d->_operands.pos_imm;
1026 }
xed3_operand_set_pos_imm(xed_decoded_inst_t * d,xed_bits_t opval)1027 static XED_INLINE void xed3_operand_set_pos_imm(xed_decoded_inst_t* d, xed_bits_t opval)
1028 {
1029 d->_operands.pos_imm = (xed_uint8_t)opval;
1030 }
xed3_operand_get_rep(const xed_decoded_inst_t * d)1031 static XED_INLINE xed_bits_t xed3_operand_get_rep(const xed_decoded_inst_t* d)
1032 {
1033 return (xed_bits_t)d->_operands.rep;
1034 }
xed3_operand_set_rep(xed_decoded_inst_t * d,xed_bits_t opval)1035 static XED_INLINE void xed3_operand_set_rep(xed_decoded_inst_t* d, xed_bits_t opval)
1036 {
1037 d->_operands.rep = (xed_uint8_t)opval;
1038 }
xed3_operand_get_rexw(const xed_decoded_inst_t * d)1039 static XED_INLINE xed_bits_t xed3_operand_get_rexw(const xed_decoded_inst_t* d)
1040 {
1041 return (xed_bits_t)d->_operands.rexw;
1042 }
xed3_operand_set_rexw(xed_decoded_inst_t * d,xed_bits_t opval)1043 static XED_INLINE void xed3_operand_set_rexw(xed_decoded_inst_t* d, xed_bits_t opval)
1044 {
1045 d->_operands.rexw = (xed_uint8_t)opval;
1046 }
xed3_operand_get_ild_f3(const xed_decoded_inst_t * d)1047 static XED_INLINE xed_bits_t xed3_operand_get_ild_f3(const xed_decoded_inst_t* d)
1048 {
1049 return (xed_bits_t)d->_operands.ild_f3;
1050 }
xed3_operand_set_ild_f3(xed_decoded_inst_t * d,xed_bits_t opval)1051 static XED_INLINE void xed3_operand_set_ild_f3(xed_decoded_inst_t* d, xed_bits_t opval)
1052 {
1053 d->_operands.ild_f3 = (xed_uint8_t)opval;
1054 }
xed3_operand_get_rexr(const xed_decoded_inst_t * d)1055 static XED_INLINE xed_bits_t xed3_operand_get_rexr(const xed_decoded_inst_t* d)
1056 {
1057 return (xed_bits_t)d->_operands.rexr;
1058 }
xed3_operand_set_rexr(xed_decoded_inst_t * d,xed_bits_t opval)1059 static XED_INLINE void xed3_operand_set_rexr(xed_decoded_inst_t* d, xed_bits_t opval)
1060 {
1061 d->_operands.rexr = (xed_uint8_t)opval;
1062 }
xed3_operand_get_encoder_preferred(const xed_decoded_inst_t * d)1063 static XED_INLINE xed_bits_t xed3_operand_get_encoder_preferred(const xed_decoded_inst_t* d)
1064 {
1065 return (xed_bits_t)d->_operands.encoder_preferred;
1066 }
xed3_operand_set_encoder_preferred(xed_decoded_inst_t * d,xed_bits_t opval)1067 static XED_INLINE void xed3_operand_set_encoder_preferred(xed_decoded_inst_t* d, xed_bits_t opval)
1068 {
1069 d->_operands.encoder_preferred = (xed_uint8_t)opval;
1070 }
xed3_operand_get_reg(const xed_decoded_inst_t * d)1071 static XED_INLINE xed_bits_t xed3_operand_get_reg(const xed_decoded_inst_t* d)
1072 {
1073 return (xed_bits_t)d->_operands.reg;
1074 }
xed3_operand_set_reg(xed_decoded_inst_t * d,xed_bits_t opval)1075 static XED_INLINE void xed3_operand_set_reg(xed_decoded_inst_t* d, xed_bits_t opval)
1076 {
1077 d->_operands.reg = (xed_uint8_t)opval;
1078 }
xed3_operand_get_pos_nominal_opcode(const xed_decoded_inst_t * d)1079 static XED_INLINE xed_bits_t xed3_operand_get_pos_nominal_opcode(const xed_decoded_inst_t* d)
1080 {
1081 return (xed_bits_t)d->_operands.pos_nominal_opcode;
1082 }
xed3_operand_set_pos_nominal_opcode(xed_decoded_inst_t * d,xed_bits_t opval)1083 static XED_INLINE void xed3_operand_set_pos_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval)
1084 {
1085 d->_operands.pos_nominal_opcode = (xed_uint8_t)opval;
1086 }
xed3_operand_get_rexx(const xed_decoded_inst_t * d)1087 static XED_INLINE xed_bits_t xed3_operand_get_rexx(const xed_decoded_inst_t* d)
1088 {
1089 return (xed_bits_t)d->_operands.rexx;
1090 }
xed3_operand_set_rexx(xed_decoded_inst_t * d,xed_bits_t opval)1091 static XED_INLINE void xed3_operand_set_rexx(xed_decoded_inst_t* d, xed_bits_t opval)
1092 {
1093 d->_operands.rexx = (xed_uint8_t)opval;
1094 }
xed3_operand_get_prefix66(const xed_decoded_inst_t * d)1095 static XED_INLINE xed_bits_t xed3_operand_get_prefix66(const xed_decoded_inst_t* d)
1096 {
1097 return (xed_bits_t)d->_operands.prefix66;
1098 }
xed3_operand_set_prefix66(xed_decoded_inst_t * d,xed_bits_t opval)1099 static XED_INLINE void xed3_operand_set_prefix66(xed_decoded_inst_t* d, xed_bits_t opval)
1100 {
1101 d->_operands.prefix66 = (xed_uint8_t)opval;
1102 }
xed3_operand_get_rexrr(const xed_decoded_inst_t * d)1103 static XED_INLINE xed_bits_t xed3_operand_get_rexrr(const xed_decoded_inst_t* d)
1104 {
1105 return (xed_bits_t)d->_operands.rexrr;
1106 }
xed3_operand_set_rexrr(xed_decoded_inst_t * d,xed_bits_t opval)1107 static XED_INLINE void xed3_operand_set_rexrr(xed_decoded_inst_t* d, xed_bits_t opval)
1108 {
1109 d->_operands.rexrr = (xed_uint8_t)opval;
1110 }
xed3_operand_get_asz(const xed_decoded_inst_t * d)1111 static XED_INLINE xed_bits_t xed3_operand_get_asz(const xed_decoded_inst_t* d)
1112 {
1113 return (xed_bits_t)d->_operands.asz;
1114 }
xed3_operand_set_asz(xed_decoded_inst_t * d,xed_bits_t opval)1115 static XED_INLINE void xed3_operand_set_asz(xed_decoded_inst_t* d, xed_bits_t opval)
1116 {
1117 d->_operands.asz = (xed_uint8_t)opval;
1118 }
xed3_operand_get_mask(const xed_decoded_inst_t * d)1119 static XED_INLINE xed_bits_t xed3_operand_get_mask(const xed_decoded_inst_t* d)
1120 {
1121 return (xed_bits_t)d->_operands.mask;
1122 }
xed3_operand_set_mask(xed_decoded_inst_t * d,xed_bits_t opval)1123 static XED_INLINE void xed3_operand_set_mask(xed_decoded_inst_t* d, xed_bits_t opval)
1124 {
1125 d->_operands.mask = (xed_uint8_t)opval;
1126 }
xed3_operand_get_mem1(const xed_decoded_inst_t * d)1127 static XED_INLINE xed_bits_t xed3_operand_get_mem1(const xed_decoded_inst_t* d)
1128 {
1129 return (xed_bits_t)d->_operands.mem1;
1130 }
xed3_operand_set_mem1(xed_decoded_inst_t * d,xed_bits_t opval)1131 static XED_INLINE void xed3_operand_set_mem1(xed_decoded_inst_t* d, xed_bits_t opval)
1132 {
1133 d->_operands.mem1 = (xed_uint8_t)opval;
1134 }
xed3_operand_get_easz(const xed_decoded_inst_t * d)1135 static XED_INLINE xed_bits_t xed3_operand_get_easz(const xed_decoded_inst_t* d)
1136 {
1137 return (xed_bits_t)d->_operands.easz;
1138 }
xed3_operand_set_easz(xed_decoded_inst_t * d,xed_bits_t opval)1139 static XED_INLINE void xed3_operand_set_easz(xed_decoded_inst_t* d, xed_bits_t opval)
1140 {
1141 d->_operands.easz = (xed_uint8_t)opval;
1142 }
xed3_operand_get_pos_imm1(const xed_decoded_inst_t * d)1143 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm1(const xed_decoded_inst_t* d)
1144 {
1145 return (xed_bits_t)d->_operands.pos_imm1;
1146 }
xed3_operand_set_pos_imm1(xed_decoded_inst_t * d,xed_bits_t opval)1147 static XED_INLINE void xed3_operand_set_pos_imm1(xed_decoded_inst_t* d, xed_bits_t opval)
1148 {
1149 d->_operands.pos_imm1 = (xed_uint8_t)opval;
1150 }
xed3_operand_get_mem_width(const xed_decoded_inst_t * d)1151 static XED_INLINE xed_uint16_t xed3_operand_get_mem_width(const xed_decoded_inst_t* d)
1152 {
1153 return (xed_uint16_t)d->_operands.mem_width;
1154 }
xed3_operand_set_mem_width(xed_decoded_inst_t * d,xed_uint16_t opval)1155 static XED_INLINE void xed3_operand_set_mem_width(xed_decoded_inst_t* d, xed_uint16_t opval)
1156 {
1157 d->_operands.mem_width = (xed_uint16_t)opval;
1158 }
xed3_operand_get_lzcnt(const xed_decoded_inst_t * d)1159 static XED_INLINE xed_bits_t xed3_operand_get_lzcnt(const xed_decoded_inst_t* d)
1160 {
1161 return (xed_bits_t)d->_operands.lzcnt;
1162 }
xed3_operand_set_lzcnt(xed_decoded_inst_t * d,xed_bits_t opval)1163 static XED_INLINE void xed3_operand_set_lzcnt(xed_decoded_inst_t* d, xed_bits_t opval)
1164 {
1165 d->_operands.lzcnt = (xed_uint8_t)opval;
1166 }
xed3_operand_get_mem0(const xed_decoded_inst_t * d)1167 static XED_INLINE xed_bits_t xed3_operand_get_mem0(const xed_decoded_inst_t* d)
1168 {
1169 return (xed_bits_t)d->_operands.mem0;
1170 }
xed3_operand_set_mem0(xed_decoded_inst_t * d,xed_bits_t opval)1171 static XED_INLINE void xed3_operand_set_mem0(xed_decoded_inst_t* d, xed_bits_t opval)
1172 {
1173 d->_operands.mem0 = (xed_uint8_t)opval;
1174 }
xed3_operand_get_brdisp_width(const xed_decoded_inst_t * d)1175 static XED_INLINE xed_uint8_t xed3_operand_get_brdisp_width(const xed_decoded_inst_t* d)
1176 {
1177 return (xed_uint8_t)d->_operands.brdisp_width;
1178 }
xed3_operand_set_brdisp_width(xed_decoded_inst_t * d,xed_uint8_t opval)1179 static XED_INLINE void xed3_operand_set_brdisp_width(xed_decoded_inst_t* d, xed_uint8_t opval)
1180 {
1181 d->_operands.brdisp_width = (xed_uint8_t)opval;
1182 }
xed3_operand_get_imm1_bytes(const xed_decoded_inst_t * d)1183 static XED_INLINE xed_bits_t xed3_operand_get_imm1_bytes(const xed_decoded_inst_t* d)
1184 {
1185 return (xed_bits_t)d->_operands.imm1_bytes;
1186 }
xed3_operand_set_imm1_bytes(xed_decoded_inst_t * d,xed_bits_t opval)1187 static XED_INLINE void xed3_operand_set_imm1_bytes(xed_decoded_inst_t* d, xed_bits_t opval)
1188 {
1189 d->_operands.imm1_bytes = (xed_uint8_t)opval;
1190 }
xed3_operand_get_tzcnt(const xed_decoded_inst_t * d)1191 static XED_INLINE xed_bits_t xed3_operand_get_tzcnt(const xed_decoded_inst_t* d)
1192 {
1193 return (xed_bits_t)d->_operands.tzcnt;
1194 }
xed3_operand_set_tzcnt(xed_decoded_inst_t * d,xed_bits_t opval)1195 static XED_INLINE void xed3_operand_set_tzcnt(xed_decoded_inst_t* d, xed_bits_t opval)
1196 {
1197 d->_operands.tzcnt = (xed_uint8_t)opval;
1198 }
xed3_operand_get_df64(const xed_decoded_inst_t * d)1199 static XED_INLINE xed_bits_t xed3_operand_get_df64(const xed_decoded_inst_t* d)
1200 {
1201 return (xed_bits_t)d->_operands.df64;
1202 }
xed3_operand_set_df64(xed_decoded_inst_t * d,xed_bits_t opval)1203 static XED_INLINE void xed3_operand_set_df64(xed_decoded_inst_t* d, xed_bits_t opval)
1204 {
1205 d->_operands.df64 = (xed_uint8_t)opval;
1206 }
xed3_operand_get_lock(const xed_decoded_inst_t * d)1207 static XED_INLINE xed_bits_t xed3_operand_get_lock(const xed_decoded_inst_t* d)
1208 {
1209 return (xed_bits_t)d->_operands.lock;
1210 }
xed3_operand_set_lock(xed_decoded_inst_t * d,xed_bits_t opval)1211 static XED_INLINE void xed3_operand_set_lock(xed_decoded_inst_t* d, xed_bits_t opval)
1212 {
1213 d->_operands.lock = (xed_uint8_t)opval;
1214 }
xed3_operand_get_has_modrm(const xed_decoded_inst_t * d)1215 static XED_INLINE xed_bits_t xed3_operand_get_has_modrm(const xed_decoded_inst_t* d)
1216 {
1217 return (xed_bits_t)d->_operands.has_modrm;
1218 }
xed3_operand_set_has_modrm(xed_decoded_inst_t * d,xed_bits_t opval)1219 static XED_INLINE void xed3_operand_set_has_modrm(xed_decoded_inst_t* d, xed_bits_t opval)
1220 {
1221 d->_operands.has_modrm = (xed_uint8_t)opval;
1222 }
xed3_operand_get_zeroing(const xed_decoded_inst_t * d)1223 static XED_INLINE xed_bits_t xed3_operand_get_zeroing(const xed_decoded_inst_t* d)
1224 {
1225 return (xed_bits_t)d->_operands.zeroing;
1226 }
xed3_operand_set_zeroing(xed_decoded_inst_t * d,xed_bits_t opval)1227 static XED_INLINE void xed3_operand_set_zeroing(xed_decoded_inst_t* d, xed_bits_t opval)
1228 {
1229 d->_operands.zeroing = (xed_uint8_t)opval;
1230 }
xed3_operand_get_srm(const xed_decoded_inst_t * d)1231 static XED_INLINE xed_bits_t xed3_operand_get_srm(const xed_decoded_inst_t* d)
1232 {
1233 return (xed_bits_t)d->_operands.srm;
1234 }
xed3_operand_set_srm(xed_decoded_inst_t * d,xed_bits_t opval)1235 static XED_INLINE void xed3_operand_set_srm(xed_decoded_inst_t* d, xed_bits_t opval)
1236 {
1237 d->_operands.srm = (xed_uint8_t)opval;
1238 }
xed3_operand_get_vexvalid(const xed_decoded_inst_t * d)1239 static XED_INLINE xed_bits_t xed3_operand_get_vexvalid(const xed_decoded_inst_t* d)
1240 {
1241 return (xed_bits_t)d->_operands.vexvalid;
1242 }
xed3_operand_set_vexvalid(xed_decoded_inst_t * d,xed_bits_t opval)1243 static XED_INLINE void xed3_operand_set_vexvalid(xed_decoded_inst_t* d, xed_bits_t opval)
1244 {
1245 d->_operands.vexvalid = (xed_uint8_t)opval;
1246 }
xed3_operand_get_needrex(const xed_decoded_inst_t * d)1247 static XED_INLINE xed_bits_t xed3_operand_get_needrex(const xed_decoded_inst_t* d)
1248 {
1249 return (xed_bits_t)d->_operands.needrex;
1250 }
xed3_operand_set_needrex(xed_decoded_inst_t * d,xed_bits_t opval)1251 static XED_INLINE void xed3_operand_set_needrex(xed_decoded_inst_t* d, xed_bits_t opval)
1252 {
1253 d->_operands.needrex = (xed_uint8_t)opval;
1254 }
xed3_operand_get_skip_osz(const xed_decoded_inst_t * d)1255 static XED_INLINE xed_bits_t xed3_operand_get_skip_osz(const xed_decoded_inst_t* d)
1256 {
1257 return (xed_bits_t)d->_operands.skip_osz;
1258 }
xed3_operand_set_skip_osz(xed_decoded_inst_t * d,xed_bits_t opval)1259 static XED_INLINE void xed3_operand_set_skip_osz(xed_decoded_inst_t* d, xed_bits_t opval)
1260 {
1261 d->_operands.skip_osz = (xed_uint8_t)opval;
1262 }
xed3_operand_get_outreg(const xed_decoded_inst_t * d)1263 static XED_INLINE xed_reg_enum_t xed3_operand_get_outreg(const xed_decoded_inst_t* d)
1264 {
1265 return (xed_reg_enum_t)d->_operands.outreg;
1266 }
xed3_operand_set_outreg(xed_decoded_inst_t * d,xed_reg_enum_t opval)1267 static XED_INLINE void xed3_operand_set_outreg(xed_decoded_inst_t* d, xed_reg_enum_t opval)
1268 {
1269 d->_operands.outreg = (xed_uint16_t)opval;
1270 }
xed3_operand_get_default_seg(const xed_decoded_inst_t * d)1271 static XED_INLINE xed_bits_t xed3_operand_get_default_seg(const xed_decoded_inst_t* d)
1272 {
1273 return (xed_bits_t)d->_operands.default_seg;
1274 }
xed3_operand_set_default_seg(xed_decoded_inst_t * d,xed_bits_t opval)1275 static XED_INLINE void xed3_operand_set_default_seg(xed_decoded_inst_t* d, xed_bits_t opval)
1276 {
1277 d->_operands.default_seg = (xed_uint8_t)opval;
1278 }
xed3_operand_get_nseg_prefixes(const xed_decoded_inst_t * d)1279 static XED_INLINE xed_bits_t xed3_operand_get_nseg_prefixes(const xed_decoded_inst_t* d)
1280 {
1281 return (xed_bits_t)d->_operands.nseg_prefixes;
1282 }
xed3_operand_set_nseg_prefixes(xed_decoded_inst_t * d,xed_bits_t opval)1283 static XED_INLINE void xed3_operand_set_nseg_prefixes(xed_decoded_inst_t* d, xed_bits_t opval)
1284 {
1285 d->_operands.nseg_prefixes = (xed_uint8_t)opval;
1286 }
xed3_operand_get_vex_c4(const xed_decoded_inst_t * d)1287 static XED_INLINE xed_bits_t xed3_operand_get_vex_c4(const xed_decoded_inst_t* d)
1288 {
1289 return (xed_bits_t)d->_operands.vex_c4;
1290 }
xed3_operand_set_vex_c4(xed_decoded_inst_t * d,xed_bits_t opval)1291 static XED_INLINE void xed3_operand_set_vex_c4(xed_decoded_inst_t* d, xed_bits_t opval)
1292 {
1293 d->_operands.vex_c4 = (xed_uint8_t)opval;
1294 }
xed3_operand_get_pos_modrm(const xed_decoded_inst_t * d)1295 static XED_INLINE xed_bits_t xed3_operand_get_pos_modrm(const xed_decoded_inst_t* d)
1296 {
1297 return (xed_bits_t)d->_operands.pos_modrm;
1298 }
xed3_operand_set_pos_modrm(xed_decoded_inst_t * d,xed_bits_t opval)1299 static XED_INLINE void xed3_operand_set_pos_modrm(xed_decoded_inst_t* d, xed_bits_t opval)
1300 {
1301 d->_operands.pos_modrm = (xed_uint8_t)opval;
1302 }
xed3_operand_get_bcast(const xed_decoded_inst_t * d)1303 static XED_INLINE xed_bits_t xed3_operand_get_bcast(const xed_decoded_inst_t* d)
1304 {
1305 return (xed_bits_t)d->_operands.bcast;
1306 }
xed3_operand_set_bcast(xed_decoded_inst_t * d,xed_bits_t opval)1307 static XED_INLINE void xed3_operand_set_bcast(xed_decoded_inst_t* d, xed_bits_t opval)
1308 {
1309 d->_operands.bcast = (xed_uint8_t)opval;
1310 }
xed3_operand_get_type(const xed_decoded_inst_t * d)1311 static XED_INLINE xed_operand_element_type_enum_t xed3_operand_get_type(const xed_decoded_inst_t* d)
1312 {
1313 return (xed_operand_element_type_enum_t)d->_operands.type;
1314 }
xed3_operand_set_type(xed_decoded_inst_t * d,xed_operand_element_type_enum_t opval)1315 static XED_INLINE void xed3_operand_set_type(xed_decoded_inst_t* d, xed_operand_element_type_enum_t opval)
1316 {
1317 d->_operands.type = (xed_uint8_t)opval;
1318 }
xed3_operand_get_seg_ovd(const xed_decoded_inst_t * d)1319 static XED_INLINE xed_bits_t xed3_operand_get_seg_ovd(const xed_decoded_inst_t* d)
1320 {
1321 return (xed_bits_t)d->_operands.seg_ovd;
1322 }
xed3_operand_set_seg_ovd(xed_decoded_inst_t * d,xed_bits_t opval)1323 static XED_INLINE void xed3_operand_set_seg_ovd(xed_decoded_inst_t* d, xed_bits_t opval)
1324 {
1325 d->_operands.seg_ovd = (xed_uint8_t)opval;
1326 }
xed3_operand_get_vex_prefix(const xed_decoded_inst_t * d)1327 static XED_INLINE xed_bits_t xed3_operand_get_vex_prefix(const xed_decoded_inst_t* d)
1328 {
1329 return (xed_bits_t)d->_operands.vex_prefix;
1330 }
xed3_operand_set_vex_prefix(xed_decoded_inst_t * d,xed_bits_t opval)1331 static XED_INLINE void xed3_operand_set_vex_prefix(xed_decoded_inst_t* d, xed_bits_t opval)
1332 {
1333 d->_operands.vex_prefix = (xed_uint8_t)opval;
1334 }
xed3_operand_get_dummy(const xed_decoded_inst_t * d)1335 static XED_INLINE xed_bits_t xed3_operand_get_dummy(const xed_decoded_inst_t* d)
1336 {
1337 return (xed_bits_t)d->_operands.dummy;
1338 }
xed3_operand_set_dummy(xed_decoded_inst_t * d,xed_bits_t opval)1339 static XED_INLINE void xed3_operand_set_dummy(xed_decoded_inst_t* d, xed_bits_t opval)
1340 {
1341 d->_operands.dummy = (xed_uint8_t)opval;
1342 }
xed3_operand_get_norex(const xed_decoded_inst_t * d)1343 static XED_INLINE xed_bits_t xed3_operand_get_norex(const xed_decoded_inst_t* d)
1344 {
1345 return (xed_bits_t)d->_operands.norex;
1346 }
xed3_operand_set_norex(xed_decoded_inst_t * d,xed_bits_t opval)1347 static XED_INLINE void xed3_operand_set_norex(xed_decoded_inst_t* d, xed_bits_t opval)
1348 {
1349 d->_operands.norex = (xed_uint8_t)opval;
1350 }
xed3_operand_get_roundc(const xed_decoded_inst_t * d)1351 static XED_INLINE xed_bits_t xed3_operand_get_roundc(const xed_decoded_inst_t* d)
1352 {
1353 return (xed_bits_t)d->_operands.roundc;
1354 }
xed3_operand_set_roundc(xed_decoded_inst_t * d,xed_bits_t opval)1355 static XED_INLINE void xed3_operand_set_roundc(xed_decoded_inst_t* d, xed_bits_t opval)
1356 {
1357 d->_operands.roundc = (xed_uint8_t)opval;
1358 }
xed3_operand_get_sibbase(const xed_decoded_inst_t * d)1359 static XED_INLINE xed_bits_t xed3_operand_get_sibbase(const xed_decoded_inst_t* d)
1360 {
1361 return (xed_bits_t)d->_operands.sibbase;
1362 }
xed3_operand_set_sibbase(xed_decoded_inst_t * d,xed_bits_t opval)1363 static XED_INLINE void xed3_operand_set_sibbase(xed_decoded_inst_t* d, xed_bits_t opval)
1364 {
1365 d->_operands.sibbase = (xed_uint8_t)opval;
1366 }
xed3_operand_get_need_memdisp(const xed_decoded_inst_t * d)1367 static XED_INLINE xed_bits_t xed3_operand_get_need_memdisp(const xed_decoded_inst_t* d)
1368 {
1369 return (xed_bits_t)d->_operands.need_memdisp;
1370 }
xed3_operand_set_need_memdisp(xed_decoded_inst_t * d,xed_bits_t opval)1371 static XED_INLINE void xed3_operand_set_need_memdisp(xed_decoded_inst_t* d, xed_bits_t opval)
1372 {
1373 d->_operands.need_memdisp = (xed_uint8_t)opval;
1374 }
xed3_operand_get_out_of_bytes(const xed_decoded_inst_t * d)1375 static XED_INLINE xed_bits_t xed3_operand_get_out_of_bytes(const xed_decoded_inst_t* d)
1376 {
1377 return (xed_bits_t)d->_operands.out_of_bytes;
1378 }
xed3_operand_set_out_of_bytes(xed_decoded_inst_t * d,xed_bits_t opval)1379 static XED_INLINE void xed3_operand_set_out_of_bytes(xed_decoded_inst_t* d, xed_bits_t opval)
1380 {
1381 d->_operands.out_of_bytes = (xed_uint8_t)opval;
1382 }
xed3_operand_get_imm1(const xed_decoded_inst_t * d)1383 static XED_INLINE xed_bits_t xed3_operand_get_imm1(const xed_decoded_inst_t* d)
1384 {
1385 return (xed_bits_t)d->_operands.imm1;
1386 }
xed3_operand_set_imm1(xed_decoded_inst_t * d,xed_bits_t opval)1387 static XED_INLINE void xed3_operand_set_imm1(xed_decoded_inst_t* d, xed_bits_t opval)
1388 {
1389 d->_operands.imm1 = (xed_uint8_t)opval;
1390 }
xed3_operand_get_imm0(const xed_decoded_inst_t * d)1391 static XED_INLINE xed_bits_t xed3_operand_get_imm0(const xed_decoded_inst_t* d)
1392 {
1393 return (xed_bits_t)d->_operands.imm0;
1394 }
xed3_operand_set_imm0(xed_decoded_inst_t * d,xed_bits_t opval)1395 static XED_INLINE void xed3_operand_set_imm0(xed_decoded_inst_t* d, xed_bits_t opval)
1396 {
1397 d->_operands.imm0 = (xed_uint8_t)opval;
1398 }
xed3_operand_get_no_scale_disp8(const xed_decoded_inst_t * d)1399 static XED_INLINE xed_bits_t xed3_operand_get_no_scale_disp8(const xed_decoded_inst_t* d)
1400 {
1401 return (xed_bits_t)d->_operands.no_scale_disp8;
1402 }
xed3_operand_set_no_scale_disp8(xed_decoded_inst_t * d,xed_bits_t opval)1403 static XED_INLINE void xed3_operand_set_no_scale_disp8(xed_decoded_inst_t* d, xed_bits_t opval)
1404 {
1405 d->_operands.no_scale_disp8 = (xed_uint8_t)opval;
1406 }
xed3_operand_get_relbr(const xed_decoded_inst_t * d)1407 static XED_INLINE xed_bits_t xed3_operand_get_relbr(const xed_decoded_inst_t* d)
1408 {
1409 return (xed_bits_t)d->_operands.relbr;
1410 }
xed3_operand_set_relbr(xed_decoded_inst_t * d,xed_bits_t opval)1411 static XED_INLINE void xed3_operand_set_relbr(xed_decoded_inst_t* d, xed_bits_t opval)
1412 {
1413 d->_operands.relbr = (xed_uint8_t)opval;
1414 }
xed3_operand_get_ild_seg(const xed_decoded_inst_t * d)1415 static XED_INLINE xed_bits_t xed3_operand_get_ild_seg(const xed_decoded_inst_t* d)
1416 {
1417 return (xed_bits_t)d->_operands.ild_seg;
1418 }
xed3_operand_set_ild_seg(xed_decoded_inst_t * d,xed_bits_t opval)1419 static XED_INLINE void xed3_operand_set_ild_seg(xed_decoded_inst_t* d, xed_bits_t opval)
1420 {
1421 d->_operands.ild_seg = (xed_uint8_t)opval;
1422 }
xed3_operand_get_df32(const xed_decoded_inst_t * d)1423 static XED_INLINE xed_bits_t xed3_operand_get_df32(const xed_decoded_inst_t* d)
1424 {
1425 return (xed_bits_t)d->_operands.df32;
1426 }
xed3_operand_set_df32(xed_decoded_inst_t * d,xed_bits_t opval)1427 static XED_INLINE void xed3_operand_set_df32(xed_decoded_inst_t* d, xed_bits_t opval)
1428 {
1429 d->_operands.df32 = (xed_uint8_t)opval;
1430 }
xed3_operand_get_realmode(const xed_decoded_inst_t * d)1431 static XED_INLINE xed_bits_t xed3_operand_get_realmode(const xed_decoded_inst_t* d)
1432 {
1433 return (xed_bits_t)d->_operands.realmode;
1434 }
xed3_operand_set_realmode(xed_decoded_inst_t * d,xed_bits_t opval)1435 static XED_INLINE void xed3_operand_set_realmode(xed_decoded_inst_t* d, xed_bits_t opval)
1436 {
1437 d->_operands.realmode = (xed_uint8_t)opval;
1438 }
xed3_operand_get_modrm_byte(const xed_decoded_inst_t * d)1439 static XED_INLINE xed_bits_t xed3_operand_get_modrm_byte(const xed_decoded_inst_t* d)
1440 {
1441 return (xed_bits_t)d->_operands.modrm_byte;
1442 }
xed3_operand_set_modrm_byte(xed_decoded_inst_t * d,xed_bits_t opval)1443 static XED_INLINE void xed3_operand_set_modrm_byte(xed_decoded_inst_t* d, xed_bits_t opval)
1444 {
1445 d->_operands.modrm_byte = (xed_uint8_t)opval;
1446 }
xed3_operand_get_mode(const xed_decoded_inst_t * d)1447 static XED_INLINE xed_bits_t xed3_operand_get_mode(const xed_decoded_inst_t* d)
1448 {
1449 return (xed_bits_t)d->_operands.mode;
1450 }
xed3_operand_set_mode(xed_decoded_inst_t * d,xed_bits_t opval)1451 static XED_INLINE void xed3_operand_set_mode(xed_decoded_inst_t* d, xed_bits_t opval)
1452 {
1453 d->_operands.mode = (xed_uint8_t)opval;
1454 }
xed3_operand_get_mpxmode(const xed_decoded_inst_t * d)1455 static XED_INLINE xed_bits_t xed3_operand_get_mpxmode(const xed_decoded_inst_t* d)
1456 {
1457 return (xed_bits_t)d->_operands.mpxmode;
1458 }
xed3_operand_set_mpxmode(xed_decoded_inst_t * d,xed_bits_t opval)1459 static XED_INLINE void xed3_operand_set_mpxmode(xed_decoded_inst_t* d, xed_bits_t opval)
1460 {
1461 d->_operands.mpxmode = (xed_uint8_t)opval;
1462 }
xed3_operand_get_sibscale(const xed_decoded_inst_t * d)1463 static XED_INLINE xed_bits_t xed3_operand_get_sibscale(const xed_decoded_inst_t* d)
1464 {
1465 return (xed_bits_t)d->_operands.sibscale;
1466 }
xed3_operand_set_sibscale(xed_decoded_inst_t * d,xed_bits_t opval)1467 static XED_INLINE void xed3_operand_set_sibscale(xed_decoded_inst_t* d, xed_bits_t opval)
1468 {
1469 d->_operands.sibscale = (xed_uint8_t)opval;
1470 }
xed3_operand_get_vl(const xed_decoded_inst_t * d)1471 static XED_INLINE xed_bits_t xed3_operand_get_vl(const xed_decoded_inst_t* d)
1472 {
1473 return (xed_bits_t)d->_operands.vl;
1474 }
xed3_operand_set_vl(xed_decoded_inst_t * d,xed_bits_t opval)1475 static XED_INLINE void xed3_operand_set_vl(xed_decoded_inst_t* d, xed_bits_t opval)
1476 {
1477 d->_operands.vl = (xed_uint8_t)opval;
1478 }
xed3_operand_get_wbnoinvd(const xed_decoded_inst_t * d)1479 static XED_INLINE xed_bits_t xed3_operand_get_wbnoinvd(const xed_decoded_inst_t* d)
1480 {
1481 return (xed_bits_t)d->_operands.wbnoinvd;
1482 }
xed3_operand_set_wbnoinvd(xed_decoded_inst_t * d,xed_bits_t opval)1483 static XED_INLINE void xed3_operand_set_wbnoinvd(xed_decoded_inst_t* d, xed_bits_t opval)
1484 {
1485 d->_operands.wbnoinvd = (xed_uint8_t)opval;
1486 }
xed3_operand_get_max_bytes(const xed_decoded_inst_t * d)1487 static XED_INLINE xed_bits_t xed3_operand_get_max_bytes(const xed_decoded_inst_t* d)
1488 {
1489 return (xed_bits_t)d->_operands.max_bytes;
1490 }
xed3_operand_set_max_bytes(xed_decoded_inst_t * d,xed_bits_t opval)1491 static XED_INLINE void xed3_operand_set_max_bytes(xed_decoded_inst_t* d, xed_bits_t opval)
1492 {
1493 d->_operands.max_bytes = (xed_uint8_t)opval;
1494 }
xed3_operand_get_modep5(const xed_decoded_inst_t * d)1495 static XED_INLINE xed_bits_t xed3_operand_get_modep5(const xed_decoded_inst_t* d)
1496 {
1497 return (xed_bits_t)d->_operands.modep5;
1498 }
xed3_operand_set_modep5(xed_decoded_inst_t * d,xed_bits_t opval)1499 static XED_INLINE void xed3_operand_set_modep5(xed_decoded_inst_t* d, xed_bits_t opval)
1500 {
1501 d->_operands.modep5 = (xed_uint8_t)opval;
1502 }
xed3_operand_get_first_f2f3(const xed_decoded_inst_t * d)1503 static XED_INLINE xed_bits_t xed3_operand_get_first_f2f3(const xed_decoded_inst_t* d)
1504 {
1505 return (xed_bits_t)d->_operands.first_f2f3;
1506 }
xed3_operand_set_first_f2f3(xed_decoded_inst_t * d,xed_bits_t opval)1507 static XED_INLINE void xed3_operand_set_first_f2f3(xed_decoded_inst_t* d, xed_bits_t opval)
1508 {
1509 d->_operands.first_f2f3 = (xed_uint8_t)opval;
1510 }
xed3_operand_get_vexdest4(const xed_decoded_inst_t * d)1511 static XED_INLINE xed_bits_t xed3_operand_get_vexdest4(const xed_decoded_inst_t* d)
1512 {
1513 return (xed_bits_t)d->_operands.vexdest4;
1514 }
xed3_operand_set_vexdest4(xed_decoded_inst_t * d,xed_bits_t opval)1515 static XED_INLINE void xed3_operand_set_vexdest4(xed_decoded_inst_t* d, xed_bits_t opval)
1516 {
1517 d->_operands.vexdest4 = (xed_uint8_t)opval;
1518 }
1519 #endif
1520