Lines Matching refs:bofs
168 void tcg_gen_gvec_3_ool(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_3_ool() argument
181 tcg_gen_addi_ptr(a2, tcg_env, bofs); in tcg_gen_gvec_3_ool()
191 void tcg_gen_gvec_4_ool(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_4_ool() argument
205 tcg_gen_addi_ptr(a2, tcg_env, bofs); in tcg_gen_gvec_4_ool()
217 void tcg_gen_gvec_5_ool(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_5_ool() argument
232 tcg_gen_addi_ptr(a2, tcg_env, bofs); in tcg_gen_gvec_5_ool()
268 void tcg_gen_gvec_3_ptr(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_3_ptr() argument
281 tcg_gen_addi_ptr(a2, tcg_env, bofs); in tcg_gen_gvec_3_ptr()
292 void tcg_gen_gvec_4_ptr(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_4_ptr() argument
307 tcg_gen_addi_ptr(a2, tcg_env, bofs); in tcg_gen_gvec_4_ptr()
320 void tcg_gen_gvec_5_ptr(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_5_ptr() argument
336 tcg_gen_addi_ptr(a2, tcg_env, bofs); in tcg_gen_gvec_5_ptr()
779 uint32_t bofs, uint32_t oprsz, bool load_dest, in expand_3_i32() argument
789 tcg_gen_ld_i32(t1, tcg_env, bofs + i); in expand_3_i32()
801 static void expand_3i_i32(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_3i_i32() argument
813 tcg_gen_ld_i32(t1, tcg_env, bofs + i); in expand_3i_i32()
829 static void expand_4_i32(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_4_i32() argument
841 tcg_gen_ld_i32(t2, tcg_env, bofs + i); in expand_4_i32()
855 static void expand_4i_i32(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_4i_i32() argument
868 tcg_gen_ld_i32(t2, tcg_env, bofs + i); in expand_4i_i32()
942 uint32_t bofs, uint32_t oprsz, bool load_dest, in expand_3_i64() argument
952 tcg_gen_ld_i64(t1, tcg_env, bofs + i); in expand_3_i64()
964 static void expand_3i_i64(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_3i_i64() argument
976 tcg_gen_ld_i64(t1, tcg_env, bofs + i); in expand_3i_i64()
992 static void expand_4_i64(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_4_i64() argument
1004 tcg_gen_ld_i64(t2, tcg_env, bofs + i); in expand_4_i64()
1018 static void expand_4i_i64(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_4i_i64() argument
1031 tcg_gen_ld_i64(t2, tcg_env, bofs + i); in expand_4i_i64()
1102 uint32_t bofs, uint32_t oprsz, in expand_3_vec() argument
1112 tcg_gen_ld_vec(t1, tcg_env, bofs + i); in expand_3_vec()
1126 uint32_t bofs, uint32_t oprsz, uint32_t tysz, in expand_3i_vec() argument
1138 tcg_gen_ld_vec(t1, tcg_env, bofs + i); in expand_3i_vec()
1152 uint32_t bofs, uint32_t cofs, uint32_t oprsz, in expand_4_vec() argument
1164 tcg_gen_ld_vec(t2, tcg_env, bofs + i); in expand_4_vec()
1179 uint32_t bofs, uint32_t cofs, uint32_t oprsz, in expand_4i_vec() argument
1191 tcg_gen_ld_vec(t2, tcg_env, bofs + i); in expand_4i_vec()
1409 void tcg_gen_gvec_3(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_3() argument
1417 check_size_align(oprsz, maxsz, dofs | aofs | bofs); in tcg_gen_gvec_3()
1418 check_overlap_3(dofs, aofs, bofs, maxsz); in tcg_gen_gvec_3()
1431 expand_3_vec(g->vece, dofs, aofs, bofs, some, 32, TCG_TYPE_V256, in tcg_gen_gvec_3()
1438 bofs += some; in tcg_gen_gvec_3()
1443 expand_3_vec(g->vece, dofs, aofs, bofs, oprsz, 16, TCG_TYPE_V128, in tcg_gen_gvec_3()
1447 expand_3_vec(g->vece, dofs, aofs, bofs, oprsz, 8, TCG_TYPE_V64, in tcg_gen_gvec_3()
1453 expand_3_i64(dofs, aofs, bofs, oprsz, g->load_dest, g->fni8); in tcg_gen_gvec_3()
1455 expand_3_i32(dofs, aofs, bofs, oprsz, g->load_dest, g->fni4); in tcg_gen_gvec_3()
1458 tcg_gen_gvec_3_ool(dofs, aofs, bofs, oprsz, in tcg_gen_gvec_3()
1475 void tcg_gen_gvec_3i(uint32_t dofs, uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_3i() argument
1484 check_size_align(oprsz, maxsz, dofs | aofs | bofs); in tcg_gen_gvec_3i()
1485 check_overlap_3(dofs, aofs, bofs, maxsz); in tcg_gen_gvec_3i()
1499 expand_3i_vec(g->vece, dofs, aofs, bofs, some, 32, TCG_TYPE_V256, in tcg_gen_gvec_3i()
1506 bofs += some; in tcg_gen_gvec_3i()
1511 expand_3i_vec(g->vece, dofs, aofs, bofs, oprsz, 16, TCG_TYPE_V128, in tcg_gen_gvec_3i()
1515 expand_3i_vec(g->vece, dofs, aofs, bofs, oprsz, 8, TCG_TYPE_V64, in tcg_gen_gvec_3i()
1521 expand_3i_i64(dofs, aofs, bofs, oprsz, c, in tcg_gen_gvec_3i()
1524 expand_3i_i32(dofs, aofs, bofs, oprsz, c, in tcg_gen_gvec_3i()
1528 tcg_gen_gvec_3_ool(dofs, aofs, bofs, oprsz, maxsz, c, g->fno); in tcg_gen_gvec_3i()
1544 void tcg_gen_gvec_4(uint32_t dofs, uint32_t aofs, uint32_t bofs, uint32_t cofs, in tcg_gen_gvec_4() argument
1552 check_size_align(oprsz, maxsz, dofs | aofs | bofs | cofs); in tcg_gen_gvec_4()
1553 check_overlap_4(dofs, aofs, bofs, cofs, maxsz); in tcg_gen_gvec_4()
1566 expand_4_vec(g->vece, dofs, aofs, bofs, cofs, some, in tcg_gen_gvec_4()
1573 bofs += some; in tcg_gen_gvec_4()
1579 expand_4_vec(g->vece, dofs, aofs, bofs, cofs, oprsz, in tcg_gen_gvec_4()
1583 expand_4_vec(g->vece, dofs, aofs, bofs, cofs, oprsz, in tcg_gen_gvec_4()
1589 expand_4_i64(dofs, aofs, bofs, cofs, oprsz, in tcg_gen_gvec_4()
1592 expand_4_i32(dofs, aofs, bofs, cofs, oprsz, in tcg_gen_gvec_4()
1596 tcg_gen_gvec_4_ool(dofs, aofs, bofs, cofs, in tcg_gen_gvec_4()
1613 void tcg_gen_gvec_4i(uint32_t dofs, uint32_t aofs, uint32_t bofs, uint32_t cofs, in tcg_gen_gvec_4i() argument
1622 check_size_align(oprsz, maxsz, dofs | aofs | bofs | cofs); in tcg_gen_gvec_4i()
1623 check_overlap_4(dofs, aofs, bofs, cofs, maxsz); in tcg_gen_gvec_4i()
1637 expand_4i_vec(g->vece, dofs, aofs, bofs, cofs, some, in tcg_gen_gvec_4i()
1644 bofs += some; in tcg_gen_gvec_4i()
1650 expand_4i_vec(g->vece, dofs, aofs, bofs, cofs, oprsz, in tcg_gen_gvec_4i()
1654 expand_4i_vec(g->vece, dofs, aofs, bofs, cofs, oprsz, in tcg_gen_gvec_4i()
1660 expand_4i_i64(dofs, aofs, bofs, cofs, oprsz, c, g->fni8); in tcg_gen_gvec_4i()
1662 expand_4i_i32(dofs, aofs, bofs, cofs, oprsz, c, g->fni4); in tcg_gen_gvec_4i()
1665 tcg_gen_gvec_4_ool(dofs, aofs, bofs, cofs, in tcg_gen_gvec_4i()
1935 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_add() argument
1962 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_add()
2116 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_sub() argument
2143 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_sub()
2149 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_mul() argument
2174 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_mul()
2214 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_ssadd() argument
2236 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_ssadd()
2240 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_sssub() argument
2262 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_sssub()
2280 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_usadd() argument
2304 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_usadd()
2322 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_ussub() argument
2346 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_ussub()
2350 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_smin() argument
2374 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_smin()
2378 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_umin() argument
2402 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_umin()
2406 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_smax() argument
2430 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_smax()
2434 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_umax() argument
2458 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_umax()
2600 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_and() argument
2609 if (aofs == bofs) { in tcg_gen_gvec_and()
2612 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_and()
2617 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_or() argument
2626 if (aofs == bofs) { in tcg_gen_gvec_or()
2629 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_or()
2634 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_xor() argument
2643 if (aofs == bofs) { in tcg_gen_gvec_xor()
2646 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_xor()
2651 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_andc() argument
2660 if (aofs == bofs) { in tcg_gen_gvec_andc()
2663 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_andc()
2668 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_orc() argument
2677 if (aofs == bofs) { in tcg_gen_gvec_orc()
2680 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_orc()
2685 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_nand() argument
2694 if (aofs == bofs) { in tcg_gen_gvec_nand()
2697 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_nand()
2702 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_nor() argument
2711 if (aofs == bofs) { in tcg_gen_gvec_nor()
2714 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_nor()
2719 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_eqv() argument
2728 if (aofs == bofs) { in tcg_gen_gvec_eqv()
2731 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g); in tcg_gen_gvec_eqv()
3401 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_shlv() argument
3427 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_shlv()
3464 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_shrv() argument
3490 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_shrv()
3527 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_sarv() argument
3553 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_sarv()
3590 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_rotlv() argument
3616 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_rotlv()
3649 uint32_t bofs, uint32_t oprsz, uint32_t maxsz) in tcg_gen_gvec_rotrv() argument
3675 tcg_gen_gvec_3(dofs, aofs, bofs, oprsz, maxsz, &g[vece]); in tcg_gen_gvec_rotrv()
3679 static void expand_cmp_i32(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_cmp_i32() argument
3688 tcg_gen_ld_i32(t1, tcg_env, bofs + i); in expand_cmp_i32()
3696 static void expand_cmp_i64(uint32_t dofs, uint32_t aofs, uint32_t bofs, in expand_cmp_i64() argument
3705 tcg_gen_ld_i64(t1, tcg_env, bofs + i); in expand_cmp_i64()
3714 uint32_t bofs, uint32_t oprsz, uint32_t tysz, in expand_cmp_vec() argument
3723 tcg_gen_ld_vec(t1, tcg_env, bofs + i); in expand_cmp_vec()
3730 uint32_t aofs, uint32_t bofs, in tcg_gen_gvec_cmp() argument
3771 check_size_align(oprsz, maxsz, dofs | aofs | bofs); in tcg_gen_gvec_cmp()
3772 check_overlap_3(dofs, aofs, bofs, maxsz); in tcg_gen_gvec_cmp()
3794 expand_cmp_vec(vece, dofs, aofs, bofs, some, 32, TCG_TYPE_V256, cond); in tcg_gen_gvec_cmp()
3800 bofs += some; in tcg_gen_gvec_cmp()
3805 expand_cmp_vec(vece, dofs, aofs, bofs, oprsz, 16, TCG_TYPE_V128, cond); in tcg_gen_gvec_cmp()
3808 expand_cmp_vec(vece, dofs, aofs, bofs, oprsz, 8, TCG_TYPE_V64, cond); in tcg_gen_gvec_cmp()
3813 expand_cmp_i64(dofs, aofs, bofs, oprsz, cond); in tcg_gen_gvec_cmp()
3815 expand_cmp_i32(dofs, aofs, bofs, oprsz, cond); in tcg_gen_gvec_cmp()
3821 tmp = aofs, aofs = bofs, bofs = tmp; in tcg_gen_gvec_cmp()
3826 tcg_gen_gvec_3_ool(dofs, aofs, bofs, oprsz, maxsz, 0, fn[vece]); in tcg_gen_gvec_cmp()
4001 uint32_t bofs, uint32_t cofs, in tcg_gen_gvec_bitsel() argument
4010 tcg_gen_gvec_4(dofs, aofs, bofs, cofs, oprsz, maxsz, &g); in tcg_gen_gvec_bitsel()