Lines Matching refs:cmpf
689 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmpi_s32() local
690 assert(cmpf < 2); in pan_pack_add_icmpi_s32()
692 return 0x7b800 | (src0 << 0) | (src1 << 3) | (result_type << 10) | (cmpf << 6); in pan_pack_add_icmpi_s32()
844 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_v2f16() local
845 assert(cmpf < 8); in pan_pack_fma_csel_v2f16()
847 if ((cmpf == 4) || (cmpf == 5)) { in pan_pack_fma_csel_v2f16()
849 if (cmpf == 5) cmpf = 2; in pan_pack_fma_csel_v2f16()
850 else if (cmpf == 4) cmpf = 1; in pan_pack_fma_csel_v2f16()
853 if (cmpf == 3) { in pan_pack_fma_csel_v2f16()
855 if (cmpf == 3) cmpf = 0; in pan_pack_fma_csel_v2f16()
859 if (cmpf == 0) derived_12 = 0; in pan_pack_fma_csel_v2f16()
860 else if (cmpf == 1) derived_12 = 1; in pan_pack_fma_csel_v2f16()
861 else if (cmpf == 2) derived_12 = 2; in pan_pack_fma_csel_v2f16()
880 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_i32() local
881 assert(cmpf < 2); in pan_pack_fma_csel_i32()
883 if (cmpf == 1) { in pan_pack_fma_csel_i32()
885 if (cmpf == 1) cmpf = 0; in pan_pack_fma_csel_i32()
889 if (cmpf == 0) derived_12 = 3; in pan_pack_fma_csel_i32()
1003 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_s32() local
1004 assert(cmpf < 4); in pan_pack_fma_csel_s32()
1006 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_fma_csel_s32()
1008 if (cmpf == 3) cmpf = 1; in pan_pack_fma_csel_s32()
1009 else if (cmpf == 2) cmpf = 0; in pan_pack_fma_csel_s32()
1013 if (cmpf == 0) derived_12 = 0; in pan_pack_fma_csel_s32()
1014 else if (cmpf == 1) derived_12 = 1; in pan_pack_fma_csel_s32()
1109 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_i32() local
1110 assert(cmpf < 2); in pan_pack_add_branch_i32()
1112 if (((src0 > src1) && (cmpf == 0)) || ((src0 < src1) && (cmpf == 1))) { in pan_pack_add_branch_i32()
1122 if ((src0 == src1) && (cmpf == 0)) derived_9 = 1; in pan_pack_add_branch_i32()
1123 else if (((src0 < src1) && (cmpf == 0)) || ((src0 >= src1) && (cmpf == 1))) derived_9 = 4; in pan_pack_add_branch_i32()
1623 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_f16() local
1624 assert(cmpf < 8); in pan_pack_add_branch_f16()
1626 …0 > src1) && ((cmpf == 0) || (cmpf == 1) || (cmpf == 4))) || ((widen0 == widen1) && (src0 < src1) … in pan_pack_add_branch_f16()
1629 if (cmpf == 1) cmpf = 4; in pan_pack_add_branch_f16()
1630 else if (cmpf == 5) cmpf = 2; in pan_pack_add_branch_f16()
1631 else if (cmpf == 4) cmpf = 1; in pan_pack_add_branch_f16()
1632 else if (cmpf == 2) cmpf = 5; in pan_pack_add_branch_f16()
1638 …else if ((widen0 == 2) && (widen1 == 1) && ((cmpf == 3) || (cmpf == 2) || (cmpf == 5))) derived_12… in pan_pack_add_branch_f16()
1639 …else if ((widen0 == 2) && (widen1 == 1) && ((cmpf == 0) || (cmpf == 1) || (cmpf == 4))) derived_12… in pan_pack_add_branch_f16()
1643 if ((widen0 == widen1) && (src0 == src1) && ((cmpf == 1) || (cmpf == 4))) derived_9 = 4; in pan_pack_add_branch_f16()
1644 …= 1) && ((cmpf == 0) || (cmpf == 3))) || ((widen0 == widen1) && (src0 < src1) && (cmpf == 0)) || (… in pan_pack_add_branch_f16()
1645 …= 1) && ((cmpf == 1) || (cmpf == 2))) || ((widen0 == widen1) && (src0 < src1) && (cmpf == 1)) || (… in pan_pack_add_branch_f16()
1646 …cmpf == 4) || (cmpf == 5))) || ((widen0 == widen1) && (src0 < src1) && (cmpf == 4)) || ((widen0 ==… in pan_pack_add_branch_f16()
1890 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmpi_u32() local
1891 assert(cmpf < 2); in pan_pack_add_icmpi_u32()
1893 return 0x7b880 | (src0 << 0) | (src1 << 3) | (result_type << 10) | (cmpf << 6); in pan_pack_add_icmpi_u32()
2030 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_v2s16() local
2031 assert(cmpf < 4); in pan_pack_fma_csel_v2s16()
2033 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_fma_csel_v2s16()
2035 if (cmpf == 3) cmpf = 1; in pan_pack_fma_csel_v2s16()
2036 else if (cmpf == 2) cmpf = 0; in pan_pack_fma_csel_v2s16()
2040 if (cmpf == 0) derived_12 = 0; in pan_pack_fma_csel_v2s16()
2041 else if (cmpf == 1) derived_12 = 1; in pan_pack_fma_csel_v2s16()
2289 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_fcmp_v2f16() local
2290 assert(cmpf < 8); in pan_pack_add_fcmp_v2f16()
2318 if (cmpf == 1) cmpf = 4; in pan_pack_add_fcmp_v2f16()
2319 else if (cmpf == 5) cmpf = 2; in pan_pack_add_fcmp_v2f16()
2320 else if (cmpf == 4) cmpf = 1; in pan_pack_add_fcmp_v2f16()
2321 else if (cmpf == 2) cmpf = 5; in pan_pack_add_fcmp_v2f16()
2329 …return 0xb0000 | (src0 << 0) | (src1 << 3) | (cmpf << 6) | (swz0 << 9) | (swz1 << 11) | (result_ty… in pan_pack_add_fcmp_v2f16()
2533 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_v4u8() local
2534 assert(cmpf < 4); in pan_pack_add_icmp_v4u8()
2536 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_add_icmp_v4u8()
2538 if (cmpf == 3) cmpf = 1; in pan_pack_add_icmp_v4u8()
2539 else if (cmpf == 2) cmpf = 0; in pan_pack_add_icmp_v4u8()
2543 if (cmpf == 0) derived_6 = 0; in pan_pack_add_icmp_v4u8()
2544 else if (cmpf == 1) derived_6 = 1; in pan_pack_add_icmp_v4u8()
3049 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_s32() local
3050 assert(cmpf < 4); in pan_pack_add_branch_s32()
3055 if (cmpf == 0) cmpf = 2; in pan_pack_add_branch_s32()
3056 else if (cmpf == 3) cmpf = 1; in pan_pack_add_branch_s32()
3057 else if (cmpf == 2) cmpf = 0; in pan_pack_add_branch_s32()
3058 else if (cmpf == 1) cmpf = 3; in pan_pack_add_branch_s32()
3066 if ((src0 < src1) && (cmpf == 2)) derived_9 = 0; in pan_pack_add_branch_s32()
3067 …else if (((src0 < src1) && (cmpf == 3)) || ((src0 == src1) && ((cmpf == 3) || (cmpf == 1)))) deriv… in pan_pack_add_branch_s32()
3068 else if ((src0 < src1) && (cmpf == 1)) derived_9 = 2; in pan_pack_add_branch_s32()
3069 else if ((src0 < src1) && (cmpf == 0)) derived_9 = 3; in pan_pack_add_branch_s32()
3070 else if ((src0 == src1) && ((cmpf == 2) || (cmpf == 0))) derived_9 = 4; in pan_pack_add_branch_s32()
3169 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_s32() local
3170 assert(cmpf < 4); in pan_pack_add_icmp_s32()
3172 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_add_icmp_s32()
3174 if (cmpf == 3) cmpf = 1; in pan_pack_add_icmp_s32()
3175 else if (cmpf == 2) cmpf = 0; in pan_pack_add_icmp_s32()
3179 if (cmpf == 0) derived_6 = 0; in pan_pack_add_icmp_s32()
3180 else if (cmpf == 1) derived_6 = 1; in pan_pack_add_icmp_s32()
3449 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_i32() local
3450 assert(cmpf < 2); in pan_pack_add_icmp_i32()
3452 return 0x7b300 | (src0 << 0) | (src1 << 3) | (result_type << 10) | (cmpf << 6); in pan_pack_add_icmp_i32()
3484 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_s16() local
3485 assert(cmpf < 4); in pan_pack_add_branch_s16()
3490 if (cmpf == 0) cmpf = 2; in pan_pack_add_branch_s16()
3491 else if (cmpf == 3) cmpf = 1; in pan_pack_add_branch_s16()
3492 else if (cmpf == 2) cmpf = 0; in pan_pack_add_branch_s16()
3493 else if (cmpf == 1) cmpf = 3; in pan_pack_add_branch_s16()
3503 …if (((widen0 == 2) && (widen1 == 1) && (cmpf == 2)) || ((widen0 == widen1) && (src0 < src1) && (cm… in pan_pack_add_branch_s16()
3504 …== 1) && (cmpf == 3)) || ((widen0 == widen1) && (src0 < src1) && (cmpf == 3)) || ((widen0 == widen… in pan_pack_add_branch_s16()
3505 …else if (((widen0 == 2) && (widen1 == 1) && (cmpf == 1)) || ((widen0 == widen1) && (src0 < src1) &… in pan_pack_add_branch_s16()
3506 …else if (((widen0 == 2) && (widen1 == 1) && (cmpf == 0)) || ((widen0 == widen1) && (src0 < src1) &… in pan_pack_add_branch_s16()
3507 else if ((widen0 == widen1) && (src0 == src1) && ((cmpf == 2) || (cmpf == 0))) derived_9 = 4; in pan_pack_add_branch_s16()
3596 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_f32() local
3597 assert(cmpf < 8); in pan_pack_fma_csel_f32()
3599 if ((cmpf == 4) || (cmpf == 5)) { in pan_pack_fma_csel_f32()
3601 if (cmpf == 5) cmpf = 2; in pan_pack_fma_csel_f32()
3602 else if (cmpf == 4) cmpf = 1; in pan_pack_fma_csel_f32()
3605 if (cmpf == 3) { in pan_pack_fma_csel_f32()
3607 if (cmpf == 3) cmpf = 0; in pan_pack_fma_csel_f32()
3611 if (cmpf == 0) derived_12 = 0; in pan_pack_fma_csel_f32()
3612 else if (cmpf == 1) derived_12 = 1; in pan_pack_fma_csel_f32()
3613 else if (cmpf == 2) derived_12 = 2; in pan_pack_fma_csel_f32()
3893 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_v2i16() local
3894 assert(cmpf < 2); in pan_pack_fma_csel_v2i16()
3896 if (cmpf == 1) { in pan_pack_fma_csel_v2i16()
3898 if (cmpf == 1) cmpf = 0; in pan_pack_fma_csel_v2i16()
3902 if (cmpf == 0) derived_12 = 3; in pan_pack_fma_csel_v2i16()
3954 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_v2s16() local
3955 assert(cmpf < 4); in pan_pack_add_icmp_v2s16()
3957 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_add_icmp_v2s16()
3960 if (cmpf == 3) cmpf = 1; in pan_pack_add_icmp_v2s16()
3961 else if (cmpf == 2) cmpf = 0; in pan_pack_add_icmp_v2s16()
3965 if (cmpf == 0) derived_12 = 0; in pan_pack_add_icmp_v2s16()
3966 else if (cmpf == 1) derived_12 = 1; in pan_pack_add_icmp_v2s16()
4074 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_discard_f32() local
4075 assert(cmpf < 8); in pan_pack_add_discard_f32()
4095 if ((cmpf == 1) || (cmpf == 2)) { in pan_pack_add_discard_f32()
4098 if (cmpf == 1) cmpf = 4; in pan_pack_add_discard_f32()
4099 else if (cmpf == 2) cmpf = 5; in pan_pack_add_discard_f32()
4103 if (cmpf == 0) derived_6 = 0; in pan_pack_add_discard_f32()
4104 else if (cmpf == 3) derived_6 = 1; in pan_pack_add_discard_f32()
4105 else if (cmpf == 4) derived_6 = 2; in pan_pack_add_discard_f32()
4106 else if (cmpf == 5) derived_6 = 3; in pan_pack_add_discard_f32()
4214 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_v2i16() local
4215 assert(cmpf < 2); in pan_pack_add_icmp_v2i16()
4217 …7a000 | (src0 << 0) | (src1 << 3) | (swz0 << 6) | (swz1 << 8) | (result_type << 10) | (cmpf << 11); in pan_pack_add_icmp_v2i16()
4316 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_v2u16() local
4317 assert(cmpf < 4); in pan_pack_add_icmp_v2u16()
4319 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_add_icmp_v2u16()
4322 if (cmpf == 3) cmpf = 1; in pan_pack_add_icmp_v2u16()
4323 else if (cmpf == 2) cmpf = 0; in pan_pack_add_icmp_v2u16()
4327 if (cmpf == 0) derived_12 = 0; in pan_pack_add_icmp_v2u16()
4328 else if (cmpf == 1) derived_12 = 1; in pan_pack_add_icmp_v2u16()
4347 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_v2u16() local
4348 assert(cmpf < 4); in pan_pack_fma_csel_v2u16()
4350 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_fma_csel_v2u16()
4352 if (cmpf == 3) cmpf = 1; in pan_pack_fma_csel_v2u16()
4353 else if (cmpf == 2) cmpf = 0; in pan_pack_fma_csel_v2u16()
4357 if (cmpf == 0) derived_12 = 0; in pan_pack_fma_csel_v2u16()
4358 else if (cmpf == 1) derived_12 = 1; in pan_pack_fma_csel_v2u16()
4393 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_f32() local
4394 assert(cmpf < 8); in pan_pack_add_branch_f32()
4396 …c1) && ((cmpf == 0) || (cmpf == 1) || (cmpf == 4))) || ((widen0 == 0) && (widen1 == 0) && (src0 < … in pan_pack_add_branch_f32()
4399 if (cmpf == 1) cmpf = 4; in pan_pack_add_branch_f32()
4400 else if (cmpf == 5) cmpf = 2; in pan_pack_add_branch_f32()
4401 else if (cmpf == 4) cmpf = 1; in pan_pack_add_branch_f32()
4402 else if (cmpf == 2) cmpf = 5; in pan_pack_add_branch_f32()
4412 if ((widen0 == 0) && (widen1 != 0) && (cmpf == 3)) derived_9 = 1; in pan_pack_add_branch_f32()
4413 else if ((widen0 == 0) && (widen1 != 0) && (cmpf == 2)) derived_9 = 2; in pan_pack_add_branch_f32()
4414 else if ((widen0 == 0) && (widen1 != 0) && (cmpf == 5)) derived_9 = 3; in pan_pack_add_branch_f32()
4415 …else if ((widen0 == 0) && (widen1 == 0) && (src0 == src1) && ((cmpf == 1) || (cmpf == 4))) derived… in pan_pack_add_branch_f32()
4416 …) && (cmpf == 0)) || ((widen0 == 0) && (widen1 == 0) && (src0 < src1) && (cmpf == 0)) || ((widen0 … in pan_pack_add_branch_f32()
4417 …) && (cmpf == 1)) || ((widen0 == 0) && (widen1 == 0) && (src0 < src1) && (cmpf == 1)) || ((widen0 … in pan_pack_add_branch_f32()
4418 …cmpf == 4)) || ((widen0 == 0) && (widen1 == 0) && (src0 < src1) && (cmpf == 4)) || ((widen0 == 0) … in pan_pack_add_branch_f32()
4435 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_u32() local
4436 assert(cmpf < 4); in pan_pack_add_icmp_u32()
4438 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_add_icmp_u32()
4440 if (cmpf == 3) cmpf = 1; in pan_pack_add_icmp_u32()
4441 else if (cmpf == 2) cmpf = 0; in pan_pack_add_icmp_u32()
4445 if (cmpf == 0) derived_6 = 0; in pan_pack_add_icmp_u32()
4446 else if (cmpf == 1) derived_6 = 1; in pan_pack_add_icmp_u32()
4660 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmpi_i32() local
4661 assert(cmpf < 2); in pan_pack_add_icmpi_i32()
4663 return 0x7b900 | (src0 << 0) | (src1 << 3) | (result_type << 10) | (cmpf << 6); in pan_pack_add_icmpi_i32()
4942 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_u32() local
4943 assert(cmpf < 4); in pan_pack_add_branchz_u32()
4946 if (cmpf == 2) derived_9 = 0; in pan_pack_add_branchz_u32()
4947 else if (cmpf == 3) derived_9 = 1; in pan_pack_add_branchz_u32()
4948 else if (cmpf == 1) derived_9 = 2; in pan_pack_add_branchz_u32()
4949 else if (cmpf == 0) derived_9 = 3; in pan_pack_add_branchz_u32()
4988 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_fcmp_f32() local
4989 assert(cmpf < 8); in pan_pack_add_fcmp_f32()
5004 if (cmpf == 1) cmpf = 4; in pan_pack_add_fcmp_f32()
5005 else if (cmpf == 5) cmpf = 2; in pan_pack_add_fcmp_f32()
5006 else if (cmpf == 4) cmpf = 1; in pan_pack_add_fcmp_f32()
5007 else if (cmpf == 2) cmpf = 5; in pan_pack_add_fcmp_f32()
5022 …return 0x30000 | (src0 << 0) | (src1 << 3) | (cmpf << 6) | (abs0 << 11) | (abs1 << 12) | (result_t… in pan_pack_add_fcmp_f32()
5299 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_u32() local
5300 assert(cmpf < 4); in pan_pack_fma_csel_u32()
5302 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_fma_csel_u32()
5304 if (cmpf == 3) cmpf = 1; in pan_pack_fma_csel_u32()
5305 else if (cmpf == 2) cmpf = 0; in pan_pack_fma_csel_u32()
5309 if (cmpf == 0) derived_12 = 0; in pan_pack_fma_csel_u32()
5310 else if (cmpf == 1) derived_12 = 1; in pan_pack_fma_csel_u32()
5432 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_s32() local
5433 assert(cmpf < 4); in pan_pack_add_branchz_s32()
5436 if (cmpf == 2) derived_9 = 0; in pan_pack_add_branchz_s32()
5437 else if (cmpf == 3) derived_9 = 1; in pan_pack_add_branchz_s32()
5438 else if (cmpf == 1) derived_9 = 2; in pan_pack_add_branchz_s32()
5439 else if (cmpf == 0) derived_9 = 3; in pan_pack_add_branchz_s32()
5474 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_u32() local
5475 assert(cmpf < 4); in pan_pack_add_branch_u32()
5480 if (cmpf == 0) cmpf = 2; in pan_pack_add_branch_u32()
5481 else if (cmpf == 3) cmpf = 1; in pan_pack_add_branch_u32()
5482 else if (cmpf == 2) cmpf = 0; in pan_pack_add_branch_u32()
5483 else if (cmpf == 1) cmpf = 3; in pan_pack_add_branch_u32()
5491 if ((src0 >= src1) && (cmpf == 2)) derived_9 = 0; in pan_pack_add_branch_u32()
5492 else if ((src0 >= src1) && (cmpf == 3)) derived_9 = 1; in pan_pack_add_branch_u32()
5493 else if ((src0 >= src1) && (cmpf == 1)) derived_9 = 2; in pan_pack_add_branch_u32()
5494 else if ((src0 >= src1) && (cmpf == 0)) derived_9 = 3; in pan_pack_add_branch_u32()
5689 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_fcmp_v2f16() local
5690 assert(cmpf < 8); in pan_pack_fma_fcmp_v2f16()
5725 if (cmpf == 1) cmpf = 4; in pan_pack_fma_fcmp_v2f16()
5726 else if (cmpf == 5) cmpf = 2; in pan_pack_fma_fcmp_v2f16()
5727 else if (cmpf == 4) cmpf = 1; in pan_pack_fma_fcmp_v2f16()
5728 else if (cmpf == 2) cmpf = 5; in pan_pack_fma_fcmp_v2f16()
5737 if (cmpf == 0) derived_13 = 0; in pan_pack_fma_fcmp_v2f16()
5738 else if (cmpf == 1) derived_13 = 1; in pan_pack_fma_fcmp_v2f16()
5739 else if (cmpf == 2) derived_13 = 2; in pan_pack_fma_fcmp_v2f16()
5740 else if (cmpf == 3) derived_13 = 3; in pan_pack_fma_fcmp_v2f16()
5741 else if (cmpf == 4) derived_13 = 4; in pan_pack_fma_fcmp_v2f16()
5742 else if (cmpf == 5) derived_13 = 5; in pan_pack_fma_fcmp_v2f16()
5743 else if (cmpf == 6) derived_13 = 6; in pan_pack_fma_fcmp_v2f16()
5744 else if ((cmpf == 7) && (abs0 == 0) && (abs1 == 0)) derived_13 = 7; in pan_pack_fma_fcmp_v2f16()
6169 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_fcmp_f32() local
6170 assert(cmpf < 8); in pan_pack_fma_fcmp_f32()
6179 if (cmpf == 1) cmpf = 4; in pan_pack_fma_fcmp_f32()
6180 else if (cmpf == 5) cmpf = 2; in pan_pack_fma_fcmp_f32()
6181 else if (cmpf == 4) cmpf = 1; in pan_pack_fma_fcmp_f32()
6182 else if (cmpf == 2) cmpf = 5; in pan_pack_fma_fcmp_f32()
6196 …| (src1 << 3) | (abs1 << 6) | (neg0 << 7) | (neg1 << 8) | (abs0 << 12) | (cmpf << 13) | (result_ty… in pan_pack_fma_fcmp_f32()
6295 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_u16() local
6296 assert(cmpf < 4); in pan_pack_add_branchz_u16()
6304 if (cmpf == 2) derived_9 = 0; in pan_pack_add_branchz_u16()
6305 else if (cmpf == 3) derived_9 = 1; in pan_pack_add_branchz_u16()
6306 else if (cmpf == 1) derived_9 = 2; in pan_pack_add_branchz_u16()
6307 else if (cmpf == 0) derived_9 = 3; in pan_pack_add_branchz_u16()
6693 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_i32() local
6694 assert(cmpf < 2); in pan_pack_add_branchz_i32()
6697 if (cmpf == 1) derived_3 = 0; in pan_pack_add_branchz_i32()
6698 else if (cmpf == 0) derived_3 = 1; in pan_pack_add_branchz_i32()
6745 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_f16() local
6746 assert(cmpf < 8); in pan_pack_add_branchz_f16()
6754 if ((cmpf == 3) || (cmpf == 2) || (cmpf == 5)) derived_3 = 0; in pan_pack_add_branchz_f16()
6755 else if ((cmpf == 0) || (cmpf == 1) || (cmpf == 4)) derived_3 = 1; in pan_pack_add_branchz_f16()
6759 if ((cmpf == 3) || (cmpf == 0)) derived_9 = 5; in pan_pack_add_branchz_f16()
6760 else if ((cmpf == 2) || (cmpf == 1)) derived_9 = 6; in pan_pack_add_branchz_f16()
6761 else if ((cmpf == 5) || (cmpf == 4)) derived_9 = 7; in pan_pack_add_branchz_f16()
6794 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_v4s8() local
6795 assert(cmpf < 4); in pan_pack_add_icmp_v4s8()
6797 if ((cmpf == 2) || (cmpf == 3)) { in pan_pack_add_icmp_v4s8()
6799 if (cmpf == 3) cmpf = 1; in pan_pack_add_icmp_v4s8()
6800 else if (cmpf == 2) cmpf = 0; in pan_pack_add_icmp_v4s8()
6804 if (cmpf == 0) derived_6 = 0; in pan_pack_add_icmp_v4s8()
6805 else if (cmpf == 1) derived_6 = 1; in pan_pack_add_icmp_v4s8()
6920 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_s16() local
6921 assert(cmpf < 4); in pan_pack_add_branchz_s16()
6929 if (cmpf == 2) derived_9 = 0; in pan_pack_add_branchz_s16()
6930 else if (cmpf == 3) derived_9 = 1; in pan_pack_add_branchz_s16()
6931 else if (cmpf == 1) derived_9 = 2; in pan_pack_add_branchz_s16()
6932 else if (cmpf == 0) derived_9 = 3; in pan_pack_add_branchz_s16()
7400 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmp_v4i8() local
7401 assert(cmpf < 2); in pan_pack_add_icmp_v4i8()
7403 return 0x7b100 | (src0 << 0) | (src1 << 3) | (result_type << 10) | (cmpf << 6); in pan_pack_add_icmp_v4i8()
7443 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_u16() local
7444 assert(cmpf < 4); in pan_pack_add_branch_u16()
7449 if (cmpf == 0) cmpf = 2; in pan_pack_add_branch_u16()
7450 else if (cmpf == 3) cmpf = 1; in pan_pack_add_branch_u16()
7451 else if (cmpf == 2) cmpf = 0; in pan_pack_add_branch_u16()
7452 else if (cmpf == 1) cmpf = 3; in pan_pack_add_branch_u16()
7462 …if (((widen0 == 2) && (widen1 == 1) && (cmpf == 2)) || ((widen0 == widen1) && (src0 >= src1) && (c… in pan_pack_add_branch_u16()
7463 …else if (((widen0 == 2) && (widen1 == 1) && (cmpf == 3)) || ((widen0 == widen1) && (src0 >= src1) … in pan_pack_add_branch_u16()
7464 …else if (((widen0 == 2) && (widen1 == 1) && (cmpf == 1)) || ((widen0 == widen1) && (src0 >= src1) … in pan_pack_add_branch_u16()
7465 …else if (((widen0 == 2) && (widen1 == 1) && (cmpf == 0)) || ((widen0 == widen1) && (src0 >= src1) … in pan_pack_add_branch_u16()
7921 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_i16() local
7922 assert(cmpf < 2); in pan_pack_add_branchz_i16()
7930 if (cmpf == 1) derived_3 = 0; in pan_pack_add_branchz_i16()
7931 else if (cmpf == 0) derived_3 = 1; in pan_pack_add_branchz_i16()
8109 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branchz_f32() local
8110 assert(cmpf < 8); in pan_pack_add_branchz_f32()
8113 if ((cmpf == 3) || (cmpf == 2) || (cmpf == 5)) derived_3 = 0; in pan_pack_add_branchz_f32()
8114 else if ((cmpf == 0) || (cmpf == 1) || (cmpf == 4)) derived_3 = 1; in pan_pack_add_branchz_f32()
8118 if ((cmpf == 3) || (cmpf == 0)) derived_9 = 5; in pan_pack_add_branchz_f32()
8119 else if ((cmpf == 2) || (cmpf == 1)) derived_9 = 6; in pan_pack_add_branchz_f32()
8120 else if ((cmpf == 5) || (cmpf == 4)) derived_9 = 7; in pan_pack_add_branchz_f32()
8248 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_branch_i16() local
8249 assert(cmpf < 2); in pan_pack_add_branch_i16()
8251 …) || ((widen0 == widen1) && (src0 > src1) && (cmpf == 0)) || ((widen0 == widen1) && (src0 < src1) … in pan_pack_add_branch_i16()
8259 else if ((widen0 == 2) && (widen1 == 1) && (cmpf == 1)) derived_12 = 3; in pan_pack_add_branch_i16()
8260 else if ((widen0 == 2) && (widen1 == 1) && (cmpf == 0)) derived_12 = 4; in pan_pack_add_branch_i16()
8264 if ((widen0 == widen1) && (src0 == src1) && (cmpf == 0)) derived_9 = 1; in pan_pack_add_branch_i16()
8265 …) || ((widen0 == widen1) && (src0 < src1) && (cmpf == 0)) || ((widen0 == widen1) && (src0 >= src1)… in pan_pack_add_branch_i16()