Lines Matching refs:regop
361 static void get_modrm(byte data, int* mod, int* regop, int* rm) { in get_modrm() argument
363 *regop = (data & 0x38) >> 3; in get_modrm()
390 int MemoryFPUInstruction(int escape_opcode, int regop, byte* modrm_start);
418 int mod, regop, rm; in PrintRightOperandHelper() local
419 get_modrm(*modrmp, &mod, ®op, &rm); in PrintRightOperandHelper()
526 int mod, regop, rm; in PrintOperands() local
527 get_modrm(modrm, &mod, ®op, &rm); in PrintOperands()
531 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in PrintOperands()
538 AppendToBuffer(",%s", NameOfCPURegister(regop)); in PrintOperands()
554 int mod, regop, rm; in PrintImmediateOp() local
555 get_modrm(modrm, &mod, ®op, &rm); in PrintImmediateOp()
557 switch (regop) { in PrintImmediateOp()
583 int mod, regop, rm; in F7Instruction() local
584 get_modrm(modrm, &mod, ®op, &rm); in F7Instruction()
586 switch (regop) { in F7Instruction()
613 if (regop == 0) { in F7Instruction()
625 int mod, regop, rm; in D1D3C1Instruction() local
626 get_modrm(modrm, &mod, ®op, &rm); in D1D3C1Instruction()
629 switch (regop) { in D1D3C1Instruction()
737 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
738 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
742 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
747 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
752 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
757 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
762 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
767 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
772 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
777 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
782 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
787 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
792 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
797 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); in AVXInstruction()
801 AppendToBuffer("shlx %s,", NameOfCPURegister(regop)); in AVXInstruction()
808 AppendToBuffer("v" #instruction " %s,%s,", NameOfXMMRegister(regop), \ in AVXInstruction()
820 AppendToBuffer("v" #instruction " %s,", NameOfXMMRegister(regop)); \ in AVXInstruction()
831 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
832 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
835 AppendToBuffer("vpblendw %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
842 AppendToBuffer("vpalignr %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
851 AppendToBuffer(",%s,%d", NameOfXMMRegister(regop), in AVXInstruction()
858 AppendToBuffer(",%s,%d", NameOfXMMRegister(regop), in AVXInstruction()
865 AppendToBuffer(",%s,%d", NameOfXMMRegister(regop), in AVXInstruction()
870 AppendToBuffer("vpinsrb %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
877 AppendToBuffer("vinsertps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
884 AppendToBuffer("vpinsrd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
894 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
895 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
898 AppendToBuffer("vsqrtsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
903 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
908 AppendToBuffer("vmulsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
913 AppendToBuffer("vsubsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
918 AppendToBuffer("vminsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
923 AppendToBuffer("vdivsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
928 AppendToBuffer("vmaxsd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
933 AppendToBuffer("vpshuflw %s,", NameOfXMMRegister(regop)); in AVXInstruction()
939 AppendToBuffer("vhaddps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
947 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
948 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
951 AppendToBuffer("vsqrtss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
956 AppendToBuffer("vaddss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
961 AppendToBuffer("vmulss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
966 AppendToBuffer("vcvttps2dq %s,", NameOfXMMRegister(regop)); in AVXInstruction()
970 AppendToBuffer("vsubss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
975 AppendToBuffer("vminss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
980 AppendToBuffer("vdivss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
985 AppendToBuffer("vmaxss %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
990 AppendToBuffer("vmovdqu %s,", NameOfXMMRegister(regop)); in AVXInstruction()
994 AppendToBuffer("vpshufhw %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1002 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in AVXInstruction()
1008 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
1009 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
1013 AppendToBuffer("andn %s,%s,", NameOfCPURegister(regop), in AVXInstruction()
1018 AppendToBuffer("bzhi %s,", NameOfCPURegister(regop)); in AVXInstruction()
1023 AppendToBuffer("bextr %s,", NameOfCPURegister(regop)); in AVXInstruction()
1028 switch (regop) { in AVXInstruction()
1049 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
1050 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
1053 AppendToBuffer("pdep %s,%s,", NameOfCPURegister(regop), in AVXInstruction()
1058 AppendToBuffer("mulx %s,%s,", NameOfCPURegister(regop), in AVXInstruction()
1063 AppendToBuffer("shrx %s,", NameOfCPURegister(regop)); in AVXInstruction()
1071 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
1072 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
1075 AppendToBuffer("pext %s,%s,", NameOfCPURegister(regop), in AVXInstruction()
1080 AppendToBuffer("sarx %s,", NameOfCPURegister(regop)); in AVXInstruction()
1088 int mod, regop, rm; in AVXInstruction() local
1089 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
1092 AppendToBuffer("rorx %s,", NameOfCPURegister(regop)); in AVXInstruction()
1101 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
1102 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
1105 AppendToBuffer("vmovaps %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1109 AppendToBuffer("vrsqrtps %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1113 AppendToBuffer("vrcpps %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1117 AppendToBuffer("vandps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1122 AppendToBuffer("vxorps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1127 AppendToBuffer("vaddps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1132 AppendToBuffer("vmulps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1137 AppendToBuffer("vcvtdq2ps %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1141 AppendToBuffer("vsubps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1146 AppendToBuffer("vminps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1151 AppendToBuffer("vdivps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1156 AppendToBuffer("vmaxps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1163 AppendToBuffer("vcmpps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1171 AppendToBuffer("vshufps %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1181 int mod, regop, rm, vvvv = vex_vreg(); in AVXInstruction() local
1182 get_modrm(*current, &mod, ®op, &rm); in AVXInstruction()
1185 AppendToBuffer("vandpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1190 AppendToBuffer("vxorpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1195 AppendToBuffer("vaddpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1200 AppendToBuffer("vmulpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1205 AppendToBuffer("vsubpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1210 AppendToBuffer("vminpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1215 AppendToBuffer("vdivpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1220 AppendToBuffer("vmaxpd %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1225 AppendToBuffer("vmovd %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1229 AppendToBuffer("vpshufd %s,", NameOfXMMRegister(regop)); in AVXInstruction()
1235 AppendToBuffer("vps%sw %s,%s", sf_str[regop / 2], in AVXInstruction()
1241 AppendToBuffer("vps%sd %s,%s", sf_str[regop / 2], in AVXInstruction()
1249 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in AVXInstruction()
1252 AppendToBuffer("vpinsrw %s,%s,", NameOfXMMRegister(regop), in AVXInstruction()
1260 AppendToBuffer("v" #instruction " %s,%s,", NameOfXMMRegister(regop), \ in AVXInstruction()
1296 int regop = (modrm_byte >> 3) & 0x7; // reg/op field of modrm byte. in MemoryFPUInstruction() local
1298 case 0xD9: switch (regop) { in MemoryFPUInstruction()
1307 case 0xDB: switch (regop) { in MemoryFPUInstruction()
1316 case 0xDD: switch (regop) { in MemoryFPUInstruction()
1325 case 0xDF: switch (regop) { in MemoryFPUInstruction()
1631 int mod, regop, rm; in InstructionDecode() local
1632 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1633 if (regop == eax) { in InstructionDecode()
1655 int mod, regop, rm; in InstructionDecode() local
1656 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1658 AppendToBuffer("%s%s ", f0mnem, suffix[regop & 0x03]); in InstructionDecode()
1684 int mod, regop, rm; in InstructionDecode() local
1685 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1687 NameOfXMMRegister(regop), in InstructionDecode()
1694 int mod, regop, rm; in InstructionDecode() local
1695 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1699 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
1701 AppendToBuffer("%s,", NameOfXMMRegister(regop)); in InstructionDecode()
1706 int mod, regop, rm; in InstructionDecode() local
1707 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1708 AppendToBuffer("ucomiss %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1718 int mod, regop, rm; in InstructionDecode() local
1719 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1721 NameOfXMMRegister(regop)); in InstructionDecode()
1725 int mod, regop, rm; in InstructionDecode() local
1726 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1728 NameOfCPURegister(regop), in InstructionDecode()
1733 int mod, regop, rm; in InstructionDecode() local
1734 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1737 AppendToBuffer("cmpps %s, ", NameOfXMMRegister(regop)); in InstructionDecode()
1744 int mod, regop, rm; in InstructionDecode() local
1745 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1749 NameOfXMMRegister(regop), in InstructionDecode()
1771 int mod, regop, rm; in InstructionDecode() local
1772 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1776 NameOfCPURegister(regop), static_cast<int>(imm8)); in InstructionDecode()
1781 int mod, regop, rm; in InstructionDecode() local
1782 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1785 AppendToBuffer(",%s", NameOfCPURegister(regop)); in InstructionDecode()
1787 AppendToBuffer(",%s,cl", NameOfCPURegister(regop)); in InstructionDecode()
1793 int mod, regop, rm; in InstructionDecode() local
1794 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1796 AppendToBuffer(",%s", NameOfByteCPURegister(regop)); in InstructionDecode()
1803 int mod, regop, rm; in InstructionDecode() local
1804 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1805 AppendToBuffer("%s %s,", f0mnem, NameOfCPURegister(regop)); in InstructionDecode()
1809 int mod, regop, rm; in InstructionDecode() local
1810 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1811 AppendToBuffer("%s %s,", f0mnem, NameOfCPURegister(regop)); in InstructionDecode()
1817 int mod, regop, rm; in InstructionDecode() local
1818 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1831 int mod, regop, rm; in InstructionDecode() local
1832 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1833 if (regop == eax) { in InstructionDecode()
1842 int mod, regop, rm; in InstructionDecode() local
1843 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1845 switch (regop) { in InstructionDecode()
1880 int mod, regop, rm; in InstructionDecode() local
1881 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1883 switch (regop) { in InstructionDecode()
1899 int mod, regop, rm; in InstructionDecode() local
1901 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1905 AppendToBuffer(",%s", NameOfByteCPURegister(regop)); in InstructionDecode()
1909 AppendToBuffer(",%s", NameOfCPURegister(regop)); in InstructionDecode()
1933 int mod, regop, rm; in InstructionDecode() local
1934 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1935 AppendToBuffer("xchg_w %s,", NameOfCPURegister(regop)); in InstructionDecode()
1939 int mod, regop, rm; in InstructionDecode() local
1940 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1943 AppendToBuffer(",%s", NameOfCPURegister(regop)); in InstructionDecode()
1969 int mod, regop, rm; in InstructionDecode() local
1970 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1974 AppendToBuffer(#instruction " %s,", NameOfXMMRegister(regop)); \ in InstructionDecode()
1990 int mod, regop, rm; in InstructionDecode() local
1991 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1993 AppendToBuffer("roundss %s,%s,%d", NameOfXMMRegister(regop), in InstructionDecode()
1998 int mod, regop, rm; in InstructionDecode() local
1999 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2002 NameOfXMMRegister(regop), in InstructionDecode()
2008 int mod, regop, rm; in InstructionDecode() local
2009 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2010 AppendToBuffer("pblendw %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2016 int mod, regop, rm; in InstructionDecode() local
2017 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2018 AppendToBuffer("palignr %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2024 int mod, regop, rm; in InstructionDecode() local
2025 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2028 AppendToBuffer(",%s,%d", NameOfXMMRegister(regop), in InstructionDecode()
2033 int mod, regop, rm; in InstructionDecode() local
2034 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2037 AppendToBuffer(",%s,%d", NameOfXMMRegister(regop), in InstructionDecode()
2042 int mod, regop, rm; in InstructionDecode() local
2043 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2046 AppendToBuffer(",%s,%d", NameOfXMMRegister(regop), in InstructionDecode()
2051 int mod, regop, rm; in InstructionDecode() local
2052 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2056 NameOfXMMRegister(regop), in InstructionDecode()
2061 int mod, regop, rm; in InstructionDecode() local
2062 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2063 AppendToBuffer("pinsrb %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2069 int mod, regop, rm; in InstructionDecode() local
2070 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2071 AppendToBuffer("insertps %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2077 int mod, regop, rm; in InstructionDecode() local
2078 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2079 AppendToBuffer("pinsrd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2089 int mod, regop, rm; in InstructionDecode() local
2090 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2093 NameOfXMMRegister(regop), in InstructionDecode()
2097 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2102 int mod, regop, rm; in InstructionDecode() local
2103 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2105 NameOfCPURegister(regop), in InstructionDecode()
2110 int mod, regop, rm; in InstructionDecode() local
2111 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2113 NameOfXMMRegister(regop), in InstructionDecode()
2118 int mod, regop, rm; in InstructionDecode() local
2119 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2121 NameOfXMMRegister(regop), in InstructionDecode()
2126 int mod, regop, rm; in InstructionDecode() local
2127 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2129 NameOfXMMRegister(regop), in InstructionDecode()
2134 int mod, regop, rm; in InstructionDecode() local
2135 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2136 AppendToBuffer("movd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2140 int mod, regop, rm; in InstructionDecode() local
2141 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2142 AppendToBuffer("movdqa %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2146 int mod, regop, rm; in InstructionDecode() local
2147 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2148 AppendToBuffer("pshufd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2157 int mod, regop, rm; in InstructionDecode() local
2158 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2160 NameOfXMMRegister(regop), in InstructionDecode()
2165 int mod, regop, rm; in InstructionDecode() local
2166 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2168 AppendToBuffer("ps%sw %s,%d", sf_str[regop / 2], in InstructionDecode()
2173 int mod, regop, rm; in InstructionDecode() local
2174 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2176 AppendToBuffer("ps%sd %s,%d", sf_str[regop / 2], in InstructionDecode()
2181 int mod, regop, rm; in InstructionDecode() local
2182 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2184 DCHECK(regop == esi || regop == edx); in InstructionDecode()
2185 AppendToBuffer("ps%sq %s,%d", sf_str[regop / 2], in InstructionDecode()
2190 int mod, regop, rm; in InstructionDecode() local
2191 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2193 NameOfXMMRegister(regop), in InstructionDecode()
2199 int mod, regop, rm; in InstructionDecode() local
2200 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2202 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
2205 int mod, regop, rm; in InstructionDecode() local
2206 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2209 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
2212 int mod, regop, rm; in InstructionDecode() local
2213 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2214 AppendToBuffer("pinsrw %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2220 int mod, regop, rm; in InstructionDecode() local
2221 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2234 int mod, regop, rm; in InstructionDecode() local
2235 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2239 AppendToBuffer(#instruction " %s,", NameOfXMMRegister(regop)); \ in InstructionDecode()
2257 int mod, regop, rm; in InstructionDecode() local
2258 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2259 if (regop == ecx) { in InstructionDecode()
2315 int mod, regop, rm; in InstructionDecode() local
2316 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2318 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
2321 int mod, regop, rm; in InstructionDecode() local
2322 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2323 AppendToBuffer("movsd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2327 int mod, regop, rm; in InstructionDecode() local
2328 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2329 AppendToBuffer("cvtsd2ss %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2333 int mod, regop, rm; in InstructionDecode() local
2334 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2335 AppendToBuffer("pshuflw %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2377 int mod, regop, rm; in InstructionDecode() local
2378 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2380 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2383 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
2399 NameOfXMMRegister(regop), in InstructionDecode()
2403 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2418 int mod, regop, rm; in InstructionDecode() local
2419 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2421 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
2424 int mod, regop, rm; in InstructionDecode() local
2425 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2426 AppendToBuffer("movss %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2430 int mod, regop, rm; in InstructionDecode() local
2431 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2432 AppendToBuffer("cvtss2sd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2436 int mod, regop, rm; in InstructionDecode() local
2437 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2438 AppendToBuffer("movdqu %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2442 int mod, regop, rm; in InstructionDecode() local
2443 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2444 AppendToBuffer("pshufhw %s,", NameOfXMMRegister(regop)); in InstructionDecode()
2451 int mod, regop, rm; in InstructionDecode() local
2452 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2454 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
2457 int mod, regop, rm; in InstructionDecode() local
2458 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2459 AppendToBuffer("popcnt %s,", NameOfCPURegister(regop)); in InstructionDecode()
2463 int mod, regop, rm; in InstructionDecode() local
2464 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2465 AppendToBuffer("tzcnt %s,", NameOfCPURegister(regop)); in InstructionDecode()
2469 int mod, regop, rm; in InstructionDecode() local
2470 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2471 AppendToBuffer("lzcnt %s,", NameOfCPURegister(regop)); in InstructionDecode()
2514 int mod, regop, rm; in InstructionDecode() local
2515 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
2517 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2520 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
2528 NameOfXMMRegister(regop), NameOfXMMRegister(rm)); in InstructionDecode()
2531 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()