Lines Matching refs:src2

1323     pub fn cmp_rr(&mut self, src1: Reg, src2: Reg, size: OperandSize) {  in cmp_rr()
1325 OperandSize::S8 => asm::inst::cmpb_rm::new(src1, src2).into(), in cmp_rr()
1326 OperandSize::S16 => asm::inst::cmpw_rm::new(src1, src2).into(), in cmp_rr()
1327 OperandSize::S32 => asm::inst::cmpl_rm::new(src1, src2).into(), in cmp_rr()
1328 OperandSize::S64 => asm::inst::cmpq_rm::new(src1, src2).into(), in cmp_rr()
1337 pub fn ucomis(&mut self, src1: Reg, src2: Reg, size: OperandSize) { in ucomis()
1339 OperandSize::S32 => asm::inst::ucomiss_a::new(src1, src2).into(), in ucomis()
1340 OperandSize::S64 => asm::inst::ucomisd_a::new(src1, src2).into(), in ucomis()
1362 pub fn test_rr(&mut self, src1: Reg, src2: Reg, size: OperandSize) { in test_rr()
1364 OperandSize::S8 => asm::inst::testb_mr::new(src1, src2).into(), in test_rr()
1365 OperandSize::S16 => asm::inst::testw_mr::new(src1, src2).into(), in test_rr()
1366 OperandSize::S32 => asm::inst::testl_mr::new(src1, src2).into(), in test_rr()
1367 OperandSize::S64 => asm::inst::testq_mr::new(src1, src2).into(), in test_rr()
1757 src2: &Address, in xmm_vpaddus_rrm()
1761 let src2 = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vpaddus_rrm() localVariable
1763 OperandSize::S8 => asm::inst::vpaddusb_b::new(dst, src1, src2).into(), in xmm_vpaddus_rrm()
1764 OperandSize::S32 => asm::inst::vpaddusw_b::new(dst, src1, src2).into(), in xmm_vpaddus_rrm()
1774 pub fn xmm_vpaddus_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg, size: OperandSize) { in xmm_vpaddus_rrr()
1777 OperandSize::S8 => asm::inst::vpaddusb_b::new(dst, src1, src2).into(), in xmm_vpaddus_rrr()
1778 OperandSize::S16 => asm::inst::vpaddusw_b::new(dst, src1, src2).into(), in xmm_vpaddus_rrr()
1785 pub fn xmm_vpadds_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg, size: OperandSize) { in xmm_vpadds_rrr()
1788 OperandSize::S8 => asm::inst::vpaddsb_b::new(dst, src1, src2).into(), in xmm_vpadds_rrr()
1789 OperandSize::S16 => asm::inst::vpaddsw_b::new(dst, src1, src2).into(), in xmm_vpadds_rrr()
1798 src2: &Address, in xmm_vpadd_rmr()
1803 let address = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vpadd_rmr()
1815 pub fn xmm_vpadd_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpadd_rrr()
1818 OperandSize::S8 => asm::inst::vpaddb_b::new(dst, src1, src2).into(), in xmm_vpadd_rrr()
1819 OperandSize::S16 => asm::inst::vpaddw_b::new(dst, src1, src2).into(), in xmm_vpadd_rrr()
1820 OperandSize::S32 => asm::inst::vpaddd_b::new(dst, src1, src2).into(), in xmm_vpadd_rrr()
1821 OperandSize::S64 => asm::inst::vpaddq_b::new(dst, src1, src2).into(), in xmm_vpadd_rrr()
1873 src2: &Address, in xmm_vpinsr_rrm()
1877 let src2 = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vpinsr_rrm() localVariable
1881 OperandSize::S8 => asm::inst::vpinsrb_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrm()
1882 OperandSize::S16 => asm::inst::vpinsrw_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrm()
1883 OperandSize::S32 => asm::inst::vpinsrd_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrm()
1884 OperandSize::S64 => asm::inst::vpinsrq_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrm()
1896 src2: Reg, in xmm_vpinsr_rrr()
1902 OperandSize::S8 => asm::inst::vpinsrb_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrr()
1903 OperandSize::S16 => asm::inst::vpinsrw_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrr()
1904 OperandSize::S32 => asm::inst::vpinsrd_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrr()
1905 OperandSize::S64 => asm::inst::vpinsrq_b::new(dst, src1, src2, count).into(), in xmm_vpinsr_rrr()
1920 pub fn xmm_vinsertps_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg, imm: u8) { in xmm_vinsertps_rrr()
1922 let inst = asm::inst::vinsertps_b::new(dst, src1, src2, imm).into(); in xmm_vinsertps_rrr()
1928 pub fn xmm_vmovsd_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg) { in xmm_vmovsd_rrr()
1930 let inst = asm::inst::vmovsd_b::new(dst, src1, src2).into(); in xmm_vmovsd_rrr()
1946 pub fn xmm_vmovlhps_rrm(&mut self, dst: WritableReg, src1: Reg, src2: &Address) { in xmm_vmovlhps_rrm()
1947 let src2 = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vmovlhps_rrm() localVariable
1949 let inst = asm::inst::vmovhps_b::new(dst, src1, src2).into(); in xmm_vmovlhps_rrm()
1956 pub fn xmm_vmovlhps_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg) { in xmm_vmovlhps_rrr()
1958 let inst = asm::inst::vmovlhps_rvm::new(dst, src1, src2).into(); in xmm_vmovlhps_rrr()
1982 pub fn xmm_vptest(&mut self, src1: Reg, src2: Reg) { in xmm_vptest()
1983 let inst = asm::inst::vptest_rm::new(src1, src2).into(); in xmm_vptest()
2002 pub fn xmm_vsubp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vsubp_rrr()
2005 OperandSize::S32 => asm::inst::vsubps_b::new(dst, src1, src2).into(), in xmm_vsubp_rrr()
2006 OperandSize::S64 => asm::inst::vsubpd_b::new(dst, src1, src2).into(), in xmm_vsubp_rrr()
2013 pub fn xmm_vpsub_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpsub_rrr()
2016 OperandSize::S8 => asm::inst::vpsubb_b::new(dst, src1, src2).into(), in xmm_vpsub_rrr()
2017 OperandSize::S16 => asm::inst::vpsubw_b::new(dst, src1, src2).into(), in xmm_vpsub_rrr()
2018 OperandSize::S32 => asm::inst::vpsubd_b::new(dst, src1, src2).into(), in xmm_vpsub_rrr()
2019 OperandSize::S64 => asm::inst::vpsubq_b::new(dst, src1, src2).into(), in xmm_vpsub_rrr()
2026 pub fn xmm_vpsubus_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg, size: OperandSize) { in xmm_vpsubus_rrr()
2029 OperandSize::S8 => asm::inst::vpsubusb_b::new(dst, src1, src2).into(), in xmm_vpsubus_rrr()
2030 OperandSize::S16 => asm::inst::vpsubusw_b::new(dst, src1, src2).into(), in xmm_vpsubus_rrr()
2037 pub fn xmm_vpsubs_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg, size: OperandSize) { in xmm_vpsubs_rrr()
2040 OperandSize::S8 => asm::inst::vpsubsb_b::new(dst, src1, src2).into(), in xmm_vpsubs_rrr()
2041 OperandSize::S16 => asm::inst::vpsubsw_b::new(dst, src1, src2).into(), in xmm_vpsubs_rrr()
2051 src2: &Address, in xmm_vaddp_rrm()
2056 let address = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vaddp_rrm()
2066 pub fn xmm_vaddp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vaddp_rrr()
2069 OperandSize::S32 => asm::inst::vaddps_b::new(dst, src1, src2).into(), in xmm_vaddp_rrr()
2070 OperandSize::S64 => asm::inst::vaddpd_b::new(dst, src1, src2).into(), in xmm_vaddp_rrr()
2206 pub fn xmm_vsub_rrm(&mut self, src1: Reg, src2: &Address, dst: WritableReg, size: OperandSize) { in xmm_vsub_rrm()
2208 let address = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vsub_rrm()
2218 pub fn xmm_vsub_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vsub_rrr()
2221 OperandSize::S32 => asm::inst::vsubps_b::new(dst, src1, src2).into(), in xmm_vsub_rrr()
2222 OperandSize::S64 => asm::inst::vsubpd_b::new(dst, src1, src2).into(), in xmm_vsub_rrr()
2230 pub fn xmm_vpackss_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpackss_rrr()
2233 OperandSize::S8 => asm::inst::vpacksswb_b::new(dst, src1, src2).into(), in xmm_vpackss_rrr()
2234 OperandSize::S16 => asm::inst::vpackssdw_b::new(dst, src1, src2).into(), in xmm_vpackss_rrr()
2242 pub fn xmm_vpackus_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpackus_rrr()
2245 OperandSize::S8 => asm::inst::vpackuswb_b::new(dst, src1, src2).into(), in xmm_vpackus_rrr()
2246 OperandSize::S16 => asm::inst::vpackusdw_b::new(dst, src1, src2).into(), in xmm_vpackus_rrr()
2254 pub fn xmm_vpalignr_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, imm: u8) { in xmm_vpalignr_rrr()
2256 let inst = asm::inst::vpalignr_b::new(dst, src1, src2, imm).into(); in xmm_vpalignr_rrr()
2265 src2: &Address, in xmm_vunpcklp_rrm()
2270 let address = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vunpcklp_rrm()
2280 pub fn xmm_vunpckhp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vunpckhp_rrr()
2283 OperandSize::S32 => asm::inst::vunpckhps_b::new(dst, src1, src2).into(), in xmm_vunpckhp_rrr()
2291 pub fn xmm_vpunpckl_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpunpckl_rrr()
2294 OperandSize::S8 => asm::inst::vpunpcklbw_b::new(dst, src1, src2).into(), in xmm_vpunpckl_rrr()
2295 OperandSize::S16 => asm::inst::vpunpcklwd_b::new(dst, src1, src2).into(), in xmm_vpunpckl_rrr()
2303 pub fn xmm_vpunpckh_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpunpckh_rrr()
2306 OperandSize::S8 => asm::inst::vpunpckhbw_b::new(dst, src1, src2).into(), in xmm_vpunpckh_rrr()
2307 OperandSize::S16 => asm::inst::vpunpckhwd_b::new(dst, src1, src2).into(), in xmm_vpunpckh_rrr()
2313 pub(crate) fn vpmullq(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in vpmullq()
2315 let inst = asm::inst::vpmullq_c::new(dst, src1, src2).into(); in vpmullq()
2449 src2: &Address, in xmm_vandp_rrm()
2454 let address = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vandp_rrm()
2465 pub fn xmm_vandp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vandp_rrr()
2468 OperandSize::S32 => asm::inst::vandps_b::new(dst, src1, src2).into(), in xmm_vandp_rrr()
2469 OperandSize::S64 => asm::inst::vandpd_b::new(dst, src1, src2).into(), in xmm_vandp_rrr()
2477 pub fn xmm_vpand_rrm(&mut self, src1: Reg, src2: &Address, dst: WritableReg) { in xmm_vpand_rrm()
2479 let address = Self::to_synthetic_amode(&src2, MemFlags::trusted()); in xmm_vpand_rrm()
2486 pub fn xmm_vpand_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpand_rrr()
2488 let inst = asm::inst::vpand_b::new(dst, src1, src2).into(); in xmm_vpand_rrr()
2494 pub fn xmm_vandnp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vandnp_rrr()
2497 OperandSize::S32 => asm::inst::vandnps_b::new(dst, src1, src2).into(), in xmm_vandnp_rrr()
2498 OperandSize::S64 => asm::inst::vandnpd_b::new(dst, src1, src2).into(), in xmm_vandnp_rrr()
2506 pub fn xmm_vpandn_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpandn_rrr()
2508 let inst = asm::inst::vpandn_b::new(dst, src1, src2).into(); in xmm_vpandn_rrr()
2514 pub fn xmm_vorp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vorp_rrr()
2517 OperandSize::S32 => asm::inst::vorps_b::new(dst, src1, src2).into(), in xmm_vorp_rrr()
2518 OperandSize::S64 => asm::inst::vorpd_b::new(dst, src1, src2).into(), in xmm_vorp_rrr()
2525 pub fn xmm_vpor_rrr(&mut self, dst: WritableReg, src1: Reg, src2: Reg) { in xmm_vpor_rrr()
2527 let inst = asm::inst::vpor_b::new(dst, src1, src2).into(); in xmm_vpor_rrr()
2533 pub fn xmm_vxorp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vxorp_rrr()
2536 OperandSize::S32 => asm::inst::vxorps_b::new(dst, src1, src2).into(), in xmm_vxorp_rrr()
2537 OperandSize::S64 => asm::inst::vxorpd_b::new(dst, src1, src2).into(), in xmm_vxorp_rrr()
2554 pub fn xmm_vpxor_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpxor_rrr()
2556 let inst = asm::inst::vpxor_b::new(dst, src1, src2).into(); in xmm_vpxor_rrr()
2562 pub fn xmm_vmaxp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vmaxp_rrr()
2565 OperandSize::S32 => asm::inst::vmaxps_b::new(dst, src1, src2).into(), in xmm_vmaxp_rrr()
2566 OperandSize::S64 => asm::inst::vmaxpd_b::new(dst, src1, src2).into(), in xmm_vmaxp_rrr()
2577 src2: &Address, in xmm_vminp_rrm()
2582 let address = Self::to_synthetic_amode(src2, MemFlags::trusted()); in xmm_vminp_rrm()
2593 pub fn xmm_vminp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vminp_rrr()
2596 OperandSize::S32 => asm::inst::vminps_b::new(dst, src1, src2).into(), in xmm_vminp_rrr()
2597 OperandSize::S64 => asm::inst::vminpd_b::new(dst, src1, src2).into(), in xmm_vminp_rrr()
2632 src2: Reg, in xmm_vshufp_rrri()
2639 OperandSize::S32 => asm::inst::vshufps_b::new(dst, src1, src2, imm).into(), in xmm_vshufp_rrri()
2651 pub fn xmm_vpmulhrs_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpmulhrs_rrr()
2654 OperandSize::S16 => asm::inst::vpmulhrsw_b::new(dst, src1, src2).into(), in xmm_vpmulhrs_rrr()
2660 pub fn xmm_vpmuldq_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpmuldq_rrr()
2662 let inst = asm::inst::vpmuldq_b::new(dst, src1, src2).into(); in xmm_vpmuldq_rrr()
2666 pub fn xmm_vpmuludq_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpmuludq_rrr()
2668 let inst = asm::inst::vpmuludq_b::new(dst, src1, src2).into(); in xmm_vpmuludq_rrr()
2672 pub fn xmm_vpmull_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpmull_rrr()
2675 OperandSize::S16 => asm::inst::vpmullw_b::new(dst, src1, src2).into(), in xmm_vpmull_rrr()
2676 OperandSize::S32 => asm::inst::vpmulld_b::new(dst, src1, src2).into(), in xmm_vpmull_rrr()
2682 pub fn xmm_vmulp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vmulp_rrr()
2685 OperandSize::S32 => asm::inst::vmulps_b::new(dst, src1, src2).into(), in xmm_vmulp_rrr()
2686 OperandSize::S64 => asm::inst::vmulpd_b::new(dst, src1, src2).into(), in xmm_vmulp_rrr()
2694 pub fn xmm_vpavg_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vpavg_rrr()
2697 OperandSize::S8 => asm::inst::vpavgb_b::new(dst, src1, src2).into(), in xmm_vpavg_rrr()
2698 OperandSize::S16 => asm::inst::vpavgw_b::new(dst, src1, src2).into(), in xmm_vpavg_rrr()
2706 pub fn xmm_vdivp_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg, size: OperandSize) { in xmm_vdivp_rrr()
2709 OperandSize::S32 => asm::inst::vdivps_b::new(dst, src1, src2).into(), in xmm_vdivp_rrr()
2710 OperandSize::S64 => asm::inst::vdivpd_b::new(dst, src1, src2).into(), in xmm_vdivp_rrr()
2737 pub fn xmm_vpmaddubsw_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpmaddubsw_rrr()
2739 let inst = asm::inst::vpmaddubsw_b::new(dst, src1, src2).into(); in xmm_vpmaddubsw_rrr()
2752 pub fn xmm_vpmaddwd_rrr(&mut self, src1: Reg, src2: Reg, dst: WritableReg) { in xmm_vpmaddwd_rrr()
2754 let inst = asm::inst::vpmaddwd_b::new(dst, src1, src2).into(); in xmm_vpmaddwd_rrr()