00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00032
00033
00034
00035
00036 #if !defined(_XED_OPERAND_ACCESSORS_H_)
00037 # define _XED_OPERAND_ACCESSORS_H_
00038 #include "xed-decoded-inst.h"
00039 #include "xed-operand-storage.h"
00040 static XED_INLINE xed_bits_t xed3_operand_get_sib(const xed_decoded_inst_t* d);
00041
00042 static XED_INLINE void xed3_operand_set_sib(xed_decoded_inst_t* d, xed_bits_t opval);
00043
00044 static XED_INLINE xed_bits_t xed3_operand_get_last_f2f3(const xed_decoded_inst_t* d);
00045
00046 static XED_INLINE void xed3_operand_set_last_f2f3(xed_decoded_inst_t* d, xed_bits_t opval);
00047
00048 static XED_INLINE xed_uint8_t xed3_operand_get_disp_width(const xed_decoded_inst_t* d);
00049
00050 static XED_INLINE void xed3_operand_set_disp_width(xed_decoded_inst_t* d, xed_uint8_t opval);
00051
00052 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment0(const xed_decoded_inst_t* d);
00053
00054 static XED_INLINE void xed3_operand_set_using_default_segment0(xed_decoded_inst_t* d, xed_bits_t opval);
00055
00056 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment1(const xed_decoded_inst_t* d);
00057
00058 static XED_INLINE void xed3_operand_set_using_default_segment1(xed_decoded_inst_t* d, xed_bits_t opval);
00059
00060 static XED_INLINE xed_bits_t xed3_operand_get_hint(const xed_decoded_inst_t* d);
00061
00062 static XED_INLINE void xed3_operand_set_hint(xed_decoded_inst_t* d, xed_bits_t opval);
00063
00064 static XED_INLINE xed_bits_t xed3_operand_get_sae(const xed_decoded_inst_t* d);
00065
00066 static XED_INLINE void xed3_operand_set_sae(xed_decoded_inst_t* d, xed_bits_t opval);
00067
00068 static XED_INLINE xed_bits_t xed3_operand_get_mode_first_prefix(const xed_decoded_inst_t* d);
00069
00070 static XED_INLINE void xed3_operand_set_mode_first_prefix(xed_decoded_inst_t* d, xed_bits_t opval);
00071
00072 static XED_INLINE xed_uint8_t xed3_operand_get_uimm1(const xed_decoded_inst_t* d);
00073
00074 static XED_INLINE void xed3_operand_set_uimm1(xed_decoded_inst_t* d, xed_uint8_t opval);
00075
00076 static XED_INLINE xed_uint64_t xed3_operand_get_uimm0(const xed_decoded_inst_t* d);
00077
00078 static XED_INLINE void xed3_operand_set_uimm0(xed_decoded_inst_t* d, xed_uint64_t opval);
00079
00080 static XED_INLINE xed_bits_t xed3_operand_get_smode(const xed_decoded_inst_t* d);
00081
00082 static XED_INLINE void xed3_operand_set_smode(xed_decoded_inst_t* d, xed_bits_t opval);
00083
00084 static XED_INLINE xed_bits_t xed3_operand_get_rm(const xed_decoded_inst_t* d);
00085
00086 static XED_INLINE void xed3_operand_set_rm(xed_decoded_inst_t* d, xed_bits_t opval);
00087
00088 static XED_INLINE xed_bits_t xed3_operand_get_modrm(const xed_decoded_inst_t* d);
00089
00090 static XED_INLINE void xed3_operand_set_modrm(xed_decoded_inst_t* d, xed_bits_t opval);
00091
00092 static XED_INLINE xed_chip_enum_t xed3_operand_get_chip(const xed_decoded_inst_t* d);
00093
00094 static XED_INLINE void xed3_operand_set_chip(xed_decoded_inst_t* d, xed_chip_enum_t opval);
00095
00096 static XED_INLINE xed_bits_t xed3_operand_get_amd3dnow(const xed_decoded_inst_t* d);
00097
00098 static XED_INLINE void xed3_operand_set_amd3dnow(xed_decoded_inst_t* d, xed_bits_t opval);
00099
00100 static XED_INLINE xed_bits_t xed3_operand_get_rep_able(const xed_decoded_inst_t* d);
00101
00102 static XED_INLINE void xed3_operand_set_rep_able(xed_decoded_inst_t* d, xed_bits_t opval);
00103
00104 static XED_INLINE xed_bits_t xed3_operand_get_map(const xed_decoded_inst_t* d);
00105
00106 static XED_INLINE void xed3_operand_set_map(xed_decoded_inst_t* d, xed_bits_t opval);
00107
00108 static XED_INLINE xed_bits_t xed3_operand_get_sibindex(const xed_decoded_inst_t* d);
00109
00110 static XED_INLINE void xed3_operand_set_sibindex(xed_decoded_inst_t* d, xed_bits_t opval);
00111
00112 static XED_INLINE xed_bits_t xed3_operand_get_agen(const xed_decoded_inst_t* d);
00113
00114 static XED_INLINE void xed3_operand_set_agen(xed_decoded_inst_t* d, xed_bits_t opval);
00115
00116 static XED_INLINE xed_bits_t xed3_operand_get_nominal_opcode(const xed_decoded_inst_t* d);
00117
00118 static XED_INLINE void xed3_operand_set_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval);
00119
00120 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg1(const xed_decoded_inst_t* d);
00121
00122 static XED_INLINE void xed3_operand_set_seg1(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00123
00124 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg0(const xed_decoded_inst_t* d);
00125
00126 static XED_INLINE void xed3_operand_set_seg0(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00127
00128 static XED_INLINE xed_bits_t xed3_operand_get_nprefixes(const xed_decoded_inst_t* d);
00129
00130 static XED_INLINE void xed3_operand_set_nprefixes(xed_decoded_inst_t* d, xed_bits_t opval);
00131
00132 static XED_INLINE xed_reg_enum_t xed3_operand_get_index(const xed_decoded_inst_t* d);
00133
00134 static XED_INLINE void xed3_operand_set_index(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00135
00136 static XED_INLINE xed_bits_t xed3_operand_get_ild_f2(const xed_decoded_inst_t* d);
00137
00138 static XED_INLINE void xed3_operand_set_ild_f2(xed_decoded_inst_t* d, xed_bits_t opval);
00139
00140 static XED_INLINE xed_bits_t xed3_operand_get_scale(const xed_decoded_inst_t* d);
00141
00142 static XED_INLINE void xed3_operand_set_scale(xed_decoded_inst_t* d, xed_bits_t opval);
00143
00144 static XED_INLINE xed_bits_t xed3_operand_get_llrc(const xed_decoded_inst_t* d);
00145
00146 static XED_INLINE void xed3_operand_set_llrc(xed_decoded_inst_t* d, xed_bits_t opval);
00147
00148 static XED_INLINE xed_bits_t xed3_operand_get_sreg(const xed_decoded_inst_t* d);
00149
00150 static XED_INLINE void xed3_operand_set_sreg(xed_decoded_inst_t* d, xed_bits_t opval);
00151
00152 static XED_INLINE xed_bits_t xed3_operand_get_esrc(const xed_decoded_inst_t* d);
00153
00154 static XED_INLINE void xed3_operand_set_esrc(xed_decoded_inst_t* d, xed_bits_t opval);
00155
00156 static XED_INLINE xed_bits_t xed3_operand_get_nrexes(const xed_decoded_inst_t* d);
00157
00158 static XED_INLINE void xed3_operand_set_nrexes(xed_decoded_inst_t* d, xed_bits_t opval);
00159
00160 static XED_INLINE xed_bits_t xed3_operand_get_pos_sib(const xed_decoded_inst_t* d);
00161
00162 static XED_INLINE void xed3_operand_set_pos_sib(xed_decoded_inst_t* d, xed_bits_t opval);
00163
00164 static XED_INLINE xed_bits_t xed3_operand_get_osz(const xed_decoded_inst_t* d);
00165
00166 static XED_INLINE void xed3_operand_set_osz(xed_decoded_inst_t* d, xed_bits_t opval);
00167
00168 static XED_INLINE xed_bits_t xed3_operand_get_has_sib(const xed_decoded_inst_t* d);
00169
00170 static XED_INLINE void xed3_operand_set_has_sib(xed_decoded_inst_t* d, xed_bits_t opval);
00171
00172 static XED_INLINE xed_bits_t xed3_operand_get_eosz(const xed_decoded_inst_t* d);
00173
00174 static XED_INLINE void xed3_operand_set_eosz(xed_decoded_inst_t* d, xed_bits_t opval);
00175
00176 static XED_INLINE xed_bits_t xed3_operand_get_element_size(const xed_decoded_inst_t* d);
00177
00178 static XED_INLINE void xed3_operand_set_element_size(xed_decoded_inst_t* d, xed_bits_t opval);
00179
00180 static XED_INLINE xed_bits_t xed3_operand_get_pos_disp(const xed_decoded_inst_t* d);
00181
00182 static XED_INLINE void xed3_operand_set_pos_disp(xed_decoded_inst_t* d, xed_bits_t opval);
00183
00184 static XED_INLINE xed_bits_t xed3_operand_get_ubit(const xed_decoded_inst_t* d);
00185
00186 static XED_INLINE void xed3_operand_set_ubit(xed_decoded_inst_t* d, xed_bits_t opval);
00187
00188 static XED_INLINE xed_bits_t xed3_operand_get_vexdest210(const xed_decoded_inst_t* d);
00189
00190 static XED_INLINE void xed3_operand_set_vexdest210(xed_decoded_inst_t* d, xed_bits_t opval);
00191
00192 static XED_INLINE xed_bits_t xed3_operand_get_vexdest3(const xed_decoded_inst_t* d);
00193
00194 static XED_INLINE void xed3_operand_set_vexdest3(xed_decoded_inst_t* d, xed_bits_t opval);
00195
00196 static XED_INLINE xed_bits_t xed3_operand_get_refining(const xed_decoded_inst_t* d);
00197
00198 static XED_INLINE void xed3_operand_set_refining(xed_decoded_inst_t* d, xed_bits_t opval);
00199
00200 static XED_INLINE xed_bits_t xed3_operand_get_ptr(const xed_decoded_inst_t* d);
00201
00202 static XED_INLINE void xed3_operand_set_ptr(xed_decoded_inst_t* d, xed_bits_t opval);
00203
00204 static XED_INLINE xed_bits_t xed3_operand_get_p4(const xed_decoded_inst_t* d);
00205
00206 static XED_INLINE void xed3_operand_set_p4(xed_decoded_inst_t* d, xed_bits_t opval);
00207
00208 static XED_INLINE xed_bits_t xed3_operand_get_modep55c(const xed_decoded_inst_t* d);
00209
00210 static XED_INLINE void xed3_operand_set_modep55c(xed_decoded_inst_t* d, xed_bits_t opval);
00211
00212 static XED_INLINE xed_iclass_enum_t xed3_operand_get_iclass(const xed_decoded_inst_t* d);
00213
00214 static XED_INLINE void xed3_operand_set_iclass(xed_decoded_inst_t* d, xed_iclass_enum_t opval);
00215
00216 static XED_INLINE xed_uint8_t xed3_operand_get_imm_width(const xed_decoded_inst_t* d);
00217
00218 static XED_INLINE void xed3_operand_set_imm_width(xed_decoded_inst_t* d, xed_uint8_t opval);
00219
00220 static XED_INLINE xed_bits_t xed3_operand_get_bcrc(const xed_decoded_inst_t* d);
00221
00222 static XED_INLINE void xed3_operand_set_bcrc(xed_decoded_inst_t* d, xed_bits_t opval);
00223
00224 static XED_INLINE xed_error_enum_t xed3_operand_get_error(const xed_decoded_inst_t* d);
00225
00226 static XED_INLINE void xed3_operand_set_error(xed_decoded_inst_t* d, xed_error_enum_t opval);
00227
00228 static XED_INLINE xed_bits_t xed3_operand_get_evexrr(const xed_decoded_inst_t* d);
00229
00230 static XED_INLINE void xed3_operand_set_evexrr(xed_decoded_inst_t* d, xed_bits_t opval);
00231
00232 static XED_INLINE xed_bits_t xed3_operand_get_nelem(const xed_decoded_inst_t* d);
00233
00234 static XED_INLINE void xed3_operand_set_nelem(xed_decoded_inst_t* d, xed_bits_t opval);
00235
00236 static XED_INLINE xed_bits_t xed3_operand_get_imm0signed(const xed_decoded_inst_t* d);
00237
00238 static XED_INLINE void xed3_operand_set_imm0signed(xed_decoded_inst_t* d, xed_bits_t opval);
00239
00240 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg8(const xed_decoded_inst_t* d);
00241
00242 static XED_INLINE void xed3_operand_set_reg8(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00243
00244 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg6(const xed_decoded_inst_t* d);
00245
00246 static XED_INLINE void xed3_operand_set_reg6(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00247
00248 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg7(const xed_decoded_inst_t* d);
00249
00250 static XED_INLINE void xed3_operand_set_reg7(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00251
00252 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg4(const xed_decoded_inst_t* d);
00253
00254 static XED_INLINE void xed3_operand_set_reg4(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00255
00256 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg5(const xed_decoded_inst_t* d);
00257
00258 static XED_INLINE void xed3_operand_set_reg5(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00259
00260 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg2(const xed_decoded_inst_t* d);
00261
00262 static XED_INLINE void xed3_operand_set_reg2(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00263
00264 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg3(const xed_decoded_inst_t* d);
00265
00266 static XED_INLINE void xed3_operand_set_reg3(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00267
00268 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg0(const xed_decoded_inst_t* d);
00269
00270 static XED_INLINE void xed3_operand_set_reg0(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00271
00272 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg1(const xed_decoded_inst_t* d);
00273
00274 static XED_INLINE void xed3_operand_set_reg1(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00275
00276 static XED_INLINE xed_reg_enum_t xed3_operand_get_base0(const xed_decoded_inst_t* d);
00277
00278 static XED_INLINE void xed3_operand_set_base0(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00279
00280 static XED_INLINE xed_reg_enum_t xed3_operand_get_base1(const xed_decoded_inst_t* d);
00281
00282 static XED_INLINE void xed3_operand_set_base1(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00283
00284 static XED_INLINE xed_bits_t xed3_operand_get_mod(const xed_decoded_inst_t* d);
00285
00286 static XED_INLINE void xed3_operand_set_mod(xed_decoded_inst_t* d, xed_bits_t opval);
00287
00288 static XED_INLINE xed_int64_t xed3_operand_get_disp(const xed_decoded_inst_t* d);
00289
00290 static XED_INLINE void xed3_operand_set_disp(xed_decoded_inst_t* d, xed_int64_t opval);
00291
00292 static XED_INLINE xed_bits_t xed3_operand_get_rex(const xed_decoded_inst_t* d);
00293
00294 static XED_INLINE void xed3_operand_set_rex(xed_decoded_inst_t* d, xed_bits_t opval);
00295
00296 static XED_INLINE xed_bits_t xed3_operand_get_rexb(const xed_decoded_inst_t* d);
00297
00298 static XED_INLINE void xed3_operand_set_rexb(xed_decoded_inst_t* d, xed_bits_t opval);
00299
00300 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm(const xed_decoded_inst_t* d);
00301
00302 static XED_INLINE void xed3_operand_set_pos_imm(xed_decoded_inst_t* d, xed_bits_t opval);
00303
00304 static XED_INLINE xed_bits_t xed3_operand_get_rep(const xed_decoded_inst_t* d);
00305
00306 static XED_INLINE void xed3_operand_set_rep(xed_decoded_inst_t* d, xed_bits_t opval);
00307
00308 static XED_INLINE xed_bits_t xed3_operand_get_rexw(const xed_decoded_inst_t* d);
00309
00310 static XED_INLINE void xed3_operand_set_rexw(xed_decoded_inst_t* d, xed_bits_t opval);
00311
00312 static XED_INLINE xed_bits_t xed3_operand_get_ild_f3(const xed_decoded_inst_t* d);
00313
00314 static XED_INLINE void xed3_operand_set_ild_f3(xed_decoded_inst_t* d, xed_bits_t opval);
00315
00316 static XED_INLINE xed_bits_t xed3_operand_get_rexr(const xed_decoded_inst_t* d);
00317
00318 static XED_INLINE void xed3_operand_set_rexr(xed_decoded_inst_t* d, xed_bits_t opval);
00319
00320 static XED_INLINE xed_bits_t xed3_operand_get_encoder_preferred(const xed_decoded_inst_t* d);
00321
00322 static XED_INLINE void xed3_operand_set_encoder_preferred(xed_decoded_inst_t* d, xed_bits_t opval);
00323
00324 static XED_INLINE xed_bits_t xed3_operand_get_reg(const xed_decoded_inst_t* d);
00325
00326 static XED_INLINE void xed3_operand_set_reg(xed_decoded_inst_t* d, xed_bits_t opval);
00327
00328 static XED_INLINE xed_bits_t xed3_operand_get_pos_nominal_opcode(const xed_decoded_inst_t* d);
00329
00330 static XED_INLINE void xed3_operand_set_pos_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval);
00331
00332 static XED_INLINE xed_bits_t xed3_operand_get_rexx(const xed_decoded_inst_t* d);
00333
00334 static XED_INLINE void xed3_operand_set_rexx(xed_decoded_inst_t* d, xed_bits_t opval);
00335
00336 static XED_INLINE xed_bits_t xed3_operand_get_prefix66(const xed_decoded_inst_t* d);
00337
00338 static XED_INLINE void xed3_operand_set_prefix66(xed_decoded_inst_t* d, xed_bits_t opval);
00339
00340 static XED_INLINE xed_bits_t xed3_operand_get_rexrr(const xed_decoded_inst_t* d);
00341
00342 static XED_INLINE void xed3_operand_set_rexrr(xed_decoded_inst_t* d, xed_bits_t opval);
00343
00344 static XED_INLINE xed_bits_t xed3_operand_get_asz(const xed_decoded_inst_t* d);
00345
00346 static XED_INLINE void xed3_operand_set_asz(xed_decoded_inst_t* d, xed_bits_t opval);
00347
00348 static XED_INLINE xed_bits_t xed3_operand_get_mask(const xed_decoded_inst_t* d);
00349
00350 static XED_INLINE void xed3_operand_set_mask(xed_decoded_inst_t* d, xed_bits_t opval);
00351
00352 static XED_INLINE xed_bits_t xed3_operand_get_mem1(const xed_decoded_inst_t* d);
00353
00354 static XED_INLINE void xed3_operand_set_mem1(xed_decoded_inst_t* d, xed_bits_t opval);
00355
00356 static XED_INLINE xed_bits_t xed3_operand_get_easz(const xed_decoded_inst_t* d);
00357
00358 static XED_INLINE void xed3_operand_set_easz(xed_decoded_inst_t* d, xed_bits_t opval);
00359
00360 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm1(const xed_decoded_inst_t* d);
00361
00362 static XED_INLINE void xed3_operand_set_pos_imm1(xed_decoded_inst_t* d, xed_bits_t opval);
00363
00364 static XED_INLINE xed_uint16_t xed3_operand_get_mem_width(const xed_decoded_inst_t* d);
00365
00366 static XED_INLINE void xed3_operand_set_mem_width(xed_decoded_inst_t* d, xed_uint16_t opval);
00367
00368 static XED_INLINE xed_bits_t xed3_operand_get_mem0(const xed_decoded_inst_t* d);
00369
00370 static XED_INLINE void xed3_operand_set_mem0(xed_decoded_inst_t* d, xed_bits_t opval);
00371
00372 static XED_INLINE xed_uint8_t xed3_operand_get_brdisp_width(const xed_decoded_inst_t* d);
00373
00374 static XED_INLINE void xed3_operand_set_brdisp_width(xed_decoded_inst_t* d, xed_uint8_t opval);
00375
00376 static XED_INLINE xed_bits_t xed3_operand_get_imm1_bytes(const xed_decoded_inst_t* d);
00377
00378 static XED_INLINE void xed3_operand_set_imm1_bytes(xed_decoded_inst_t* d, xed_bits_t opval);
00379
00380 static XED_INLINE xed_bits_t xed3_operand_get_df64(const xed_decoded_inst_t* d);
00381
00382 static XED_INLINE void xed3_operand_set_df64(xed_decoded_inst_t* d, xed_bits_t opval);
00383
00384 static XED_INLINE xed_bits_t xed3_operand_get_lock(const xed_decoded_inst_t* d);
00385
00386 static XED_INLINE void xed3_operand_set_lock(xed_decoded_inst_t* d, xed_bits_t opval);
00387
00388 static XED_INLINE xed_bits_t xed3_operand_get_has_modrm(const xed_decoded_inst_t* d);
00389
00390 static XED_INLINE void xed3_operand_set_has_modrm(xed_decoded_inst_t* d, xed_bits_t opval);
00391
00392 static XED_INLINE xed_bits_t xed3_operand_get_zeroing(const xed_decoded_inst_t* d);
00393
00394 static XED_INLINE void xed3_operand_set_zeroing(xed_decoded_inst_t* d, xed_bits_t opval);
00395
00396 static XED_INLINE xed_bits_t xed3_operand_get_srm(const xed_decoded_inst_t* d);
00397
00398 static XED_INLINE void xed3_operand_set_srm(xed_decoded_inst_t* d, xed_bits_t opval);
00399
00400 static XED_INLINE xed_bits_t xed3_operand_get_vexvalid(const xed_decoded_inst_t* d);
00401
00402 static XED_INLINE void xed3_operand_set_vexvalid(xed_decoded_inst_t* d, xed_bits_t opval);
00403
00404 static XED_INLINE xed_bits_t xed3_operand_get_needrex(const xed_decoded_inst_t* d);
00405
00406 static XED_INLINE void xed3_operand_set_needrex(xed_decoded_inst_t* d, xed_bits_t opval);
00407
00408 static XED_INLINE xed_bits_t xed3_operand_get_skip_osz(const xed_decoded_inst_t* d);
00409
00410 static XED_INLINE void xed3_operand_set_skip_osz(xed_decoded_inst_t* d, xed_bits_t opval);
00411
00412 static XED_INLINE xed_reg_enum_t xed3_operand_get_outreg(const xed_decoded_inst_t* d);
00413
00414 static XED_INLINE void xed3_operand_set_outreg(xed_decoded_inst_t* d, xed_reg_enum_t opval);
00415
00416 static XED_INLINE xed_bits_t xed3_operand_get_default_seg(const xed_decoded_inst_t* d);
00417
00418 static XED_INLINE void xed3_operand_set_default_seg(xed_decoded_inst_t* d, xed_bits_t opval);
00419
00420 static XED_INLINE xed_bits_t xed3_operand_get_nseg_prefixes(const xed_decoded_inst_t* d);
00421
00422 static XED_INLINE void xed3_operand_set_nseg_prefixes(xed_decoded_inst_t* d, xed_bits_t opval);
00423
00424 static XED_INLINE xed_bits_t xed3_operand_get_vex_c4(const xed_decoded_inst_t* d);
00425
00426 static XED_INLINE void xed3_operand_set_vex_c4(xed_decoded_inst_t* d, xed_bits_t opval);
00427
00428 static XED_INLINE xed_bits_t xed3_operand_get_pos_modrm(const xed_decoded_inst_t* d);
00429
00430 static XED_INLINE void xed3_operand_set_pos_modrm(xed_decoded_inst_t* d, xed_bits_t opval);
00431
00432 static XED_INLINE xed_bits_t xed3_operand_get_bcast(const xed_decoded_inst_t* d);
00433
00434 static XED_INLINE void xed3_operand_set_bcast(xed_decoded_inst_t* d, xed_bits_t opval);
00435
00436 static XED_INLINE xed_operand_element_type_enum_t xed3_operand_get_type(const xed_decoded_inst_t* d);
00437
00438 static XED_INLINE void xed3_operand_set_type(xed_decoded_inst_t* d, xed_operand_element_type_enum_t opval);
00439
00440 static XED_INLINE xed_bits_t xed3_operand_get_seg_ovd(const xed_decoded_inst_t* d);
00441
00442 static XED_INLINE void xed3_operand_set_seg_ovd(xed_decoded_inst_t* d, xed_bits_t opval);
00443
00444 static XED_INLINE xed_bits_t xed3_operand_get_vex_prefix(const xed_decoded_inst_t* d);
00445
00446 static XED_INLINE void xed3_operand_set_vex_prefix(xed_decoded_inst_t* d, xed_bits_t opval);
00447
00448 static XED_INLINE xed_bits_t xed3_operand_get_dummy(const xed_decoded_inst_t* d);
00449
00450 static XED_INLINE void xed3_operand_set_dummy(xed_decoded_inst_t* d, xed_bits_t opval);
00451
00452 static XED_INLINE xed_bits_t xed3_operand_get_norex(const xed_decoded_inst_t* d);
00453
00454 static XED_INLINE void xed3_operand_set_norex(xed_decoded_inst_t* d, xed_bits_t opval);
00455
00456 static XED_INLINE xed_bits_t xed3_operand_get_roundc(const xed_decoded_inst_t* d);
00457
00458 static XED_INLINE void xed3_operand_set_roundc(xed_decoded_inst_t* d, xed_bits_t opval);
00459
00460 static XED_INLINE xed_bits_t xed3_operand_get_sibbase(const xed_decoded_inst_t* d);
00461
00462 static XED_INLINE void xed3_operand_set_sibbase(xed_decoded_inst_t* d, xed_bits_t opval);
00463
00464 static XED_INLINE xed_bits_t xed3_operand_get_need_memdisp(const xed_decoded_inst_t* d);
00465
00466 static XED_INLINE void xed3_operand_set_need_memdisp(xed_decoded_inst_t* d, xed_bits_t opval);
00467
00468 static XED_INLINE xed_bits_t xed3_operand_get_out_of_bytes(const xed_decoded_inst_t* d);
00469
00470 static XED_INLINE void xed3_operand_set_out_of_bytes(xed_decoded_inst_t* d, xed_bits_t opval);
00471
00472 static XED_INLINE xed_bits_t xed3_operand_get_lockable(const xed_decoded_inst_t* d);
00473
00474 static XED_INLINE void xed3_operand_set_lockable(xed_decoded_inst_t* d, xed_bits_t opval);
00475
00476 static XED_INLINE xed_bits_t xed3_operand_get_imm1(const xed_decoded_inst_t* d);
00477
00478 static XED_INLINE void xed3_operand_set_imm1(xed_decoded_inst_t* d, xed_bits_t opval);
00479
00480 static XED_INLINE xed_bits_t xed3_operand_get_imm0(const xed_decoded_inst_t* d);
00481
00482 static XED_INLINE void xed3_operand_set_imm0(xed_decoded_inst_t* d, xed_bits_t opval);
00483
00484 static XED_INLINE xed_bits_t xed3_operand_get_hsw(const xed_decoded_inst_t* d);
00485
00486 static XED_INLINE void xed3_operand_set_hsw(xed_decoded_inst_t* d, xed_bits_t opval);
00487
00488 static XED_INLINE xed_bits_t xed3_operand_get_relbr(const xed_decoded_inst_t* d);
00489
00490 static XED_INLINE void xed3_operand_set_relbr(xed_decoded_inst_t* d, xed_bits_t opval);
00491
00492 static XED_INLINE xed_bits_t xed3_operand_get_ild_seg(const xed_decoded_inst_t* d);
00493
00494 static XED_INLINE void xed3_operand_set_ild_seg(xed_decoded_inst_t* d, xed_bits_t opval);
00495
00496 static XED_INLINE xed_bits_t xed3_operand_get_df32(const xed_decoded_inst_t* d);
00497
00498 static XED_INLINE void xed3_operand_set_df32(xed_decoded_inst_t* d, xed_bits_t opval);
00499
00500 static XED_INLINE xed_bits_t xed3_operand_get_realmode(const xed_decoded_inst_t* d);
00501
00502 static XED_INLINE void xed3_operand_set_realmode(xed_decoded_inst_t* d, xed_bits_t opval);
00503
00504 static XED_INLINE xed_bits_t xed3_operand_get_modrm_byte(const xed_decoded_inst_t* d);
00505
00506 static XED_INLINE void xed3_operand_set_modrm_byte(xed_decoded_inst_t* d, xed_bits_t opval);
00507
00508 static XED_INLINE xed_bits_t xed3_operand_get_no_scale_disp8(const xed_decoded_inst_t* d);
00509
00510 static XED_INLINE void xed3_operand_set_no_scale_disp8(xed_decoded_inst_t* d, xed_bits_t opval);
00511
00512 static XED_INLINE xed_bits_t xed3_operand_get_mode(const xed_decoded_inst_t* d);
00513
00514 static XED_INLINE void xed3_operand_set_mode(xed_decoded_inst_t* d, xed_bits_t opval);
00515
00516 static XED_INLINE xed_bits_t xed3_operand_get_mpxmode(const xed_decoded_inst_t* d);
00517
00518 static XED_INLINE void xed3_operand_set_mpxmode(xed_decoded_inst_t* d, xed_bits_t opval);
00519
00520 static XED_INLINE xed_bits_t xed3_operand_get_sibscale(const xed_decoded_inst_t* d);
00521
00522 static XED_INLINE void xed3_operand_set_sibscale(xed_decoded_inst_t* d, xed_bits_t opval);
00523
00524 static XED_INLINE xed_bits_t xed3_operand_get_esrc3(const xed_decoded_inst_t* d);
00525
00526 static XED_INLINE void xed3_operand_set_esrc3(xed_decoded_inst_t* d, xed_bits_t opval);
00527
00528 static XED_INLINE xed_bits_t xed3_operand_get_vl(const xed_decoded_inst_t* d);
00529
00530 static XED_INLINE void xed3_operand_set_vl(xed_decoded_inst_t* d, xed_bits_t opval);
00531
00532 static XED_INLINE xed_bits_t xed3_operand_get_max_bytes(const xed_decoded_inst_t* d);
00533
00534 static XED_INLINE void xed3_operand_set_max_bytes(xed_decoded_inst_t* d, xed_bits_t opval);
00535
00536 static XED_INLINE xed_bits_t xed3_operand_get_modep5(const xed_decoded_inst_t* d);
00537
00538 static XED_INLINE void xed3_operand_set_modep5(xed_decoded_inst_t* d, xed_bits_t opval);
00539
00540 static XED_INLINE xed_bits_t xed3_operand_get_first_f2f3(const xed_decoded_inst_t* d);
00541
00542 static XED_INLINE void xed3_operand_set_first_f2f3(xed_decoded_inst_t* d, xed_bits_t opval);
00543
00544 static XED_INLINE xed_bits_t xed3_operand_get_vexdest4(const xed_decoded_inst_t* d);
00545
00546 static XED_INLINE void xed3_operand_set_vexdest4(xed_decoded_inst_t* d, xed_bits_t opval);
00547
00548 void xed3_get_generic_operand(const xed_decoded_inst_t* d, xed_operand_enum_t operand, void* ret_arg);
00549
00550 void xed3_set_generic_operand(xed_decoded_inst_t* d, xed_operand_enum_t operand, xed_uint32_t val);
00551
00552 static XED_INLINE xed_bits_t xed3_operand_get_sib(const xed_decoded_inst_t* d)
00553 {
00554 return (xed_bits_t)d->_operands.sib;
00555 }
00556 static XED_INLINE void xed3_operand_set_sib(xed_decoded_inst_t* d, xed_bits_t opval)
00557 {
00558 d->_operands.sib = (xed_uint8_t)opval;
00559 }
00560 static XED_INLINE xed_bits_t xed3_operand_get_last_f2f3(const xed_decoded_inst_t* d)
00561 {
00562 return (xed_bits_t)d->_operands.last_f2f3;
00563 }
00564 static XED_INLINE void xed3_operand_set_last_f2f3(xed_decoded_inst_t* d, xed_bits_t opval)
00565 {
00566 d->_operands.last_f2f3 = (xed_uint8_t)opval;
00567 }
00568 static XED_INLINE xed_uint8_t xed3_operand_get_disp_width(const xed_decoded_inst_t* d)
00569 {
00570 return (xed_uint8_t)d->_operands.disp_width;
00571 }
00572 static XED_INLINE void xed3_operand_set_disp_width(xed_decoded_inst_t* d, xed_uint8_t opval)
00573 {
00574 d->_operands.disp_width = (xed_uint8_t)opval;
00575 }
00576 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment0(const xed_decoded_inst_t* d)
00577 {
00578 return (xed_bits_t)d->_operands.using_default_segment0;
00579 }
00580 static XED_INLINE void xed3_operand_set_using_default_segment0(xed_decoded_inst_t* d, xed_bits_t opval)
00581 {
00582 d->_operands.using_default_segment0 = (xed_uint8_t)opval;
00583 }
00584 static XED_INLINE xed_bits_t xed3_operand_get_using_default_segment1(const xed_decoded_inst_t* d)
00585 {
00586 return (xed_bits_t)d->_operands.using_default_segment1;
00587 }
00588 static XED_INLINE void xed3_operand_set_using_default_segment1(xed_decoded_inst_t* d, xed_bits_t opval)
00589 {
00590 d->_operands.using_default_segment1 = (xed_uint8_t)opval;
00591 }
00592 static XED_INLINE xed_bits_t xed3_operand_get_hint(const xed_decoded_inst_t* d)
00593 {
00594 return (xed_bits_t)d->_operands.hint;
00595 }
00596 static XED_INLINE void xed3_operand_set_hint(xed_decoded_inst_t* d, xed_bits_t opval)
00597 {
00598 d->_operands.hint = (xed_uint8_t)opval;
00599 }
00600 static XED_INLINE xed_bits_t xed3_operand_get_sae(const xed_decoded_inst_t* d)
00601 {
00602 return (xed_bits_t)d->_operands.sae;
00603 }
00604 static XED_INLINE void xed3_operand_set_sae(xed_decoded_inst_t* d, xed_bits_t opval)
00605 {
00606 d->_operands.sae = (xed_uint8_t)opval;
00607 }
00608 static XED_INLINE xed_bits_t xed3_operand_get_mode_first_prefix(const xed_decoded_inst_t* d)
00609 {
00610 return (xed_bits_t)d->_operands.mode_first_prefix;
00611 }
00612 static XED_INLINE void xed3_operand_set_mode_first_prefix(xed_decoded_inst_t* d, xed_bits_t opval)
00613 {
00614 d->_operands.mode_first_prefix = (xed_uint8_t)opval;
00615 }
00616 static XED_INLINE xed_uint8_t xed3_operand_get_uimm1(const xed_decoded_inst_t* d)
00617 {
00618 return (xed_uint8_t)d->_operands.uimm1;
00619 }
00620 static XED_INLINE void xed3_operand_set_uimm1(xed_decoded_inst_t* d, xed_uint8_t opval)
00621 {
00622 d->_operands.uimm1 = (xed_uint8_t)opval;
00623 }
00624 static XED_INLINE xed_uint64_t xed3_operand_get_uimm0(const xed_decoded_inst_t* d)
00625 {
00626 return (xed_uint64_t)d->_operands.uimm0;
00627 }
00628 static XED_INLINE void xed3_operand_set_uimm0(xed_decoded_inst_t* d, xed_uint64_t opval)
00629 {
00630 d->_operands.uimm0 = (xed_uint64_t)opval;
00631 }
00632 static XED_INLINE xed_bits_t xed3_operand_get_smode(const xed_decoded_inst_t* d)
00633 {
00634 return (xed_bits_t)d->_operands.smode;
00635 }
00636 static XED_INLINE void xed3_operand_set_smode(xed_decoded_inst_t* d, xed_bits_t opval)
00637 {
00638 d->_operands.smode = (xed_uint8_t)opval;
00639 }
00640 static XED_INLINE xed_bits_t xed3_operand_get_rm(const xed_decoded_inst_t* d)
00641 {
00642 return (xed_bits_t)d->_operands.rm;
00643 }
00644 static XED_INLINE void xed3_operand_set_rm(xed_decoded_inst_t* d, xed_bits_t opval)
00645 {
00646 d->_operands.rm = (xed_uint8_t)opval;
00647 }
00648 static XED_INLINE xed_bits_t xed3_operand_get_modrm(const xed_decoded_inst_t* d)
00649 {
00650 return (xed_bits_t)d->_operands.modrm;
00651 }
00652 static XED_INLINE void xed3_operand_set_modrm(xed_decoded_inst_t* d, xed_bits_t opval)
00653 {
00654 d->_operands.modrm = (xed_uint8_t)opval;
00655 }
00656 static XED_INLINE xed_chip_enum_t xed3_operand_get_chip(const xed_decoded_inst_t* d)
00657 {
00658 return (xed_chip_enum_t)d->_operands.chip;
00659 }
00660 static XED_INLINE void xed3_operand_set_chip(xed_decoded_inst_t* d, xed_chip_enum_t opval)
00661 {
00662 d->_operands.chip = (xed_uint8_t)opval;
00663 }
00664 static XED_INLINE xed_bits_t xed3_operand_get_amd3dnow(const xed_decoded_inst_t* d)
00665 {
00666 return (xed_bits_t)d->_operands.amd3dnow;
00667 }
00668 static XED_INLINE void xed3_operand_set_amd3dnow(xed_decoded_inst_t* d, xed_bits_t opval)
00669 {
00670 d->_operands.amd3dnow = (xed_uint8_t)opval;
00671 }
00672 static XED_INLINE xed_bits_t xed3_operand_get_rep_able(const xed_decoded_inst_t* d)
00673 {
00674 return (xed_bits_t)d->_operands.rep_able;
00675 }
00676 static XED_INLINE void xed3_operand_set_rep_able(xed_decoded_inst_t* d, xed_bits_t opval)
00677 {
00678 d->_operands.rep_able = (xed_uint8_t)opval;
00679 }
00680 static XED_INLINE xed_bits_t xed3_operand_get_map(const xed_decoded_inst_t* d)
00681 {
00682 return (xed_bits_t)d->_operands.map;
00683 }
00684 static XED_INLINE void xed3_operand_set_map(xed_decoded_inst_t* d, xed_bits_t opval)
00685 {
00686 d->_operands.map = (xed_uint8_t)opval;
00687 }
00688 static XED_INLINE xed_bits_t xed3_operand_get_sibindex(const xed_decoded_inst_t* d)
00689 {
00690 return (xed_bits_t)d->_operands.sibindex;
00691 }
00692 static XED_INLINE void xed3_operand_set_sibindex(xed_decoded_inst_t* d, xed_bits_t opval)
00693 {
00694 d->_operands.sibindex = (xed_uint8_t)opval;
00695 }
00696 static XED_INLINE xed_bits_t xed3_operand_get_agen(const xed_decoded_inst_t* d)
00697 {
00698 return (xed_bits_t)d->_operands.agen;
00699 }
00700 static XED_INLINE void xed3_operand_set_agen(xed_decoded_inst_t* d, xed_bits_t opval)
00701 {
00702 d->_operands.agen = (xed_uint8_t)opval;
00703 }
00704 static XED_INLINE xed_bits_t xed3_operand_get_nominal_opcode(const xed_decoded_inst_t* d)
00705 {
00706 return (xed_bits_t)d->_operands.nominal_opcode;
00707 }
00708 static XED_INLINE void xed3_operand_set_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval)
00709 {
00710 d->_operands.nominal_opcode = (xed_uint8_t)opval;
00711 }
00712 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg1(const xed_decoded_inst_t* d)
00713 {
00714 return (xed_reg_enum_t)d->_operands.seg1;
00715 }
00716 static XED_INLINE void xed3_operand_set_seg1(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00717 {
00718 d->_operands.seg1 = (xed_uint16_t)opval;
00719 }
00720 static XED_INLINE xed_reg_enum_t xed3_operand_get_seg0(const xed_decoded_inst_t* d)
00721 {
00722 return (xed_reg_enum_t)d->_operands.seg0;
00723 }
00724 static XED_INLINE void xed3_operand_set_seg0(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00725 {
00726 d->_operands.seg0 = (xed_uint16_t)opval;
00727 }
00728 static XED_INLINE xed_bits_t xed3_operand_get_nprefixes(const xed_decoded_inst_t* d)
00729 {
00730 return (xed_bits_t)d->_operands.nprefixes;
00731 }
00732 static XED_INLINE void xed3_operand_set_nprefixes(xed_decoded_inst_t* d, xed_bits_t opval)
00733 {
00734 d->_operands.nprefixes = (xed_uint8_t)opval;
00735 }
00736 static XED_INLINE xed_reg_enum_t xed3_operand_get_index(const xed_decoded_inst_t* d)
00737 {
00738 return (xed_reg_enum_t)d->_operands.index;
00739 }
00740 static XED_INLINE void xed3_operand_set_index(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00741 {
00742 d->_operands.index = (xed_uint16_t)opval;
00743 }
00744 static XED_INLINE xed_bits_t xed3_operand_get_ild_f2(const xed_decoded_inst_t* d)
00745 {
00746 return (xed_bits_t)d->_operands.ild_f2;
00747 }
00748 static XED_INLINE void xed3_operand_set_ild_f2(xed_decoded_inst_t* d, xed_bits_t opval)
00749 {
00750 d->_operands.ild_f2 = (xed_uint8_t)opval;
00751 }
00752 static XED_INLINE xed_bits_t xed3_operand_get_scale(const xed_decoded_inst_t* d)
00753 {
00754 return (xed_bits_t)d->_operands.scale;
00755 }
00756 static XED_INLINE void xed3_operand_set_scale(xed_decoded_inst_t* d, xed_bits_t opval)
00757 {
00758 d->_operands.scale = (xed_uint8_t)opval;
00759 }
00760 static XED_INLINE xed_bits_t xed3_operand_get_llrc(const xed_decoded_inst_t* d)
00761 {
00762 return (xed_bits_t)d->_operands.llrc;
00763 }
00764 static XED_INLINE void xed3_operand_set_llrc(xed_decoded_inst_t* d, xed_bits_t opval)
00765 {
00766 d->_operands.llrc = (xed_uint8_t)opval;
00767 }
00768 static XED_INLINE xed_bits_t xed3_operand_get_sreg(const xed_decoded_inst_t* d)
00769 {
00770 return (xed_bits_t)d->_operands.sreg;
00771 }
00772 static XED_INLINE void xed3_operand_set_sreg(xed_decoded_inst_t* d, xed_bits_t opval)
00773 {
00774 d->_operands.sreg = (xed_uint8_t)opval;
00775 }
00776 static XED_INLINE xed_bits_t xed3_operand_get_esrc(const xed_decoded_inst_t* d)
00777 {
00778 return (xed_bits_t)d->_operands.esrc;
00779 }
00780 static XED_INLINE void xed3_operand_set_esrc(xed_decoded_inst_t* d, xed_bits_t opval)
00781 {
00782 d->_operands.esrc = (xed_uint8_t)opval;
00783 }
00784 static XED_INLINE xed_bits_t xed3_operand_get_nrexes(const xed_decoded_inst_t* d)
00785 {
00786 return (xed_bits_t)d->_operands.nrexes;
00787 }
00788 static XED_INLINE void xed3_operand_set_nrexes(xed_decoded_inst_t* d, xed_bits_t opval)
00789 {
00790 d->_operands.nrexes = (xed_uint8_t)opval;
00791 }
00792 static XED_INLINE xed_bits_t xed3_operand_get_pos_sib(const xed_decoded_inst_t* d)
00793 {
00794 return (xed_bits_t)d->_operands.pos_sib;
00795 }
00796 static XED_INLINE void xed3_operand_set_pos_sib(xed_decoded_inst_t* d, xed_bits_t opval)
00797 {
00798 d->_operands.pos_sib = (xed_uint8_t)opval;
00799 }
00800 static XED_INLINE xed_bits_t xed3_operand_get_osz(const xed_decoded_inst_t* d)
00801 {
00802 return (xed_bits_t)d->_operands.osz;
00803 }
00804 static XED_INLINE void xed3_operand_set_osz(xed_decoded_inst_t* d, xed_bits_t opval)
00805 {
00806 d->_operands.osz = (xed_uint8_t)opval;
00807 }
00808 static XED_INLINE xed_bits_t xed3_operand_get_has_sib(const xed_decoded_inst_t* d)
00809 {
00810 return (xed_bits_t)d->_operands.has_sib;
00811 }
00812 static XED_INLINE void xed3_operand_set_has_sib(xed_decoded_inst_t* d, xed_bits_t opval)
00813 {
00814 d->_operands.has_sib = (xed_uint8_t)opval;
00815 }
00816 static XED_INLINE xed_bits_t xed3_operand_get_eosz(const xed_decoded_inst_t* d)
00817 {
00818 return (xed_bits_t)d->_operands.eosz;
00819 }
00820 static XED_INLINE void xed3_operand_set_eosz(xed_decoded_inst_t* d, xed_bits_t opval)
00821 {
00822 d->_operands.eosz = (xed_uint8_t)opval;
00823 }
00824 static XED_INLINE xed_bits_t xed3_operand_get_element_size(const xed_decoded_inst_t* d)
00825 {
00826 return (xed_bits_t)d->_operands.element_size;
00827 }
00828 static XED_INLINE void xed3_operand_set_element_size(xed_decoded_inst_t* d, xed_bits_t opval)
00829 {
00830 d->_operands.element_size = (xed_uint16_t)opval;
00831 }
00832 static XED_INLINE xed_bits_t xed3_operand_get_pos_disp(const xed_decoded_inst_t* d)
00833 {
00834 return (xed_bits_t)d->_operands.pos_disp;
00835 }
00836 static XED_INLINE void xed3_operand_set_pos_disp(xed_decoded_inst_t* d, xed_bits_t opval)
00837 {
00838 d->_operands.pos_disp = (xed_uint8_t)opval;
00839 }
00840 static XED_INLINE xed_bits_t xed3_operand_get_ubit(const xed_decoded_inst_t* d)
00841 {
00842 return (xed_bits_t)d->_operands.ubit;
00843 }
00844 static XED_INLINE void xed3_operand_set_ubit(xed_decoded_inst_t* d, xed_bits_t opval)
00845 {
00846 d->_operands.ubit = (xed_uint8_t)opval;
00847 }
00848 static XED_INLINE xed_bits_t xed3_operand_get_vexdest210(const xed_decoded_inst_t* d)
00849 {
00850 return (xed_bits_t)d->_operands.vexdest210;
00851 }
00852 static XED_INLINE void xed3_operand_set_vexdest210(xed_decoded_inst_t* d, xed_bits_t opval)
00853 {
00854 d->_operands.vexdest210 = (xed_uint8_t)opval;
00855 }
00856 static XED_INLINE xed_bits_t xed3_operand_get_vexdest3(const xed_decoded_inst_t* d)
00857 {
00858 return (xed_bits_t)d->_operands.vexdest3;
00859 }
00860 static XED_INLINE void xed3_operand_set_vexdest3(xed_decoded_inst_t* d, xed_bits_t opval)
00861 {
00862 d->_operands.vexdest3 = (xed_uint8_t)opval;
00863 }
00864 static XED_INLINE xed_bits_t xed3_operand_get_refining(const xed_decoded_inst_t* d)
00865 {
00866 return (xed_bits_t)d->_operands.refining;
00867 }
00868 static XED_INLINE void xed3_operand_set_refining(xed_decoded_inst_t* d, xed_bits_t opval)
00869 {
00870 d->_operands.refining = (xed_uint8_t)opval;
00871 }
00872 static XED_INLINE xed_bits_t xed3_operand_get_ptr(const xed_decoded_inst_t* d)
00873 {
00874 return (xed_bits_t)d->_operands.ptr;
00875 }
00876 static XED_INLINE void xed3_operand_set_ptr(xed_decoded_inst_t* d, xed_bits_t opval)
00877 {
00878 d->_operands.ptr = (xed_uint8_t)opval;
00879 }
00880 static XED_INLINE xed_bits_t xed3_operand_get_p4(const xed_decoded_inst_t* d)
00881 {
00882 return (xed_bits_t)d->_operands.p4;
00883 }
00884 static XED_INLINE void xed3_operand_set_p4(xed_decoded_inst_t* d, xed_bits_t opval)
00885 {
00886 d->_operands.p4 = (xed_uint8_t)opval;
00887 }
00888 static XED_INLINE xed_bits_t xed3_operand_get_modep55c(const xed_decoded_inst_t* d)
00889 {
00890 return (xed_bits_t)d->_operands.modep55c;
00891 }
00892 static XED_INLINE void xed3_operand_set_modep55c(xed_decoded_inst_t* d, xed_bits_t opval)
00893 {
00894 d->_operands.modep55c = (xed_uint8_t)opval;
00895 }
00896 static XED_INLINE xed_iclass_enum_t xed3_operand_get_iclass(const xed_decoded_inst_t* d)
00897 {
00898 return (xed_iclass_enum_t)d->_operands.iclass;
00899 }
00900 static XED_INLINE void xed3_operand_set_iclass(xed_decoded_inst_t* d, xed_iclass_enum_t opval)
00901 {
00902 d->_operands.iclass = (xed_uint16_t)opval;
00903 }
00904 static XED_INLINE xed_uint8_t xed3_operand_get_imm_width(const xed_decoded_inst_t* d)
00905 {
00906 return (xed_uint8_t)d->_operands.imm_width;
00907 }
00908 static XED_INLINE void xed3_operand_set_imm_width(xed_decoded_inst_t* d, xed_uint8_t opval)
00909 {
00910 d->_operands.imm_width = (xed_uint8_t)opval;
00911 }
00912 static XED_INLINE xed_bits_t xed3_operand_get_bcrc(const xed_decoded_inst_t* d)
00913 {
00914 return (xed_bits_t)d->_operands.bcrc;
00915 }
00916 static XED_INLINE void xed3_operand_set_bcrc(xed_decoded_inst_t* d, xed_bits_t opval)
00917 {
00918 d->_operands.bcrc = (xed_uint8_t)opval;
00919 }
00920 static XED_INLINE xed_error_enum_t xed3_operand_get_error(const xed_decoded_inst_t* d)
00921 {
00922 return (xed_error_enum_t)d->_operands.error;
00923 }
00924 static XED_INLINE void xed3_operand_set_error(xed_decoded_inst_t* d, xed_error_enum_t opval)
00925 {
00926 d->_operands.error = (xed_uint8_t)opval;
00927 }
00928 static XED_INLINE xed_bits_t xed3_operand_get_evexrr(const xed_decoded_inst_t* d)
00929 {
00930 return (xed_bits_t)d->_operands.evexrr;
00931 }
00932 static XED_INLINE void xed3_operand_set_evexrr(xed_decoded_inst_t* d, xed_bits_t opval)
00933 {
00934 d->_operands.evexrr = (xed_uint8_t)opval;
00935 }
00936 static XED_INLINE xed_bits_t xed3_operand_get_nelem(const xed_decoded_inst_t* d)
00937 {
00938 return (xed_bits_t)d->_operands.nelem;
00939 }
00940 static XED_INLINE void xed3_operand_set_nelem(xed_decoded_inst_t* d, xed_bits_t opval)
00941 {
00942 d->_operands.nelem = (xed_uint8_t)opval;
00943 }
00944 static XED_INLINE xed_bits_t xed3_operand_get_imm0signed(const xed_decoded_inst_t* d)
00945 {
00946 return (xed_bits_t)d->_operands.imm0signed;
00947 }
00948 static XED_INLINE void xed3_operand_set_imm0signed(xed_decoded_inst_t* d, xed_bits_t opval)
00949 {
00950 d->_operands.imm0signed = (xed_uint8_t)opval;
00951 }
00952 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg8(const xed_decoded_inst_t* d)
00953 {
00954 return (xed_reg_enum_t)d->_operands.reg8;
00955 }
00956 static XED_INLINE void xed3_operand_set_reg8(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00957 {
00958 d->_operands.reg8 = (xed_uint16_t)opval;
00959 }
00960 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg6(const xed_decoded_inst_t* d)
00961 {
00962 return (xed_reg_enum_t)d->_operands.reg6;
00963 }
00964 static XED_INLINE void xed3_operand_set_reg6(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00965 {
00966 d->_operands.reg6 = (xed_uint16_t)opval;
00967 }
00968 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg7(const xed_decoded_inst_t* d)
00969 {
00970 return (xed_reg_enum_t)d->_operands.reg7;
00971 }
00972 static XED_INLINE void xed3_operand_set_reg7(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00973 {
00974 d->_operands.reg7 = (xed_uint16_t)opval;
00975 }
00976 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg4(const xed_decoded_inst_t* d)
00977 {
00978 return (xed_reg_enum_t)d->_operands.reg4;
00979 }
00980 static XED_INLINE void xed3_operand_set_reg4(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00981 {
00982 d->_operands.reg4 = (xed_uint16_t)opval;
00983 }
00984 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg5(const xed_decoded_inst_t* d)
00985 {
00986 return (xed_reg_enum_t)d->_operands.reg5;
00987 }
00988 static XED_INLINE void xed3_operand_set_reg5(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00989 {
00990 d->_operands.reg5 = (xed_uint16_t)opval;
00991 }
00992 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg2(const xed_decoded_inst_t* d)
00993 {
00994 return (xed_reg_enum_t)d->_operands.reg2;
00995 }
00996 static XED_INLINE void xed3_operand_set_reg2(xed_decoded_inst_t* d, xed_reg_enum_t opval)
00997 {
00998 d->_operands.reg2 = (xed_uint16_t)opval;
00999 }
01000 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg3(const xed_decoded_inst_t* d)
01001 {
01002 return (xed_reg_enum_t)d->_operands.reg3;
01003 }
01004 static XED_INLINE void xed3_operand_set_reg3(xed_decoded_inst_t* d, xed_reg_enum_t opval)
01005 {
01006 d->_operands.reg3 = (xed_uint16_t)opval;
01007 }
01008 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg0(const xed_decoded_inst_t* d)
01009 {
01010 return (xed_reg_enum_t)d->_operands.reg0;
01011 }
01012 static XED_INLINE void xed3_operand_set_reg0(xed_decoded_inst_t* d, xed_reg_enum_t opval)
01013 {
01014 d->_operands.reg0 = (xed_uint16_t)opval;
01015 }
01016 static XED_INLINE xed_reg_enum_t xed3_operand_get_reg1(const xed_decoded_inst_t* d)
01017 {
01018 return (xed_reg_enum_t)d->_operands.reg1;
01019 }
01020 static XED_INLINE void xed3_operand_set_reg1(xed_decoded_inst_t* d, xed_reg_enum_t opval)
01021 {
01022 d->_operands.reg1 = (xed_uint16_t)opval;
01023 }
01024 static XED_INLINE xed_reg_enum_t xed3_operand_get_base0(const xed_decoded_inst_t* d)
01025 {
01026 return (xed_reg_enum_t)d->_operands.base0;
01027 }
01028 static XED_INLINE void xed3_operand_set_base0(xed_decoded_inst_t* d, xed_reg_enum_t opval)
01029 {
01030 d->_operands.base0 = (xed_uint16_t)opval;
01031 }
01032 static XED_INLINE xed_reg_enum_t xed3_operand_get_base1(const xed_decoded_inst_t* d)
01033 {
01034 return (xed_reg_enum_t)d->_operands.base1;
01035 }
01036 static XED_INLINE void xed3_operand_set_base1(xed_decoded_inst_t* d, xed_reg_enum_t opval)
01037 {
01038 d->_operands.base1 = (xed_uint16_t)opval;
01039 }
01040 static XED_INLINE xed_bits_t xed3_operand_get_mod(const xed_decoded_inst_t* d)
01041 {
01042 return (xed_bits_t)d->_operands.mod;
01043 }
01044 static XED_INLINE void xed3_operand_set_mod(xed_decoded_inst_t* d, xed_bits_t opval)
01045 {
01046 d->_operands.mod = (xed_uint8_t)opval;
01047 }
01048 static XED_INLINE xed_int64_t xed3_operand_get_disp(const xed_decoded_inst_t* d)
01049 {
01050 return (xed_int64_t)d->_operands.disp;
01051 }
01052 static XED_INLINE void xed3_operand_set_disp(xed_decoded_inst_t* d, xed_int64_t opval)
01053 {
01054 d->_operands.disp = (xed_uint64_t)opval;
01055 }
01056 static XED_INLINE xed_bits_t xed3_operand_get_rex(const xed_decoded_inst_t* d)
01057 {
01058 return (xed_bits_t)d->_operands.rex;
01059 }
01060 static XED_INLINE void xed3_operand_set_rex(xed_decoded_inst_t* d, xed_bits_t opval)
01061 {
01062 d->_operands.rex = (xed_uint8_t)opval;
01063 }
01064 static XED_INLINE xed_bits_t xed3_operand_get_rexb(const xed_decoded_inst_t* d)
01065 {
01066 return (xed_bits_t)d->_operands.rexb;
01067 }
01068 static XED_INLINE void xed3_operand_set_rexb(xed_decoded_inst_t* d, xed_bits_t opval)
01069 {
01070 d->_operands.rexb = (xed_uint8_t)opval;
01071 }
01072 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm(const xed_decoded_inst_t* d)
01073 {
01074 return (xed_bits_t)d->_operands.pos_imm;
01075 }
01076 static XED_INLINE void xed3_operand_set_pos_imm(xed_decoded_inst_t* d, xed_bits_t opval)
01077 {
01078 d->_operands.pos_imm = (xed_uint8_t)opval;
01079 }
01080 static XED_INLINE xed_bits_t xed3_operand_get_rep(const xed_decoded_inst_t* d)
01081 {
01082 return (xed_bits_t)d->_operands.rep;
01083 }
01084 static XED_INLINE void xed3_operand_set_rep(xed_decoded_inst_t* d, xed_bits_t opval)
01085 {
01086 d->_operands.rep = (xed_uint8_t)opval;
01087 }
01088 static XED_INLINE xed_bits_t xed3_operand_get_rexw(const xed_decoded_inst_t* d)
01089 {
01090 return (xed_bits_t)d->_operands.rexw;
01091 }
01092 static XED_INLINE void xed3_operand_set_rexw(xed_decoded_inst_t* d, xed_bits_t opval)
01093 {
01094 d->_operands.rexw = (xed_uint8_t)opval;
01095 }
01096 static XED_INLINE xed_bits_t xed3_operand_get_ild_f3(const xed_decoded_inst_t* d)
01097 {
01098 return (xed_bits_t)d->_operands.ild_f3;
01099 }
01100 static XED_INLINE void xed3_operand_set_ild_f3(xed_decoded_inst_t* d, xed_bits_t opval)
01101 {
01102 d->_operands.ild_f3 = (xed_uint8_t)opval;
01103 }
01104 static XED_INLINE xed_bits_t xed3_operand_get_rexr(const xed_decoded_inst_t* d)
01105 {
01106 return (xed_bits_t)d->_operands.rexr;
01107 }
01108 static XED_INLINE void xed3_operand_set_rexr(xed_decoded_inst_t* d, xed_bits_t opval)
01109 {
01110 d->_operands.rexr = (xed_uint8_t)opval;
01111 }
01112 static XED_INLINE xed_bits_t xed3_operand_get_encoder_preferred(const xed_decoded_inst_t* d)
01113 {
01114 return (xed_bits_t)d->_operands.encoder_preferred;
01115 }
01116 static XED_INLINE void xed3_operand_set_encoder_preferred(xed_decoded_inst_t* d, xed_bits_t opval)
01117 {
01118 d->_operands.encoder_preferred = (xed_uint8_t)opval;
01119 }
01120 static XED_INLINE xed_bits_t xed3_operand_get_reg(const xed_decoded_inst_t* d)
01121 {
01122 return (xed_bits_t)d->_operands.reg;
01123 }
01124 static XED_INLINE void xed3_operand_set_reg(xed_decoded_inst_t* d, xed_bits_t opval)
01125 {
01126 d->_operands.reg = (xed_uint8_t)opval;
01127 }
01128 static XED_INLINE xed_bits_t xed3_operand_get_pos_nominal_opcode(const xed_decoded_inst_t* d)
01129 {
01130 return (xed_bits_t)d->_operands.pos_nominal_opcode;
01131 }
01132 static XED_INLINE void xed3_operand_set_pos_nominal_opcode(xed_decoded_inst_t* d, xed_bits_t opval)
01133 {
01134 d->_operands.pos_nominal_opcode = (xed_uint8_t)opval;
01135 }
01136 static XED_INLINE xed_bits_t xed3_operand_get_rexx(const xed_decoded_inst_t* d)
01137 {
01138 return (xed_bits_t)d->_operands.rexx;
01139 }
01140 static XED_INLINE void xed3_operand_set_rexx(xed_decoded_inst_t* d, xed_bits_t opval)
01141 {
01142 d->_operands.rexx = (xed_uint8_t)opval;
01143 }
01144 static XED_INLINE xed_bits_t xed3_operand_get_prefix66(const xed_decoded_inst_t* d)
01145 {
01146 return (xed_bits_t)d->_operands.prefix66;
01147 }
01148 static XED_INLINE void xed3_operand_set_prefix66(xed_decoded_inst_t* d, xed_bits_t opval)
01149 {
01150 d->_operands.prefix66 = (xed_uint8_t)opval;
01151 }
01152 static XED_INLINE xed_bits_t xed3_operand_get_rexrr(const xed_decoded_inst_t* d)
01153 {
01154 return (xed_bits_t)d->_operands.rexrr;
01155 }
01156 static XED_INLINE void xed3_operand_set_rexrr(xed_decoded_inst_t* d, xed_bits_t opval)
01157 {
01158 d->_operands.rexrr = (xed_uint8_t)opval;
01159 }
01160 static XED_INLINE xed_bits_t xed3_operand_get_asz(const xed_decoded_inst_t* d)
01161 {
01162 return (xed_bits_t)d->_operands.asz;
01163 }
01164 static XED_INLINE void xed3_operand_set_asz(xed_decoded_inst_t* d, xed_bits_t opval)
01165 {
01166 d->_operands.asz = (xed_uint8_t)opval;
01167 }
01168 static XED_INLINE xed_bits_t xed3_operand_get_mask(const xed_decoded_inst_t* d)
01169 {
01170 return (xed_bits_t)d->_operands.mask;
01171 }
01172 static XED_INLINE void xed3_operand_set_mask(xed_decoded_inst_t* d, xed_bits_t opval)
01173 {
01174 d->_operands.mask = (xed_uint8_t)opval;
01175 }
01176 static XED_INLINE xed_bits_t xed3_operand_get_mem1(const xed_decoded_inst_t* d)
01177 {
01178 return (xed_bits_t)d->_operands.mem1;
01179 }
01180 static XED_INLINE void xed3_operand_set_mem1(xed_decoded_inst_t* d, xed_bits_t opval)
01181 {
01182 d->_operands.mem1 = (xed_uint8_t)opval;
01183 }
01184 static XED_INLINE xed_bits_t xed3_operand_get_easz(const xed_decoded_inst_t* d)
01185 {
01186 return (xed_bits_t)d->_operands.easz;
01187 }
01188 static XED_INLINE void xed3_operand_set_easz(xed_decoded_inst_t* d, xed_bits_t opval)
01189 {
01190 d->_operands.easz = (xed_uint8_t)opval;
01191 }
01192 static XED_INLINE xed_bits_t xed3_operand_get_pos_imm1(const xed_decoded_inst_t* d)
01193 {
01194 return (xed_bits_t)d->_operands.pos_imm1;
01195 }
01196 static XED_INLINE void xed3_operand_set_pos_imm1(xed_decoded_inst_t* d, xed_bits_t opval)
01197 {
01198 d->_operands.pos_imm1 = (xed_uint8_t)opval;
01199 }
01200 static XED_INLINE xed_uint16_t xed3_operand_get_mem_width(const xed_decoded_inst_t* d)
01201 {
01202 return (xed_uint16_t)d->_operands.mem_width;
01203 }
01204 static XED_INLINE void xed3_operand_set_mem_width(xed_decoded_inst_t* d, xed_uint16_t opval)
01205 {
01206 d->_operands.mem_width = (xed_uint16_t)opval;
01207 }
01208 static XED_INLINE xed_bits_t xed3_operand_get_mem0(const xed_decoded_inst_t* d)
01209 {
01210 return (xed_bits_t)d->_operands.mem0;
01211 }
01212 static XED_INLINE void xed3_operand_set_mem0(xed_decoded_inst_t* d, xed_bits_t opval)
01213 {
01214 d->_operands.mem0 = (xed_uint8_t)opval;
01215 }
01216 static XED_INLINE xed_uint8_t xed3_operand_get_brdisp_width(const xed_decoded_inst_t* d)
01217 {
01218 return (xed_uint8_t)d->_operands.brdisp_width;
01219 }
01220 static XED_INLINE void xed3_operand_set_brdisp_width(xed_decoded_inst_t* d, xed_uint8_t opval)
01221 {
01222 d->_operands.brdisp_width = (xed_uint8_t)opval;
01223 }
01224 static XED_INLINE xed_bits_t xed3_operand_get_imm1_bytes(const xed_decoded_inst_t* d)
01225 {
01226 return (xed_bits_t)d->_operands.imm1_bytes;
01227 }
01228 static XED_INLINE void xed3_operand_set_imm1_bytes(xed_decoded_inst_t* d, xed_bits_t opval)
01229 {
01230 d->_operands.imm1_bytes = (xed_uint8_t)opval;
01231 }
01232 static XED_INLINE xed_bits_t xed3_operand_get_df64(const xed_decoded_inst_t* d)
01233 {
01234 return (xed_bits_t)d->_operands.df64;
01235 }
01236 static XED_INLINE void xed3_operand_set_df64(xed_decoded_inst_t* d, xed_bits_t opval)
01237 {
01238 d->_operands.df64 = (xed_uint8_t)opval;
01239 }
01240 static XED_INLINE xed_bits_t xed3_operand_get_lock(const xed_decoded_inst_t* d)
01241 {
01242 return (xed_bits_t)d->_operands.lock;
01243 }
01244 static XED_INLINE void xed3_operand_set_lock(xed_decoded_inst_t* d, xed_bits_t opval)
01245 {
01246 d->_operands.lock = (xed_uint8_t)opval;
01247 }
01248 static XED_INLINE xed_bits_t xed3_operand_get_has_modrm(const xed_decoded_inst_t* d)
01249 {
01250 return (xed_bits_t)d->_operands.has_modrm;
01251 }
01252 static XED_INLINE void xed3_operand_set_has_modrm(xed_decoded_inst_t* d, xed_bits_t opval)
01253 {
01254 d->_operands.has_modrm = (xed_uint8_t)opval;
01255 }
01256 static XED_INLINE xed_bits_t xed3_operand_get_zeroing(const xed_decoded_inst_t* d)
01257 {
01258 return (xed_bits_t)d->_operands.zeroing;
01259 }
01260 static XED_INLINE void xed3_operand_set_zeroing(xed_decoded_inst_t* d, xed_bits_t opval)
01261 {
01262 d->_operands.zeroing = (xed_uint8_t)opval;
01263 }
01264 static XED_INLINE xed_bits_t xed3_operand_get_srm(const xed_decoded_inst_t* d)
01265 {
01266 return (xed_bits_t)d->_operands.srm;
01267 }
01268 static XED_INLINE void xed3_operand_set_srm(xed_decoded_inst_t* d, xed_bits_t opval)
01269 {
01270 d->_operands.srm = (xed_uint8_t)opval;
01271 }
01272 static XED_INLINE xed_bits_t xed3_operand_get_vexvalid(const xed_decoded_inst_t* d)
01273 {
01274 return (xed_bits_t)d->_operands.vexvalid;
01275 }
01276 static XED_INLINE void xed3_operand_set_vexvalid(xed_decoded_inst_t* d, xed_bits_t opval)
01277 {
01278 d->_operands.vexvalid = (xed_uint8_t)opval;
01279 }
01280 static XED_INLINE xed_bits_t xed3_operand_get_needrex(const xed_decoded_inst_t* d)
01281 {
01282 return (xed_bits_t)d->_operands.needrex;
01283 }
01284 static XED_INLINE void xed3_operand_set_needrex(xed_decoded_inst_t* d, xed_bits_t opval)
01285 {
01286 d->_operands.needrex = (xed_uint8_t)opval;
01287 }
01288 static XED_INLINE xed_bits_t xed3_operand_get_skip_osz(const xed_decoded_inst_t* d)
01289 {
01290 return (xed_bits_t)d->_operands.skip_osz;
01291 }
01292 static XED_INLINE void xed3_operand_set_skip_osz(xed_decoded_inst_t* d, xed_bits_t opval)
01293 {
01294 d->_operands.skip_osz = (xed_uint8_t)opval;
01295 }
01296 static XED_INLINE xed_reg_enum_t xed3_operand_get_outreg(const xed_decoded_inst_t* d)
01297 {
01298 return (xed_reg_enum_t)d->_operands.outreg;
01299 }
01300 static XED_INLINE void xed3_operand_set_outreg(xed_decoded_inst_t* d, xed_reg_enum_t opval)
01301 {
01302 d->_operands.outreg = (xed_uint16_t)opval;
01303 }
01304 static XED_INLINE xed_bits_t xed3_operand_get_default_seg(const xed_decoded_inst_t* d)
01305 {
01306 return (xed_bits_t)d->_operands.default_seg;
01307 }
01308 static XED_INLINE void xed3_operand_set_default_seg(xed_decoded_inst_t* d, xed_bits_t opval)
01309 {
01310 d->_operands.default_seg = (xed_uint8_t)opval;
01311 }
01312 static XED_INLINE xed_bits_t xed3_operand_get_nseg_prefixes(const xed_decoded_inst_t* d)
01313 {
01314 return (xed_bits_t)d->_operands.nseg_prefixes;
01315 }
01316 static XED_INLINE void xed3_operand_set_nseg_prefixes(xed_decoded_inst_t* d, xed_bits_t opval)
01317 {
01318 d->_operands.nseg_prefixes = (xed_uint8_t)opval;
01319 }
01320 static XED_INLINE xed_bits_t xed3_operand_get_vex_c4(const xed_decoded_inst_t* d)
01321 {
01322 return (xed_bits_t)d->_operands.vex_c4;
01323 }
01324 static XED_INLINE void xed3_operand_set_vex_c4(xed_decoded_inst_t* d, xed_bits_t opval)
01325 {
01326 d->_operands.vex_c4 = (xed_uint8_t)opval;
01327 }
01328 static XED_INLINE xed_bits_t xed3_operand_get_pos_modrm(const xed_decoded_inst_t* d)
01329 {
01330 return (xed_bits_t)d->_operands.pos_modrm;
01331 }
01332 static XED_INLINE void xed3_operand_set_pos_modrm(xed_decoded_inst_t* d, xed_bits_t opval)
01333 {
01334 d->_operands.pos_modrm = (xed_uint8_t)opval;
01335 }
01336 static XED_INLINE xed_bits_t xed3_operand_get_bcast(const xed_decoded_inst_t* d)
01337 {
01338 return (xed_bits_t)d->_operands.bcast;
01339 }
01340 static XED_INLINE void xed3_operand_set_bcast(xed_decoded_inst_t* d, xed_bits_t opval)
01341 {
01342 d->_operands.bcast = (xed_uint8_t)opval;
01343 }
01344 static XED_INLINE xed_operand_element_type_enum_t xed3_operand_get_type(const xed_decoded_inst_t* d)
01345 {
01346 return (xed_operand_element_type_enum_t)d->_operands.type;
01347 }
01348 static XED_INLINE void xed3_operand_set_type(xed_decoded_inst_t* d, xed_operand_element_type_enum_t opval)
01349 {
01350 d->_operands.type = (xed_uint8_t)opval;
01351 }
01352 static XED_INLINE xed_bits_t xed3_operand_get_seg_ovd(const xed_decoded_inst_t* d)
01353 {
01354 return (xed_bits_t)d->_operands.seg_ovd;
01355 }
01356 static XED_INLINE void xed3_operand_set_seg_ovd(xed_decoded_inst_t* d, xed_bits_t opval)
01357 {
01358 d->_operands.seg_ovd = (xed_uint8_t)opval;
01359 }
01360 static XED_INLINE xed_bits_t xed3_operand_get_vex_prefix(const xed_decoded_inst_t* d)
01361 {
01362 return (xed_bits_t)d->_operands.vex_prefix;
01363 }
01364 static XED_INLINE void xed3_operand_set_vex_prefix(xed_decoded_inst_t* d, xed_bits_t opval)
01365 {
01366 d->_operands.vex_prefix = (xed_uint8_t)opval;
01367 }
01368 static XED_INLINE xed_bits_t xed3_operand_get_dummy(const xed_decoded_inst_t* d)
01369 {
01370 return (xed_bits_t)d->_operands.dummy;
01371 }
01372 static XED_INLINE void xed3_operand_set_dummy(xed_decoded_inst_t* d, xed_bits_t opval)
01373 {
01374 d->_operands.dummy = (xed_uint8_t)opval;
01375 }
01376 static XED_INLINE xed_bits_t xed3_operand_get_norex(const xed_decoded_inst_t* d)
01377 {
01378 return (xed_bits_t)d->_operands.norex;
01379 }
01380 static XED_INLINE void xed3_operand_set_norex(xed_decoded_inst_t* d, xed_bits_t opval)
01381 {
01382 d->_operands.norex = (xed_uint8_t)opval;
01383 }
01384 static XED_INLINE xed_bits_t xed3_operand_get_roundc(const xed_decoded_inst_t* d)
01385 {
01386 return (xed_bits_t)d->_operands.roundc;
01387 }
01388 static XED_INLINE void xed3_operand_set_roundc(xed_decoded_inst_t* d, xed_bits_t opval)
01389 {
01390 d->_operands.roundc = (xed_uint8_t)opval;
01391 }
01392 static XED_INLINE xed_bits_t xed3_operand_get_sibbase(const xed_decoded_inst_t* d)
01393 {
01394 return (xed_bits_t)d->_operands.sibbase;
01395 }
01396 static XED_INLINE void xed3_operand_set_sibbase(xed_decoded_inst_t* d, xed_bits_t opval)
01397 {
01398 d->_operands.sibbase = (xed_uint8_t)opval;
01399 }
01400 static XED_INLINE xed_bits_t xed3_operand_get_need_memdisp(const xed_decoded_inst_t* d)
01401 {
01402 return (xed_bits_t)d->_operands.need_memdisp;
01403 }
01404 static XED_INLINE void xed3_operand_set_need_memdisp(xed_decoded_inst_t* d, xed_bits_t opval)
01405 {
01406 d->_operands.need_memdisp = (xed_uint8_t)opval;
01407 }
01408 static XED_INLINE xed_bits_t xed3_operand_get_out_of_bytes(const xed_decoded_inst_t* d)
01409 {
01410 return (xed_bits_t)d->_operands.out_of_bytes;
01411 }
01412 static XED_INLINE void xed3_operand_set_out_of_bytes(xed_decoded_inst_t* d, xed_bits_t opval)
01413 {
01414 d->_operands.out_of_bytes = (xed_uint8_t)opval;
01415 }
01416 static XED_INLINE xed_bits_t xed3_operand_get_lockable(const xed_decoded_inst_t* d)
01417 {
01418 return (xed_bits_t)d->_operands.lockable;
01419 }
01420 static XED_INLINE void xed3_operand_set_lockable(xed_decoded_inst_t* d, xed_bits_t opval)
01421 {
01422 d->_operands.lockable = (xed_uint8_t)opval;
01423 }
01424 static XED_INLINE xed_bits_t xed3_operand_get_imm1(const xed_decoded_inst_t* d)
01425 {
01426 return (xed_bits_t)d->_operands.imm1;
01427 }
01428 static XED_INLINE void xed3_operand_set_imm1(xed_decoded_inst_t* d, xed_bits_t opval)
01429 {
01430 d->_operands.imm1 = (xed_uint8_t)opval;
01431 }
01432 static XED_INLINE xed_bits_t xed3_operand_get_imm0(const xed_decoded_inst_t* d)
01433 {
01434 return (xed_bits_t)d->_operands.imm0;
01435 }
01436 static XED_INLINE void xed3_operand_set_imm0(xed_decoded_inst_t* d, xed_bits_t opval)
01437 {
01438 d->_operands.imm0 = (xed_uint8_t)opval;
01439 }
01440 static XED_INLINE xed_bits_t xed3_operand_get_hsw(const xed_decoded_inst_t* d)
01441 {
01442 return (xed_bits_t)d->_operands.hsw;
01443 }
01444 static XED_INLINE void xed3_operand_set_hsw(xed_decoded_inst_t* d, xed_bits_t opval)
01445 {
01446 d->_operands.hsw = (xed_uint8_t)opval;
01447 }
01448 static XED_INLINE xed_bits_t xed3_operand_get_relbr(const xed_decoded_inst_t* d)
01449 {
01450 return (xed_bits_t)d->_operands.relbr;
01451 }
01452 static XED_INLINE void xed3_operand_set_relbr(xed_decoded_inst_t* d, xed_bits_t opval)
01453 {
01454 d->_operands.relbr = (xed_uint8_t)opval;
01455 }
01456 static XED_INLINE xed_bits_t xed3_operand_get_ild_seg(const xed_decoded_inst_t* d)
01457 {
01458 return (xed_bits_t)d->_operands.ild_seg;
01459 }
01460 static XED_INLINE void xed3_operand_set_ild_seg(xed_decoded_inst_t* d, xed_bits_t opval)
01461 {
01462 d->_operands.ild_seg = (xed_uint8_t)opval;
01463 }
01464 static XED_INLINE xed_bits_t xed3_operand_get_df32(const xed_decoded_inst_t* d)
01465 {
01466 return (xed_bits_t)d->_operands.df32;
01467 }
01468 static XED_INLINE void xed3_operand_set_df32(xed_decoded_inst_t* d, xed_bits_t opval)
01469 {
01470 d->_operands.df32 = (xed_uint8_t)opval;
01471 }
01472 static XED_INLINE xed_bits_t xed3_operand_get_realmode(const xed_decoded_inst_t* d)
01473 {
01474 return (xed_bits_t)d->_operands.realmode;
01475 }
01476 static XED_INLINE void xed3_operand_set_realmode(xed_decoded_inst_t* d, xed_bits_t opval)
01477 {
01478 d->_operands.realmode = (xed_uint8_t)opval;
01479 }
01480 static XED_INLINE xed_bits_t xed3_operand_get_modrm_byte(const xed_decoded_inst_t* d)
01481 {
01482 return (xed_bits_t)d->_operands.modrm_byte;
01483 }
01484 static XED_INLINE void xed3_operand_set_modrm_byte(xed_decoded_inst_t* d, xed_bits_t opval)
01485 {
01486 d->_operands.modrm_byte = (xed_uint8_t)opval;
01487 }
01488 static XED_INLINE xed_bits_t xed3_operand_get_no_scale_disp8(const xed_decoded_inst_t* d)
01489 {
01490 return (xed_bits_t)d->_operands.no_scale_disp8;
01491 }
01492 static XED_INLINE void xed3_operand_set_no_scale_disp8(xed_decoded_inst_t* d, xed_bits_t opval)
01493 {
01494 d->_operands.no_scale_disp8 = (xed_uint8_t)opval;
01495 }
01496 static XED_INLINE xed_bits_t xed3_operand_get_mode(const xed_decoded_inst_t* d)
01497 {
01498 return (xed_bits_t)d->_operands.mode;
01499 }
01500 static XED_INLINE void xed3_operand_set_mode(xed_decoded_inst_t* d, xed_bits_t opval)
01501 {
01502 d->_operands.mode = (xed_uint8_t)opval;
01503 }
01504 static XED_INLINE xed_bits_t xed3_operand_get_mpxmode(const xed_decoded_inst_t* d)
01505 {
01506 return (xed_bits_t)d->_operands.mpxmode;
01507 }
01508 static XED_INLINE void xed3_operand_set_mpxmode(xed_decoded_inst_t* d, xed_bits_t opval)
01509 {
01510 d->_operands.mpxmode = (xed_uint8_t)opval;
01511 }
01512 static XED_INLINE xed_bits_t xed3_operand_get_sibscale(const xed_decoded_inst_t* d)
01513 {
01514 return (xed_bits_t)d->_operands.sibscale;
01515 }
01516 static XED_INLINE void xed3_operand_set_sibscale(xed_decoded_inst_t* d, xed_bits_t opval)
01517 {
01518 d->_operands.sibscale = (xed_uint8_t)opval;
01519 }
01520 static XED_INLINE xed_bits_t xed3_operand_get_esrc3(const xed_decoded_inst_t* d)
01521 {
01522 return (xed_bits_t)d->_operands.esrc3;
01523 }
01524 static XED_INLINE void xed3_operand_set_esrc3(xed_decoded_inst_t* d, xed_bits_t opval)
01525 {
01526 d->_operands.esrc3 = (xed_uint8_t)opval;
01527 }
01528 static XED_INLINE xed_bits_t xed3_operand_get_vl(const xed_decoded_inst_t* d)
01529 {
01530 return (xed_bits_t)d->_operands.vl;
01531 }
01532 static XED_INLINE void xed3_operand_set_vl(xed_decoded_inst_t* d, xed_bits_t opval)
01533 {
01534 d->_operands.vl = (xed_uint8_t)opval;
01535 }
01536 static XED_INLINE xed_bits_t xed3_operand_get_max_bytes(const xed_decoded_inst_t* d)
01537 {
01538 return (xed_bits_t)d->_operands.max_bytes;
01539 }
01540 static XED_INLINE void xed3_operand_set_max_bytes(xed_decoded_inst_t* d, xed_bits_t opval)
01541 {
01542 d->_operands.max_bytes = (xed_uint8_t)opval;
01543 }
01544 static XED_INLINE xed_bits_t xed3_operand_get_modep5(const xed_decoded_inst_t* d)
01545 {
01546 return (xed_bits_t)d->_operands.modep5;
01547 }
01548 static XED_INLINE void xed3_operand_set_modep5(xed_decoded_inst_t* d, xed_bits_t opval)
01549 {
01550 d->_operands.modep5 = (xed_uint8_t)opval;
01551 }
01552 static XED_INLINE xed_bits_t xed3_operand_get_first_f2f3(const xed_decoded_inst_t* d)
01553 {
01554 return (xed_bits_t)d->_operands.first_f2f3;
01555 }
01556 static XED_INLINE void xed3_operand_set_first_f2f3(xed_decoded_inst_t* d, xed_bits_t opval)
01557 {
01558 d->_operands.first_f2f3 = (xed_uint8_t)opval;
01559 }
01560 static XED_INLINE xed_bits_t xed3_operand_get_vexdest4(const xed_decoded_inst_t* d)
01561 {
01562 return (xed_bits_t)d->_operands.vexdest4;
01563 }
01564 static XED_INLINE void xed3_operand_set_vexdest4(xed_decoded_inst_t* d, xed_bits_t opval)
01565 {
01566 d->_operands.vexdest4 = (xed_uint8_t)opval;
01567 }
01568 #endif