Lines Matching refs:sizeflag
2345 typedef void (*op_rtn) (int bytemode, int sizeflag);
12203 prefix_name (int pref, int sizeflag) in prefix_name() argument
12264 return (sizeflag & DFLAG) ? "data16" : "data32"; in prefix_name()
12267 return (sizeflag & AFLAG) ? "addr32" : "addr64"; in prefix_name()
12269 return (sizeflag & AFLAG) ? "addr16" : "addr32"; in prefix_name()
12799 get_sib (disassemble_info *info, int sizeflag) in get_sib() argument
12803 && ((sizeflag & AFLAG) || address_mode == mode_64bit) in get_sib()
12821 int sizeflag, orig_sizeflag; in print_insn() local
12996 sizeflag = priv.orig_sizeflag; in print_insn()
13006 prefix_name (all_prefixes[i], sizeflag)); in print_insn()
13022 prefix_name (all_prefixes[i], sizeflag)); in print_insn()
13048 orig_sizeflag = sizeflag; in print_insn()
13050 sizeflag ^= AFLAG; in print_insn()
13052 sizeflag ^= DFLAG; in print_insn()
13070 get_sib (info, sizeflag); in print_insn()
13071 dofloat (sizeflag); in print_insn()
13076 if (dp != NULL && putop (dp->name, sizeflag) == 0) in print_insn()
13078 get_sib (info, sizeflag); in print_insn()
13084 (*dp->op[i].rtn) (dp->op[i].bytemode, sizeflag); in print_insn()
13530 int sizeflag ATTRIBUTE_UNUSED) in OP_Skip_MODRM()
13538 dofloat (int sizeflag) in dofloat() argument
13549 putop (float_mem[fp_indx], sizeflag); in dofloat()
13552 OP_E (float_mem_mode[fp_indx], sizeflag); in dofloat()
13562 putop (fgrps[dp->op[0].bytemode][modrm.rm], sizeflag); in dofloat()
13570 putop (dp->name, sizeflag); in dofloat()
13575 (*dp->op[0].rtn) (dp->op[0].bytemode, sizeflag); in dofloat()
13580 (*dp->op[1].rtn) (dp->op[1].bytemode, sizeflag); in dofloat()
13593 OP_ST (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_ST()
13599 OP_STi (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_STi()
13607 putop (const char *in_template, int sizeflag) in putop() argument
13658 if (modrm.mod != 3 || (sizeflag & SUFFIX_ALWAYS)) in putop()
13667 if (sizeflag & SUFFIX_ALWAYS) in putop()
13694 if ((prefixes & PREFIX_DATA) || (sizeflag & SUFFIX_ALWAYS)) in putop()
13696 if (sizeflag & DFLAG) in putop()
13704 if (intel_syntax || !(sizeflag & SUFFIX_ALWAYS)) in putop()
13713 if (sizeflag & DFLAG) in putop()
13726 if (sizeflag & AFLAG) in putop()
13732 if (sizeflag & AFLAG) in putop()
13739 if ((prefixes & PREFIX_ADDR) || (sizeflag & SUFFIX_ALWAYS)) in putop()
13741 if (sizeflag & AFLAG) in putop()
13749 if (intel_syntax || (obufp[-1] != 's' && !(sizeflag & SUFFIX_ALWAYS))) in putop()
13751 if ((rex & REX_W) || (sizeflag & DFLAG)) in putop()
13788 if (address_mode == mode_64bit && (sizeflag & SUFFIX_ALWAYS)) in putop()
13804 if (sizeflag & SUFFIX_ALWAYS) in putop()
13821 else if (intel_syntax && (sizeflag & DFLAG)) in putop()
13831 && ((sizeflag & DFLAG) || (rex & REX_W))) in putop()
13847 if ((sizeflag & DFLAG) == 0) in putop()
13855 || (sizeflag & SUFFIX_ALWAYS)) in putop()
13862 if (sizeflag & DFLAG) in putop()
13880 || (sizeflag & SUFFIX_ALWAYS)) in putop()
13887 if (sizeflag & DFLAG) in putop()
13900 && ((sizeflag & DFLAG) || (rex & REX_W))) in putop()
13902 if (modrm.mod != 3 || (sizeflag & SUFFIX_ALWAYS)) in putop()
13915 if (modrm.mod != 3 || (sizeflag & SUFFIX_ALWAYS)) in putop()
13921 if (sizeflag & DFLAG) in putop()
13937 || (modrm.mod == 3 && !(sizeflag & SUFFIX_ALWAYS))) in putop()
13952 else if (sizeflag & DFLAG) in putop()
13962 && ((rex & REX_W) || (sizeflag & DFLAG))) in putop()
13973 && ((sizeflag & DFLAG) || (rex & REX_W))) in putop()
13975 if (sizeflag & SUFFIX_ALWAYS) in putop()
14005 if (sizeflag & SUFFIX_ALWAYS) in putop()
14011 if (sizeflag & DFLAG) in putop()
14065 if (intel_syntax || !(sizeflag & SUFFIX_ALWAYS)) in putop()
14084 || (modrm.mod == 3 && !(sizeflag & SUFFIX_ALWAYS))) in putop()
14111 else if (sizeflag & DFLAG) in putop()
14184 OP_indirE (int bytemode, int sizeflag) in OP_indirE() argument
14188 OP_E (bytemode, sizeflag); in OP_indirE()
14293 intel_operand_size (int bytemode, int sizeflag) in intel_operand_size() argument
14321 if (address_mode == mode_64bit && ((sizeflag & DFLAG) || (rex & REX_W))) in intel_operand_size()
14335 if ((sizeflag & DFLAG) || bytemode == dq_mode) in intel_operand_size()
14343 if ((rex & REX_W) || (sizeflag & DFLAG)) in intel_operand_size()
14350 if (sizeflag & DFLAG) in intel_operand_size()
14376 if (sizeflag & DFLAG) in intel_operand_size()
14654 OP_E_register (int bytemode, int sizeflag) in OP_E_register() argument
14663 if ((sizeflag & SUFFIX_ALWAYS) in OP_E_register()
14698 if (address_mode == mode_64bit && ((sizeflag & DFLAG) || (rex & REX_W))) in OP_E_register()
14717 if ((sizeflag & DFLAG) in OP_E_register()
14740 OP_E_memory (int bytemode, int sizeflag) in OP_E_memory() argument
14858 intel_operand_size (bytemode, sizeflag); in OP_E_memory()
14861 if ((sizeflag & AFLAG) || address_mode == mode_64bit) in OP_E_memory()
14872 int addr32flag = !((sizeflag & AFLAG) in OP_E_memory()
14985 oappend (sizeflag & AFLAG ? "(%rip)" : "(%eip)"); in OP_E_memory()
15000 oappend (sizeflag & AFLAG ? "rip" : "eip"); in OP_E_memory()
15189 OP_E (int bytemode, int sizeflag) in OP_E() argument
15196 OP_E_register (bytemode, sizeflag); in OP_E()
15198 OP_E_memory (bytemode, sizeflag); in OP_E()
15202 OP_G (int bytemode, int sizeflag) in OP_G() argument
15242 if ((sizeflag & DFLAG) || bytemode != v_mode) in OP_G()
15348 OP_REG (int code, int sizeflag) in OP_REG() argument
15384 && ((sizeflag & DFLAG) || (rex & REX_W))) in OP_REG()
15398 if (sizeflag & DFLAG) in OP_REG()
15413 OP_IMREG (int code, int sizeflag) in OP_IMREG() argument
15448 if (sizeflag & DFLAG) in OP_IMREG()
15456 if ((rex & REX_W) || (sizeflag & DFLAG)) in OP_IMREG()
15471 OP_I (int bytemode, int sizeflag) in OP_I() argument
15496 if (sizeflag & DFLAG) in OP_I()
15530 OP_I64 (int bytemode, int sizeflag) in OP_I64() argument
15537 OP_I (bytemode, sizeflag); in OP_I64()
15554 if (sizeflag & DFLAG) in OP_I64()
15584 OP_sI (int bytemode, int sizeflag) in OP_sI() argument
15599 || !((sizeflag & DFLAG) || (rex & REX_W))) in OP_sI()
15602 if ((sizeflag & DFLAG) || (rex & REX_W)) in OP_sI()
15612 if (sizeflag & DFLAG) in OP_sI()
15621 if ((sizeflag & DFLAG) || (rex & REX_W)) in OP_sI()
15637 OP_J (int bytemode, int sizeflag) in OP_J() argument
15653 if ((sizeflag & DFLAG) || (rex & REX_W)) in OP_J()
15683 OP_SEG (int bytemode, int sizeflag) in OP_SEG() argument
15688 OP_E (modrm.mod == 3 ? bytemode : w_mode, sizeflag); in OP_SEG()
15692 OP_DIR (int dummy ATTRIBUTE_UNUSED, int sizeflag) in OP_DIR() argument
15696 if (sizeflag & DFLAG) in OP_DIR()
15715 OP_OFF (int bytemode, int sizeflag) in OP_OFF() argument
15719 if (intel_syntax && (sizeflag & SUFFIX_ALWAYS)) in OP_OFF()
15720 intel_operand_size (bytemode, sizeflag); in OP_OFF()
15723 if ((sizeflag & AFLAG) || address_mode == mode_64bit) in OP_OFF()
15741 OP_OFF64 (int bytemode, int sizeflag) in OP_OFF64() argument
15748 OP_OFF (bytemode, sizeflag); in OP_OFF64()
15752 if (intel_syntax && (sizeflag & SUFFIX_ALWAYS)) in OP_OFF64()
15753 intel_operand_size (bytemode, sizeflag); in OP_OFF64()
15771 ptr_reg (int code, int sizeflag) in ptr_reg() argument
15779 if (!(sizeflag & AFLAG)) in ptr_reg()
15784 else if (sizeflag & AFLAG) in ptr_reg()
15794 OP_ESreg (int code, int sizeflag) in OP_ESreg() argument
15801 intel_operand_size (z_mode, sizeflag); in OP_ESreg()
15807 intel_operand_size (v_mode, sizeflag); in OP_ESreg()
15810 intel_operand_size (b_mode, sizeflag); in OP_ESreg()
15814 ptr_reg (code, sizeflag); in OP_ESreg()
15818 OP_DSreg (int code, int sizeflag) in OP_DSreg() argument
15825 intel_operand_size (z_mode, sizeflag); in OP_DSreg()
15830 intel_operand_size (v_mode, sizeflag); in OP_DSreg()
15833 intel_operand_size (b_mode, sizeflag); in OP_DSreg()
15841 ptr_reg (code, sizeflag); in OP_DSreg()
15845 OP_C (int dummy ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_C()
15866 OP_D (int dummy ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_D()
15882 OP_T (int dummy ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_T()
15889 OP_R (int bytemode, int sizeflag) in OP_R() argument
15894 OP_E_register (bytemode, sizeflag); in OP_R()
15898 OP_MMX (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_MMX()
15917 OP_XMM (int bytemode, int sizeflag ATTRIBUTE_UNUSED) in OP_XMM()
15982 OP_EM (int bytemode, int sizeflag) in OP_EM() argument
15995 OP_E (bytemode, sizeflag); in OP_EM()
15999 if ((sizeflag & SUFFIX_ALWAYS) && bytemode == v_swap_mode) in OP_EM()
16025 OP_EMC (int bytemode, int sizeflag) in OP_EMC() argument
16034 OP_E (bytemode, sizeflag); in OP_EMC()
16046 OP_MXC (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_MXC()
16053 OP_EX (int bytemode, int sizeflag) in OP_EX() argument
16064 OP_E_memory (bytemode, sizeflag); in OP_EX()
16079 if ((sizeflag & SUFFIX_ALWAYS) in OP_EX()
16145 OP_MS (int bytemode, int sizeflag) in OP_MS() argument
16148 OP_EM (bytemode, sizeflag); in OP_MS()
16154 OP_XS (int bytemode, int sizeflag) in OP_XS() argument
16157 OP_EX (bytemode, sizeflag); in OP_XS()
16163 OP_M (int bytemode, int sizeflag) in OP_M() argument
16169 OP_E (bytemode, sizeflag); in OP_M()
16173 OP_0f07 (int bytemode, int sizeflag) in OP_0f07() argument
16178 OP_E (bytemode, sizeflag); in OP_0f07()
16185 NOP_Fixup1 (int bytemode, int sizeflag) in NOP_Fixup1() argument
16191 OP_REG (bytemode, sizeflag); in NOP_Fixup1()
16197 NOP_Fixup2 (int bytemode, int sizeflag) in NOP_Fixup2() argument
16203 OP_IMREG (bytemode, sizeflag); in NOP_Fixup2()
16274 OP_3DNowSuffix (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_3DNowSuffix()
16312 CMP_Fixup (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in CMP_Fixup()
16340 int sizeflag ATTRIBUTE_UNUSED) in OP_Mwait()
16358 int sizeflag ATTRIBUTE_UNUSED) in OP_Monitor()
16397 REP_Fixup (int bytemode, int sizeflag) in REP_Fixup() argument
16409 OP_IMREG (bytemode, sizeflag); in REP_Fixup()
16412 OP_ESreg (bytemode, sizeflag); in REP_Fixup()
16415 OP_DSreg (bytemode, sizeflag); in REP_Fixup()
16427 BND_Fixup (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in BND_Fixup()
16438 HLE_Fixup1 (int bytemode, int sizeflag) in HLE_Fixup1() argument
16449 OP_E (bytemode, sizeflag); in HLE_Fixup1()
16457 HLE_Fixup2 (int bytemode, int sizeflag) in HLE_Fixup2() argument
16467 OP_E (bytemode, sizeflag); in HLE_Fixup2()
16474 HLE_Fixup3 (int bytemode, int sizeflag) in HLE_Fixup3() argument
16481 OP_E (bytemode, sizeflag); in HLE_Fixup3()
16485 CMPXCHG8B_Fixup (int bytemode, int sizeflag) in CMPXCHG8B_Fixup() argument
16503 OP_M (bytemode, sizeflag); in CMPXCHG8B_Fixup()
16507 XMM_Fixup (int reg, int sizeflag ATTRIBUTE_UNUSED) in XMM_Fixup()
16531 CRC32_Fixup (int bytemode, int sizeflag) in CRC32_Fixup() argument
16553 if (sizeflag & DFLAG) in CRC32_Fixup()
16598 OP_E (bytemode, sizeflag); in CRC32_Fixup()
16602 FXSAVE_Fixup (int bytemode, int sizeflag) in FXSAVE_Fixup() argument
16614 OP_M (bytemode, sizeflag); in FXSAVE_Fixup()
16621 OP_VEX (int bytemode, int sizeflag ATTRIBUTE_UNUSED) in OP_VEX()
16704 get_vex_imm8 (int sizeflag, int opnum) in get_vex_imm8() argument
16711 if ((sizeflag & AFLAG) || address_mode == mode_64bit) in get_vex_imm8()
16791 OP_EX_VexReg (int bytemode, int sizeflag, int reg) in OP_EX_VexReg() argument
16797 OP_E_memory (bytemode, sizeflag); in OP_EX_VexReg()
16828 OP_EX_VexImmW (int bytemode, int sizeflag) in OP_EX_VexImmW() argument
16841 vex_imm8 = get_vex_imm8 (sizeflag, 0); in OP_EX_VexImmW()
16846 OP_EX_VexReg (bytemode, sizeflag, reg); in OP_EX_VexImmW()
16855 OP_EX_VexReg (bytemode, sizeflag, reg); in OP_EX_VexImmW()
16869 OP_Vex_2src (int bytemode, int sizeflag) in OP_Vex_2src() argument
16887 OP_E (bytemode, sizeflag); in OP_Vex_2src()
16892 OP_Vex_2src_1 (int bytemode, int sizeflag) in OP_Vex_2src_1() argument
16904 OP_Vex_2src (bytemode, sizeflag); in OP_Vex_2src_1()
16908 OP_Vex_2src_2 (int bytemode, int sizeflag) in OP_Vex_2src_2() argument
16911 OP_Vex_2src (bytemode, sizeflag); in OP_Vex_2src_2()
16917 OP_EX_VexW (int bytemode, int sizeflag) in OP_EX_VexW() argument
16930 reg = get_vex_imm8 (sizeflag, 0) >> 4; in OP_EX_VexW()
16935 reg = get_vex_imm8 (sizeflag, 1) >> 4; in OP_EX_VexW()
16938 OP_EX_VexReg (bytemode, sizeflag, reg); in OP_EX_VexW()
16943 int sizeflag ATTRIBUTE_UNUSED) in VEXI4_Fixup()
16952 OP_REG_VexI4 (int bytemode, int sizeflag ATTRIBUTE_UNUSED) in OP_REG_VexI4()
16985 OP_XMM_VexW (int bytemode, int sizeflag) in OP_XMM_VexW() argument
16990 OP_XMM (bytemode, sizeflag); in OP_XMM_VexW()
16994 OP_EX_Vex (int bytemode, int sizeflag) in OP_EX_Vex() argument
17002 OP_EX (bytemode, sizeflag); in OP_EX_Vex()
17006 OP_XMM_Vex (int bytemode, int sizeflag) in OP_XMM_Vex() argument
17014 OP_XMM (bytemode, sizeflag); in OP_XMM_Vex()
17018 VZERO_Fixup (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in VZERO_Fixup()
17070 VCMP_Fixup (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in VCMP_Fixup()
17098 int sizeflag ATTRIBUTE_UNUSED) in VPCMP_Fixup()
17153 int sizeflag ATTRIBUTE_UNUSED) in PCLMUL_Fixup()
17192 MOVBE_Fixup (int bytemode, int sizeflag) in MOVBE_Fixup() argument
17204 if (sizeflag & SUFFIX_ALWAYS) in MOVBE_Fixup()
17210 if (sizeflag & DFLAG) in MOVBE_Fixup()
17226 OP_M (bytemode, sizeflag); in MOVBE_Fixup()
17230 OP_LWPCB_E (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_LWPCB_E()
17253 OP_LWP_E (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) in OP_LWP_E()
17266 OP_Mask (int bytemode, int sizeflag ATTRIBUTE_UNUSED) in OP_Mask()
17283 OP_Rounding (int bytemode, int sizeflag ATTRIBUTE_UNUSED) in OP_Rounding()