Lines Matching refs:prefixes

91   if (*d->prefixes & has_cs)  in data_prefix()
94 *d->prefixes &= ~has_cs; in data_prefix()
96 else if (*d->prefixes & has_ds) in data_prefix()
99 *d->prefixes &= ~has_ds; in data_prefix()
101 else if (*d->prefixes & has_es) in data_prefix()
104 *d->prefixes &= ~has_es; in data_prefix()
106 else if (*d->prefixes & has_fs) in data_prefix()
109 *d->prefixes &= ~has_fs; in data_prefix()
111 else if (*d->prefixes & has_gs) in data_prefix()
114 *d->prefixes &= ~has_gs; in data_prefix()
116 else if (*d->prefixes & has_ss) in data_prefix()
119 *d->prefixes &= ~has_ss; in data_prefix()
163 int prefixes = *d->prefixes; in general_mod$r_m() local
171 if (unlikely ((prefixes & has_addr16) != 0)) in general_mod$r_m()
233 (prefixes & has_rex_b) ? hiregs[modrm & 7] : in general_mod$r_m()
237 if (prefixes & has_addr16) in general_mod$r_m()
239 if (prefixes & has_rex_b) in general_mod$r_m()
252 (prefixes & has_rex_b) ? hiregs[modrm & 7] : in general_mod$r_m()
256 if (prefixes & has_addr16) in general_mod$r_m()
258 if (prefixes & has_rex_b) in general_mod$r_m()
306 || (prefixes & has_rex_x) != 0 in general_mod$r_m()
324 (prefixes & has_rex_b) ? hiregs[sib & 7] : in general_mod$r_m()
325 (prefixes & has_addr16) ? dregs[sib & 7] : in general_mod$r_m()
329 if ((prefixes & (has_rex_b | has_addr16)) in general_mod$r_m()
337 || (prefixes & has_rex_x) != 0 in general_mod$r_m()
345 (prefixes & has_rex_x) in general_mod$r_m()
347 (prefixes & has_addr16) in general_mod$r_m()
352 if ((prefixes & (has_rex_b | has_addr16)) in general_mod$r_m()
367 if ((prefixes & has_addr16) == 0) in general_mod$r_m()
403 if (*d->prefixes & (has_rep | has_repne)) in FCT_MOD$R_M()
505 int is_16bit = (*d->prefixes & has_data16) != 0; in FCT_ax()
518 (*d->prefixes & has_rex_w) ? 'r' : in FCT_ax()
553 if (*d->prefixes & has_data16) in FCT_crdb()
609 int prefix = *d->prefixes & SEGMENT_PREFIXES; in FCT_ds_xx()
612 *d->prefixes |= prefix = has_ds; in FCT_ds_xx()
619 assert ((*d->prefixes & prefix) == 0); in FCT_ds_xx()
628 *d->prefixes & idx_addr16 ? "e" : "r", in FCT_ds_xx()
630 *d->prefixes & idx_addr16 ? "" : "e", in FCT_ds_xx()
677 *d->prefixes & idx_addr16 ? "e" : "r" in FCT_es_di()
679 *d->prefixes & idx_addr16 ? "" : "e" in FCT_es_di()
696 if (*d->prefixes & has_data16) in FCT_imm()
709 if (*d->prefixes & has_rex_w) in FCT_imm()
747 || (*d->prefixes & has_data16) != 0) in FCT_imm64$w()
753 if (*d->prefixes & has_rex_w) in FCT_imm64$w()
806 if ((*d->prefixes & has_data16) == 0) in FCT_imm$s()
861 if (*d->prefixes & has_rex_w) in FCT_imms8()
939 int prefixes = *d->prefixes; in FCT_mod$r_m() local
940 if (prefixes & has_addr16) in FCT_mod$r_m()
943 int is_16bit = (prefixes & has_data16) != 0; in FCT_mod$r_m()
953 if ((prefixes & has_rex_b) != 0 && !is_16bit) in FCT_mod$r_m()
956 if ((prefixes & has_rex_w) == 0) in FCT_mod$r_m()
964 if ((prefixes & has_rex_w) != 0) in FCT_mod$r_m()
984 if (*d->prefixes & has_addr16) in FCT_moda$r_m()
1019 int prefixes = *d->prefixes; in FCT_mod$r_m$w() local
1021 if (prefixes & has_addr16) in FCT_mod$r_m$w()
1034 if (prefixes & has_rex) in FCT_mod$r_m$w()
1036 if (prefixes & has_rex_r) in FCT_mod$r_m$w()
1055 int is_16bit = (prefixes & has_data16) != 0; in FCT_mod$r_m$w()
1061 if ((prefixes & has_rex_b) != 0 && !is_16bit) in FCT_mod$r_m$w()
1064 if ((prefixes & has_rex_w) == 0) in FCT_mod$r_m$w()
1072 if ((prefixes & has_rex_w) != 0) in FCT_mod$r_m$w()
1148 (*d->prefixes & has_rex_b) ? hiregs[byte] : aregs[byte]); in FCT_mod$64r_m()
1167 int is_16bit = (*d->prefixes & has_data16) != 0; in FCT_reg()
1173 if ((*d->prefixes & has_rex_r) != 0 && !is_16bit) in FCT_reg()
1177 if ((*d->prefixes & has_rex_w) == 0) in FCT_reg()
1185 if ((*d->prefixes & has_rex_w) != 0 && !is_16bit) in FCT_reg()
1200 int save_prefixes = *d->prefixes; in FCT_oreg()
1202 *d->prefixes = ((save_prefixes & ~has_rex_r) in FCT_oreg()
1207 *d->prefixes = save_prefixes; in FCT_oreg()
1221 if ((*d->prefixes & has_data16) != 0) in FCT_reg64()
1228 if ((*d->prefixes & has_rex_r) != 0) in FCT_reg64()
1232 if ((*d->prefixes & has_rex_w) == 0) in FCT_reg64()
1263 if (*d->prefixes & has_rex) in FCT_reg$w()
1265 if (*d->prefixes & has_rex_r) in FCT_reg$w()
1291 int save_prefixes = *d->prefixes; in FCT_oreg$w()
1293 *d->prefixes = ((save_prefixes & ~has_rex_r) in FCT_oreg$w()
1298 *d->prefixes = save_prefixes; in FCT_oreg$w()
1325 if (*d->prefixes & has_data16) in FCT_reg16()
1328 *d->prefixes |= has_data16; in FCT_reg16()