Lines Matching refs:opcode

443     opcode: u16,  in mem_vrx_emit()
475 put(sink, &enc_vrx(opcode, rd, base, index, disp.bits(), m3)); in mem_vrx_emit()
539 fn enc_e(opcode: u16) -> [u8; 2] { in enc_e()
541 let opcode1 = ((opcode >> 8) & 0xff) as u8;
542 let opcode2 = (opcode & 0xff) as u8;
555 fn enc_ri_a(opcode: u16, r1: Reg, i2: u16) -> [u8; 4] { in enc_ri_a()
557 let opcode1 = ((opcode >> 4) & 0xff) as u8;
558 let opcode2 = (opcode & 0xf) as u8;
573 fn enc_ri_b(opcode: u16, r1: Reg, ri2: i32) -> [u8; 4] { in enc_ri_b()
575 let opcode1 = ((opcode >> 4) & 0xff) as u8;
576 let opcode2 = (opcode & 0xf) as u8;
592 fn enc_ri_c(opcode: u16, m1: u8, ri2: i32) -> [u8; 4] { in enc_ri_c()
594 let opcode1 = ((opcode >> 4) & 0xff) as u8;
595 let opcode2 = (opcode & 0xf) as u8;
611 fn enc_rie_a(opcode: u16, r1: Reg, i2: u16, m3: u8) -> [u8; 6] { in enc_rie_a()
613 let opcode1 = ((opcode >> 8) & 0xff) as u8;
614 let opcode2 = (opcode & 0xff) as u8;
632 fn enc_rie_d(opcode: u16, r1: Reg, r3: Reg, i2: u16) -> [u8; 6] { in enc_rie_d()
634 let opcode1 = ((opcode >> 8) & 0xff) as u8;
635 let opcode2 = (opcode & 0xff) as u8;
652 fn enc_rie_f(opcode: u16, r1: Reg, r2: Reg, i3: u8, i4: u8, i5: u8) -> [u8; 6] { in enc_rie_f()
654 let opcode1 = ((opcode >> 8) & 0xff) as u8;
655 let opcode2 = (opcode & 0xff) as u8;
674 fn enc_rie_g(opcode: u16, r1: Reg, i2: u16, m3: u8) -> [u8; 6] { in enc_rie_g()
676 let opcode1 = ((opcode >> 8) & 0xff) as u8;
677 let opcode2 = (opcode & 0xff) as u8;
694 fn enc_ril_a(opcode: u16, r1: Reg, i2: u32) -> [u8; 6] { in enc_ril_a()
696 let opcode1 = ((opcode >> 4) & 0xff) as u8;
697 let opcode2 = (opcode & 0xf) as u8;
712 fn enc_ril_b(opcode: u16, r1: Reg, ri2: u32) -> [u8; 6] { in enc_ril_b()
714 let opcode1 = ((opcode >> 4) & 0xff) as u8;
715 let opcode2 = (opcode & 0xf) as u8;
731 fn enc_ril_c(opcode: u16, m1: u8, ri2: u32) -> [u8; 6] { in enc_ril_c()
733 let opcode1 = ((opcode >> 4) & 0xff) as u8;
734 let opcode2 = (opcode & 0xf) as u8;
750 fn enc_rr(opcode: u16, r1: Reg, r2: Reg) -> [u8; 2] { in enc_rr()
752 let opcode = (opcode & 0xff) as u8; localVariable
756 enc[0] = opcode;
767 fn enc_rrd(opcode: u16, r1: Reg, r2: Reg, r3: Reg) -> [u8; 4] { in enc_rrd()
769 let opcode1 = ((opcode >> 8) & 0xff) as u8;
770 let opcode2 = (opcode & 0xff) as u8;
788 fn enc_rre(opcode: u16, r1: Reg, r2: Reg) -> [u8; 4] { in enc_rre()
790 let opcode1 = ((opcode >> 8) & 0xff) as u8;
791 let opcode2 = (opcode & 0xff) as u8;
807 fn enc_rrf_ab(opcode: u16, r1: Reg, r2: Reg, r3: Reg, m4: u8) -> [u8; 4] { in enc_rrf_ab()
809 let opcode1 = ((opcode >> 8) & 0xff) as u8;
810 let opcode2 = (opcode & 0xff) as u8;
829 fn enc_rrf_cde(opcode: u16, r1: Reg, r2: Reg, m3: u8, m4: u8) -> [u8; 4] { in enc_rrf_cde()
831 let opcode1 = ((opcode >> 8) & 0xff) as u8;
832 let opcode2 = (opcode & 0xff) as u8;
851 fn enc_rs(opcode: u16, r1: Reg, r3: Reg, b2: Reg, d2: u32) -> [u8; 4] { in enc_rs()
852 let opcode = (opcode & 0xff) as u8; localVariable
860 enc[0] = opcode;
873 fn enc_rsy(opcode: u16, r1: Reg, r3: Reg, b2: Reg, d2: u32) -> [u8; 6] { in enc_rsy()
874 let opcode1 = ((opcode >> 8) & 0xff) as u8;
875 let opcode2 = (opcode & 0xff) as u8;
899 fn enc_rx(opcode: u16, r1: Reg, b2: Reg, x2: Reg, d2: u32) -> [u8; 4] { in enc_rx()
900 let opcode = (opcode & 0xff) as u8; localVariable
908 enc[0] = opcode;
921 fn enc_rxy(opcode: u16, r1: Reg, b2: Reg, x2: Reg, d2: u32) -> [u8; 6] { in enc_rxy()
922 let opcode1 = ((opcode >> 8) & 0xff) as u8;
923 let opcode2 = (opcode & 0xff) as u8;
947 fn enc_si(opcode: u16, b1: Reg, d1: u32, i2: u8) -> [u8; 4] { in enc_si()
948 let opcode = (opcode & 0xff) as u8; localVariable
954 enc[0] = opcode;
967 fn enc_sil(opcode: u16, b1: Reg, d1: u32, i2: i16) -> [u8; 6] { in enc_sil()
968 let opcode1 = ((opcode >> 8) & 0xff) as u8;
969 let opcode2 = (opcode & 0xff) as u8;
989 fn enc_siy(opcode: u16, b1: Reg, d1: u32, i2: u8) -> [u8; 6] { in enc_siy()
990 let opcode1 = ((opcode >> 8) & 0xff) as u8;
991 let opcode2 = (opcode & 0xff) as u8;
1013 fn enc_vri_a(opcode: u16, v1: Reg, i2: u16, m3: u8) -> [u8; 6] { in enc_vri_a()
1014 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1015 let opcode2 = (opcode & 0xff) as u8;
1035 fn enc_vri_b(opcode: u16, v1: Reg, i2: u8, i3: u8, m4: u8) -> [u8; 6] { in enc_vri_b()
1036 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1037 let opcode2 = (opcode & 0xff) as u8;
1058 fn enc_vri_c(opcode: u16, v1: Reg, i2: u16, v3: Reg, m4: u8) -> [u8; 6] { in enc_vri_c()
1059 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1060 let opcode2 = (opcode & 0xff) as u8;
1081 fn enc_vri_k(opcode: u16, i5: u8, v1: Reg, v2: Reg, v3: Reg, v4: Reg) -> [u8; 6] { in enc_vri_k()
1082 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1083 let opcode2 = (opcode & 0xff) as u8;
1106 fn enc_vrr_a(opcode: u16, v1: Reg, v2: Reg, m3: u8, m4: u8, m5: u8) -> [u8; 6] { in enc_vrr_a()
1107 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1108 let opcode2 = (opcode & 0xff) as u8;
1132 fn enc_vrr_b(opcode: u16, v1: Reg, v2: Reg, v3: Reg, m4: u8, m5: u8) -> [u8; 6] { in enc_vrr_b()
1133 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1134 let opcode2 = (opcode & 0xff) as u8;
1158 fn enc_vrr_c(opcode: u16, v1: Reg, v2: Reg, v3: Reg, m4: u8, m5: u8, m6: u8) -> [u8; 6] { in enc_vrr_c()
1159 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1160 let opcode2 = (opcode & 0xff) as u8;
1185 fn enc_vrr_d(opcode: u16, v1: Reg, v2: Reg, v3: Reg, v4: Reg, m5: u8, m6: u8) -> [u8; 6] { in enc_vrr_d()
1186 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1187 let opcode2 = (opcode & 0xff) as u8;
1212 fn enc_vrr_e(opcode: u16, v1: Reg, v2: Reg, v3: Reg, v4: Reg, m5: u8, m6: u8) -> [u8; 6] { in enc_vrr_e()
1213 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1214 let opcode2 = (opcode & 0xff) as u8;
1239 fn enc_vrr_f(opcode: u16, v1: Reg, r2: Reg, r3: Reg) -> [u8; 6] { in enc_vrr_f()
1240 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1241 let opcode2 = (opcode & 0xff) as u8;
1262 fn enc_vrs_a(opcode: u16, v1: Reg, b2: Reg, d2: u32, v3: Reg, m4: u8) -> [u8; 6] { in enc_vrs_a()
1263 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1264 let opcode2 = (opcode & 0xff) as u8;
1289 fn enc_vrs_b(opcode: u16, v1: Reg, b2: Reg, d2: u32, r3: Reg, m4: u8) -> [u8; 6] { in enc_vrs_b()
1290 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1291 let opcode2 = (opcode & 0xff) as u8;
1316 fn enc_vrs_c(opcode: u16, r1: Reg, b2: Reg, d2: u32, v3: Reg, m4: u8) -> [u8; 6] { in enc_vrs_c()
1317 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1318 let opcode2 = (opcode & 0xff) as u8;
1343 fn enc_vrx(opcode: u16, v1: Reg, b2: Reg, x2: Reg, d2: u32, m3: u8) -> [u8; 6] { in enc_vrx()
1344 let opcode1 = ((opcode >> 8) & 0xff) as u8;
1345 let opcode2 = (opcode & 0xff) as u8;
1509 let (opcode, have_rr) = match alu_op { in emit_with_alloc_consumer()
1547 put(sink, &enc_rrf_ab(opcode, rd.to_reg(), rn, rm, 0)); in emit_with_alloc_consumer()
1565 let opcode = match alu_op { in emit_with_alloc_consumer() localVariable
1570 put(sink, &enc_rie_d(opcode, rd.to_reg(), rn, imm as u16)); in emit_with_alloc_consumer()
1576 let (opcode, is_rre) = match alu_op { in emit_with_alloc_consumer()
1601 put(sink, &enc_rre(opcode, rd.to_reg(), rm)); in emit_with_alloc_consumer()
1603 put(sink, &enc_rr(opcode, rd.to_reg(), rm)); in emit_with_alloc_consumer()
1658 let opcode = match alu_op { in emit_with_alloc_consumer() localVariable
1665 put(sink, &enc_ri_a(opcode, rd.to_reg(), imm as u16)); in emit_with_alloc_consumer()
1675 let opcode = match alu_op { in emit_with_alloc_consumer() localVariable
1682 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm as u32)); in emit_with_alloc_consumer()
1692 let opcode = match alu_op { in emit_with_alloc_consumer() localVariable
1699 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm)); in emit_with_alloc_consumer()
1709 let opcode = match (alu_op, imm.shift) { in emit_with_alloc_consumer() localVariable
1724 put(sink, &enc_ri_a(opcode, rd.to_reg(), imm.bits)); in emit_with_alloc_consumer()
1734 let opcode = match (alu_op, imm.shift) { in emit_with_alloc_consumer() localVariable
1746 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm.bits)); in emit_with_alloc_consumer()
1754 let opcode = 0xb9ec; // MGRK in emit_with_alloc_consumer() localVariable
1755 put(sink, &enc_rrf_ab(opcode, rd1.to_reg(), rn, rm, 0)); in emit_with_alloc_consumer()
1763 let opcode = 0xb986; // MLGR in emit_with_alloc_consumer() localVariable
1764 put(sink, &enc_rre(opcode, rd1.to_reg(), rn)); in emit_with_alloc_consumer()
1772 let opcode = 0xb91d; // DSGFR in emit_with_alloc_consumer() localVariable
1774 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1782 let opcode = 0xb90d; // DSGR in emit_with_alloc_consumer() localVariable
1784 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1795 let opcode = 0xb997; // DLR in emit_with_alloc_consumer() localVariable
1797 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1808 let opcode = 0xb987; // DLGR in emit_with_alloc_consumer() localVariable
1810 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1817 let opcode = 0xb983; // FLOGR in emit_with_alloc_consumer() localVariable
1818 put(sink, &enc_rre(opcode, rd1.to_reg(), rn)); in emit_with_alloc_consumer()
1828 let opcode = match shift_op { in emit_with_alloc_consumer() localVariable
1840 &enc_rsy(opcode, rd.to_reg(), rn, shift_reg, shift_imm.into()), in emit_with_alloc_consumer()
1855 let opcode = match op { in emit_with_alloc_consumer() localVariable
1864 opcode, in emit_with_alloc_consumer()
1882 let opcode = match op { in emit_with_alloc_consumer() localVariable
1891 opcode, in emit_with_alloc_consumer()
1904 let opcode = 0x10; // LPR in emit_with_alloc_consumer() localVariable
1905 put(sink, &enc_rr(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1908 let opcode = 0xb900; // LPGR in emit_with_alloc_consumer() localVariable
1909 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1912 let opcode = 0xb910; // LPGFR in emit_with_alloc_consumer() localVariable
1913 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1916 let opcode = 0x13; // LCR in emit_with_alloc_consumer() localVariable
1917 put(sink, &enc_rr(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1920 let opcode = 0xb903; // LCGR in emit_with_alloc_consumer() localVariable
1921 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1924 let opcode = 0xb913; // LCGFR in emit_with_alloc_consumer() localVariable
1925 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1928 let opcode = 0xb9e1; // POPCNT in emit_with_alloc_consumer() localVariable
1929 put(sink, &enc_rrf_cde(opcode, rd.to_reg(), rn, 0, 0)); in emit_with_alloc_consumer()
1932 let opcode = 0xb9e1; // POPCNT in emit_with_alloc_consumer() localVariable
1933 put(sink, &enc_rrf_cde(opcode, rd.to_reg(), rn, 8, 0)); in emit_with_alloc_consumer()
1936 let opcode = 0xb91f; // LRVR in emit_with_alloc_consumer() localVariable
1937 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1940 let opcode = 0xb90f; // LRVRG in emit_with_alloc_consumer() localVariable
1941 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1944 let opcode = 0xb968; // CLZG in emit_with_alloc_consumer() localVariable
1945 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1948 let opcode = 0xb969; // CTZG in emit_with_alloc_consumer() localVariable
1949 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1961 let opcode = match (signed, from_bits, to_bits) { in emit_with_alloc_consumer() localVariable
1978 put(sink, &enc_rre(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
1982 let (opcode, is_rre) = match op { in emit_with_alloc_consumer()
1992 put(sink, &enc_rre(opcode, rn, rm)); in emit_with_alloc_consumer()
1994 put(sink, &enc_rr(opcode, rn, rm)); in emit_with_alloc_consumer()
2017 let opcode = match op { in emit_with_alloc_consumer() localVariable
2022 put(sink, &enc_ri_a(opcode, rn, imm as u16)); in emit_with_alloc_consumer()
2025 let opcode = match op { in emit_with_alloc_consumer() localVariable
2030 put(sink, &enc_ril_a(opcode, rn, imm as u32)); in emit_with_alloc_consumer()
2033 let opcode = match op { in emit_with_alloc_consumer() localVariable
2038 put(sink, &enc_ril_a(opcode, rn, imm)); in emit_with_alloc_consumer()
2047 let opcode = match op { in emit_with_alloc_consumer() localVariable
2056 &enc_rrf_cde(opcode, rn, rm, cond.bits(), 0), in emit_with_alloc_consumer()
2067 let opcode = match op { in emit_with_alloc_consumer() localVariable
2074 &enc_rie_a(opcode, rn, imm as u16, cond.bits()), in emit_with_alloc_consumer()
2085 let opcode = match op { in emit_with_alloc_consumer() localVariable
2090 put_with_trap(sink, &enc_rie_a(opcode, rn, imm, cond.bits()), trap_code); in emit_with_alloc_consumer()
2101 let opcode = match alu_op { in emit_with_alloc_consumer() localVariable
2121 Some(opcode), in emit_with_alloc_consumer()
2141 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
2147 put(sink, &enc_ril_c(opcode, cond.bits(), 0)); in emit_with_alloc_consumer()
2153 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
2155 put(sink, &enc_ril_c(opcode, cond.bits(), 0)); in emit_with_alloc_consumer()
2269 let opcode = match self { in emit_with_alloc_consumer() localVariable
2275 mem_imm16_emit(imm, &mem, opcode, true, sink, emit_info, state); in emit_with_alloc_consumer()
2281 let opcode = 0xeb04; // LMG in emit_with_alloc_consumer() localVariable
2289 Some(opcode), in emit_with_alloc_consumer()
2299 let opcode = 0xeb24; // STMG in emit_with_alloc_consumer() localVariable
2305 Some(opcode), in emit_with_alloc_consumer()
2326 let opcode = 0xb904; // LGR in emit_with_alloc_consumer() localVariable
2327 put(sink, &enc_rre(opcode, rd.to_reg(), rm)); in emit_with_alloc_consumer()
2333 let opcode = 0x18; // LR in emit_with_alloc_consumer() localVariable
2334 put(sink, &enc_rr(opcode, rd.to_reg(), rm)); in emit_with_alloc_consumer()
2337 let opcode = 0xc09; // IILF in emit_with_alloc_consumer() localVariable
2338 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm)); in emit_with_alloc_consumer()
2341 let opcode = 0xa78; // LHI in emit_with_alloc_consumer() localVariable
2342 put(sink, &enc_ri_a(opcode, rd.to_reg(), imm as u16)); in emit_with_alloc_consumer()
2345 let opcode = 0xa79; // LGHI in emit_with_alloc_consumer() localVariable
2346 put(sink, &enc_ri_a(opcode, rd.to_reg(), imm as u16)); in emit_with_alloc_consumer()
2349 let opcode = 0xc01; // LGFI in emit_with_alloc_consumer() localVariable
2350 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm as u32)); in emit_with_alloc_consumer()
2355 let opcode = 0xb9f2; // LOCR in emit_with_alloc_consumer() localVariable
2356 put(sink, &enc_rrf_cde(opcode, rd.to_reg(), rm, cond.bits(), 0)); in emit_with_alloc_consumer()
2361 let opcode = 0xb9e2; // LOCGR in emit_with_alloc_consumer() localVariable
2362 put(sink, &enc_rrf_cde(opcode, rd.to_reg(), rm, cond.bits(), 0)); in emit_with_alloc_consumer()
2367 let opcode = 0xec42; // LOCHI in emit_with_alloc_consumer() localVariable
2370 &enc_rie_g(opcode, rd.to_reg(), imm as u16, cond.bits()), in emit_with_alloc_consumer()
2376 let opcode = 0xec46; // LOCGHI in emit_with_alloc_consumer() localVariable
2379 &enc_rie_g(opcode, rd.to_reg(), imm as u16, cond.bits()), in emit_with_alloc_consumer()
2383 let opcode = match imm.shift { in emit_with_alloc_consumer() localVariable
2390 put(sink, &enc_ri_a(opcode, rd.to_reg(), imm.bits)); in emit_with_alloc_consumer()
2393 let opcode = match imm.shift { in emit_with_alloc_consumer() localVariable
2398 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm.bits)); in emit_with_alloc_consumer()
2403 let opcode = match imm.shift { in emit_with_alloc_consumer() localVariable
2410 put(sink, &enc_ri_a(opcode, rd.to_reg(), imm.bits)); in emit_with_alloc_consumer()
2415 let opcode = match imm.shift { in emit_with_alloc_consumer() localVariable
2420 put(sink, &enc_ril_a(opcode, rd.to_reg(), imm.bits)); in emit_with_alloc_consumer()
2423 let opcode = 0xb24f; // EAR in emit_with_alloc_consumer() localVariable
2424 put(sink, &enc_rre(opcode, rd.to_reg(), gpr(ar))); in emit_with_alloc_consumer()
2430 let opcode = 0xb24f; // EAR in emit_with_alloc_consumer() localVariable
2431 put(sink, &enc_rre(opcode, rd.to_reg(), gpr(ar))); in emit_with_alloc_consumer()
2454 let opcode = 0x38; // LER in emit_with_alloc_consumer() localVariable
2455 put(sink, &enc_rr(opcode, rd.to_reg(), rn)); in emit_with_alloc_consumer()
2472 let opcode = 0x38; // LER in emit_with_alloc_consumer() localVariable
2473 put(sink, &enc_rr(opcode, rd.to_reg(), rm)); in emit_with_alloc_consumer()
2491 let (opcode, m3, m4, m5, opcode_fpr) = match fpu_op { in emit_with_alloc_consumer()
2519 put(sink, &enc_vrr_a(opcode, rd.to_reg(), rn, m3, m4, m5)); in emit_with_alloc_consumer()
2523 let (opcode, m4, m5, m6, opcode_fpr) = match fpu_op { in emit_with_alloc_consumer()
2569 put(sink, &enc_vrr_c(opcode, rd.to_reg(), rn, rm, m4, m5, m6)); in emit_with_alloc_consumer()
2579 let (opcode, m5, m6, opcode_fpr) = match fpu_op { in emit_with_alloc_consumer()
2600 put(sink, &enc_vrr_e(opcode, rd.to_reg(), rn, rm, ra, m5, m6)); in emit_with_alloc_consumer()
2613 let (opcode, m3, m4, opcode_fpr) = match op { in emit_with_alloc_consumer()
2645 put(sink, &enc_vrr_a(opcode, rd.to_reg(), rn, m3, m4, mode)); in emit_with_alloc_consumer()
2662 let opcode = match op { in emit_with_alloc_consumer() localVariable
2668 put(sink, &enc_rrf_cde(opcode, rd1.to_reg(), rn, mode, 0)); in emit_with_alloc_consumer()
2684 let opcode = match op { in emit_with_alloc_consumer() localVariable
2690 put(sink, &enc_rrf_cde(opcode, rd.to_reg(), rn1, mode, 0)); in emit_with_alloc_consumer()
2694 let opcode = 0xb309; // CEBR in emit_with_alloc_consumer() localVariable
2695 put(sink, &enc_rre(opcode, rn, rm)); in emit_with_alloc_consumer()
2697 let opcode = 0xe7cb; // WFC in emit_with_alloc_consumer() localVariable
2698 put(sink, &enc_vrr_a(opcode, rn, rm, 2, 0, 0)); in emit_with_alloc_consumer()
2703 let opcode = 0xb319; // CDBR in emit_with_alloc_consumer() localVariable
2704 put(sink, &enc_rre(opcode, rn, rm)); in emit_with_alloc_consumer()
2706 let opcode = 0xe7cb; // WFC in emit_with_alloc_consumer() localVariable
2707 put(sink, &enc_vrr_a(opcode, rn, rm, 3, 0, 0)); in emit_with_alloc_consumer()
2711 let opcode = 0xe7cb; // WFC in emit_with_alloc_consumer() localVariable
2712 put(sink, &enc_vrr_a(opcode, rn, rm, 4, 0, 0)); in emit_with_alloc_consumer()
2716 let (opcode, m4) = match op { in emit_with_alloc_consumer()
2834 let enc = &enc_vrr_c(opcode, rd.to_reg(), rn, rm, m4, 0, 0); in emit_with_alloc_consumer()
2857 let (opcode, m3) = match op { in emit_with_alloc_consumer()
2900 put(sink, &enc_vrr_a(opcode, rd.to_reg(), rn, m3, 0, 0)); in emit_with_alloc_consumer()
2909 let (opcode, m4) = match shift_op { in emit_with_alloc_consumer()
2929 &enc_vrs_a(opcode, rd.to_reg(), shift_reg, shift_imm.into(), rn, m4), in emit_with_alloc_consumer()
2933 let opcode = 0xe78d; // VSEL in emit_with_alloc_consumer() localVariable
2934 put(sink, &enc_vrr_e(opcode, rd.to_reg(), rn, rm, ra, 0, 0)); in emit_with_alloc_consumer()
2937 let opcode = 0xe78c; // VPERM in emit_with_alloc_consumer() localVariable
2938 put(sink, &enc_vrr_e(opcode, rd.to_reg(), rn, rm, ra, 0, 0)); in emit_with_alloc_consumer()
2941 let opcode = 0xe789; // VBLEND in emit_with_alloc_consumer() localVariable
2942 put(sink, &enc_vrr_d(opcode, rd.to_reg(), rn, rm, ra, 0, 0)); in emit_with_alloc_consumer()
2951 let opcode = 0xe788; //VEVAL in emit_with_alloc_consumer() localVariable
2952 put(sink, &enc_vri_k(opcode, imm, rd.to_reg(), rn, rm, ra)); in emit_with_alloc_consumer()
2963 let opcode = 0xe784; // VPDI in emit_with_alloc_consumer() localVariable
2964 put(sink, &enc_vrr_c(opcode, rd.to_reg(), rn, rm, m4, 0, 0)); in emit_with_alloc_consumer()
2967 let (opcode, m4) = match op { in emit_with_alloc_consumer()
2990 put(sink, &enc_vrr_b(opcode, rd.to_reg(), rn, rm, m4, m5)); in emit_with_alloc_consumer()
2993 let (opcode, m4) = match op { in emit_with_alloc_consumer()
3007 put(sink, &enc_vrr_c(opcode, rd.to_reg(), rn, rm, m4, 0, m6)); in emit_with_alloc_consumer()
3010 let (opcode, m3) = match op { in emit_with_alloc_consumer()
3015 put(sink, &enc_vrr_a(opcode, rn, rm, m3, 0, 0)); in emit_with_alloc_consumer()
3026 let (opcode, m3) = match self { in emit_with_alloc_consumer()
3031 put(sink, &enc_vrr_a(opcode, rm, rn, m3, 0, 0)); in emit_with_alloc_consumer()
3063 let (opcode, m3) = match self { in emit_with_alloc_consumer()
3074 mem_vrx_emit(rd.to_reg(), &mem, opcode, m3, true, sink, emit_info, state); in emit_with_alloc_consumer()
3086 let (opcode, m3) = match self { in emit_with_alloc_consumer()
3097 mem_vrx_emit(rd, &mem, opcode, m3, true, sink, emit_info, state); in emit_with_alloc_consumer()
3103 let (opcode, m3) = match (self, size) { in emit_with_alloc_consumer()
3113 mem_vrx_emit(rd.to_reg(), &mem, opcode, m3, true, sink, emit_info, state); in emit_with_alloc_consumer()
3126 let opcode = 0xe762; // VLVGP in emit_with_alloc_consumer() localVariable
3127 put(sink, &enc_vrr_f(opcode, rd.to_reg(), rn, rm)); in emit_with_alloc_consumer()
3130 let opcode = 0xe744; // VGBM in emit_with_alloc_consumer() localVariable
3131 put(sink, &enc_vri_a(opcode, rd.to_reg(), mask, 0)); in emit_with_alloc_consumer()
3139 let (opcode, m4) = match size { in emit_with_alloc_consumer()
3148 &enc_vri_b(opcode, rd.to_reg(), start_bit, end_bit, m4), in emit_with_alloc_consumer()
3152 let (opcode, m3) = match size { in emit_with_alloc_consumer()
3159 put(sink, &enc_vri_a(opcode, rd.to_reg(), imm as u16, m3)); in emit_with_alloc_consumer()
3340 let opcode = match size { in emit_with_alloc_consumer() localVariable
3347 put(sink, &enc_vri_a(opcode, rd.to_reg(), imm as u16, lane_imm)); in emit_with_alloc_consumer()
3355 let opcode = match size { in emit_with_alloc_consumer() localVariable
3362 put(sink, &enc_vri_a(opcode, rd.to_reg(), imm as u16, lane_imm)); in emit_with_alloc_consumer()
3370 let (opcode, m4) = match size { in emit_with_alloc_consumer()
3379 &enc_vri_c(opcode, rd.to_reg(), lane_imm.into(), rn, m4), in emit_with_alloc_consumer()
3452 let opcode = 0xc05; // BRASL in emit_with_alloc_consumer() localVariable
3453 &enc_ril_b(opcode, link.to_reg(), 0) in emit_with_alloc_consumer()
3456 let opcode = 0x0d; // BASR in emit_with_alloc_consumer() localVariable
3457 &enc_rr(opcode, link.to_reg(), *reg) in emit_with_alloc_consumer()
3511 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
3512 &enc_ril_c(opcode, 15, 0) in emit_with_alloc_consumer()
3515 let opcode = 0x07; // BCR in emit_with_alloc_consumer() localVariable
3516 &enc_rr(opcode, gpr(15), temp_dest.unwrap_or(*reg)) in emit_with_alloc_consumer()
3523 let opcode = 0xc05; // BRASL in emit_with_alloc_consumer() localVariable
3536 put(sink, &enc_ril_b(opcode, gpr(14), 0)); in emit_with_alloc_consumer()
3542 let opcode = 0x07; // BCR in emit_with_alloc_consumer() localVariable
3543 put(sink, &enc_rr(opcode, gpr(15), link)); in emit_with_alloc_consumer()
3551 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
3552 put(sink, &enc_ril_c(opcode, 15, 0)); in emit_with_alloc_consumer()
3555 let opcode = 0x07; // BCR in emit_with_alloc_consumer() localVariable
3556 put(sink, &enc_rr(opcode, gpr(15), rn)); in emit_with_alloc_consumer()
3563 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
3568 let inverted = &enc_ril_c(opcode, cond.invert().bits(), 0); in emit_with_alloc_consumer()
3570 put(sink, &enc_ril_c(opcode, cond.bits(), 0)); in emit_with_alloc_consumer()
3576 put(sink, &enc_ril_c(opcode, 15, 0)); in emit_with_alloc_consumer()
3592 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
3593 let enc = &enc_ril_c(opcode, cond.bits(), 2); in emit_with_alloc_consumer()
3613 let opcode = 0xc04; // BCRL in emit_with_alloc_consumer() localVariable
3615 put(sink, &enc_ril_c(opcode, default_cond.bits(), 0)); in emit_with_alloc_consumer()
3680 let opcode = 0xa76; // BRCT in emit_with_alloc_consumer() localVariable
3682 put(sink, &enc_ri_b(opcode, probe_count.to_reg(), 0)); in emit_with_alloc_consumer()