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