Lines Matching refs:prefix

324     unsigned char prefix[MAX_PREFIXES];  member
2098 || i.prefix[ADDR_PREFIX]) in offset_in_range()
2131 add_prefix (unsigned int prefix) in add_prefix() argument
2136 if (prefix >= REX_OPCODE && prefix < REX_OPCODE + 16 in add_prefix()
2139 if ((i.prefix[REX_PREFIX] & prefix & REX_W) in add_prefix()
2140 || ((i.prefix[REX_PREFIX] & (REX_R | REX_X | REX_B)) in add_prefix()
2141 && (prefix & (REX_R | REX_X | REX_B)))) in add_prefix()
2147 switch (prefix) in add_prefix()
2184 if (i.prefix[q] != 0) in add_prefix()
2190 if (!i.prefix[q]) in add_prefix()
2192 i.prefix[q] |= prefix; in add_prefix()
3427 if (i.prefix[LOCK_PREFIX]) in check_hle()
3434 if (i.prefix[HLE_PREFIX] != XRELEASE_PREFIX_OPCODE) in check_hle()
3567 if (i.prefix[LOCK_PREFIX] in md_assemble()
3587 && i.prefix[ADDR_PREFIX]) in md_assemble()
3593 && !i.prefix[BND_PREFIX]) in md_assemble()
4187 else if ((flag_code == CODE_16BIT) ^ (i.prefix[DATA_PREFIX] != 0)) in optimize_imm()
4345 if (i.prefix[ADDR_PREFIX] in optimize_disp()
4764 if (i.prefix[ADDR_PREFIX] != 0) in match_template()
5354 unsigned int prefix = DATA_PREFIX_OPCODE; in process_suffix() local
5357 prefix = ADDR_PREFIX_OPCODE; in process_suffix()
5359 if (!add_prefix (prefix)) in process_suffix()
5659 if ((flag_code == CODE_16BIT) ^ (i.prefix[DATA_PREFIX] != 0)) in update_imm()
6326 i.types[op] = ((i.prefix[ADDR_PREFIX] == 0) in build_modrm_byte()
6330 ^ (i.prefix[ADDR_PREFIX] != 0)) in build_modrm_byte()
6433 if (i.prefix[ADDR_PREFIX] == 0) in build_modrm_byte()
6703 int prefix; in output_branch() local
6711 prefix = 0; in output_branch()
6712 if (i.prefix[DATA_PREFIX] != 0) in output_branch()
6714 prefix = 1; in output_branch()
6719 if (i.prefix[SEG_PREFIX] == CS_PREFIX_OPCODE /* not taken */ in output_branch()
6720 || i.prefix[SEG_PREFIX] == DS_PREFIX_OPCODE /* taken */) in output_branch()
6722 prefix++; in output_branch()
6725 if (i.prefix[REX_PREFIX] != 0) in output_branch()
6727 prefix++; in output_branch()
6732 if (i.prefix[BND_PREFIX] != 0) in output_branch()
6734 FRAG_APPEND_1_CHAR (i.prefix[BND_PREFIX]); in output_branch()
6746 frag_grow (prefix + 2 + 4); in output_branch()
6748 p = frag_more (prefix + 1); in output_branch()
6749 if (i.prefix[DATA_PREFIX] != 0) in output_branch()
6751 if (i.prefix[SEG_PREFIX] == CS_PREFIX_OPCODE in output_branch()
6752 || i.prefix[SEG_PREFIX] == DS_PREFIX_OPCODE) in output_branch()
6753 *p++ = i.prefix[SEG_PREFIX]; in output_branch()
6754 if (i.prefix[REX_PREFIX] != 0) in output_branch()
6755 *p++ = i.prefix[REX_PREFIX]; in output_branch()
6799 if (i.prefix[ADDR_PREFIX] != 0) in output_jump()
6805 if (i.prefix[SEG_PREFIX] == CS_PREFIX_OPCODE /* not taken */ in output_jump()
6806 || i.prefix[SEG_PREFIX] == DS_PREFIX_OPCODE /* taken */) in output_jump()
6808 FRAG_APPEND_1_CHAR (i.prefix[SEG_PREFIX]); in output_jump()
6820 if (i.prefix[DATA_PREFIX] != 0) in output_jump()
6832 if (i.prefix[REX_PREFIX] != 0) in output_jump()
6834 FRAG_APPEND_1_CHAR (i.prefix[REX_PREFIX]); in output_jump()
6839 if (i.prefix[BND_PREFIX] != 0) in output_jump()
6841 FRAG_APPEND_1_CHAR (i.prefix[BND_PREFIX]); in output_jump()
6878 int prefix; in output_interseg_jump() local
6885 prefix = 0; in output_interseg_jump()
6886 if (i.prefix[DATA_PREFIX] != 0) in output_interseg_jump()
6888 prefix = 1; in output_interseg_jump()
6892 if (i.prefix[REX_PREFIX] != 0) in output_interseg_jump()
6894 prefix++; in output_interseg_jump()
6906 p = frag_more (prefix + 1 + 2 + size); in output_interseg_jump()
6908 if (i.prefix[DATA_PREFIX] != 0) in output_interseg_jump()
6911 if (i.prefix[REX_PREFIX] != 0) in output_interseg_jump()
6912 *p++ = i.prefix[REX_PREFIX]; in output_interseg_jump()
6965 unsigned int prefix; in output_insn() local
6973 i.prefix[LOCK_PREFIX] = 0; in output_insn()
6985 prefix = (i.tm.base_opcode >> 24) & 0xff; in output_insn()
6992 prefix = (i.tm.base_opcode >> 16) & 0xff; in output_insn()
6996 if (prefix != REPE_PREFIX_OPCODE in output_insn()
6997 || (i.prefix[REP_PREFIX] in output_insn()
6999 add_prefix (prefix); in output_insn()
7002 add_prefix (prefix); in output_insn()
7018 && i.prefix[REX_PREFIX] == 0) in output_insn()
7023 for (j = ARRAY_SIZE (i.prefix), q = i.prefix; j > 0; j--, q++) in output_insn()
7029 for (j = 0, q = i.prefix; j < ARRAY_SIZE (i.prefix); j++, q++) in output_insn()
8103 override = (i.prefix[ADDR_PREFIX] != 0); in i386_displacement()
8122 override = (i.prefix[DATA_PREFIX] != 0); in i386_displacement()
8273 && !i.prefix[ADDR_PREFIX] in i386_finalize_displacement()
8329 if (i.prefix[ADDR_PREFIX]) in i386_index_check()
8356 i.prefix[ADDR_PREFIX] = ADDR_PREFIX_OPCODE; in i386_index_check()