Lines Matching refs:v8i16
26 #define ADDVI_H(a, b) __msa_addvi_h((v8i16)a, b)
29 #define SRAI_H(a, b) __msa_srai_h((v8i16)a, b)
31 #define SRLI_H(a, b) __msa_srli_h((v8i16)a, b)
54 #define LD_SH(...) LD_H(v8i16, __VA_ARGS__)
66 #define ST_SH(...) ST_H(v8i16, __VA_ARGS__)
260 #define LD_SH2(...) LD_H2(v8i16, __VA_ARGS__)
355 #define ST_SH2(...) ST_H2(v8i16, __VA_ARGS__)
370 const uint16_t out0_m = __msa_copy_s_h((v8i16)in, stidx); \
371 const uint16_t out1_m = __msa_copy_s_h((v8i16)in, stidx + 1); \
372 const uint16_t out2_m = __msa_copy_s_h((v8i16)in, stidx + 2); \
373 const uint16_t out3_m = __msa_copy_s_h((v8i16)in, stidx + 3); \
421 #define SLDI_SH(...) SLDI_B(v8i16, __VA_ARGS__)
436 #define VSHF_SH(...) VSHF_B(v8i16, __VA_ARGS__)
445 #define VSHF_B2_SH(...) VSHF_B2(v8i16, __VA_ARGS__)
455 out0 = (RTYPE)__msa_vshf_h((v8i16)mask0, (v8i16)in1, (v8i16)in0); \
456 out1 = (RTYPE)__msa_vshf_h((v8i16)mask1, (v8i16)in3, (v8i16)in2); \
459 #define VSHF_H2_SH(...) VSHF_H2(v8i16, __VA_ARGS__)
475 #define DOTP_SB2_SH(...) DOTP_SB2(v8i16, __VA_ARGS__)
488 out0 = (RTYPE)__msa_dotp_s_w((v8i16)mult0, (v8i16)cnst0); \
489 out1 = (RTYPE)__msa_dotp_s_w((v8i16)mult1, (v8i16)cnst1); \
520 out0 = (RTYPE)__msa_dpadd_s_w((v4i32)out0, (v8i16)mult0, (v8i16)cnst0); \
521 out1 = (RTYPE)__msa_dpadd_s_w((v4i32)out1, (v8i16)mult1, (v8i16)cnst1); \
531 const v8i16 max_m = __msa_ldi_h(255); \
532 val = __msa_maxi_s_h((v8i16)val, 0); \
533 val = __msa_min_s_h(max_m, (v8i16)val); \
604 static WEBP_INLINE int32_t func_hadd_sh_s32(v8i16 in) { in func_hadd_sh_s32()
641 out0 = (RTYPE)__msa_hadd_s_w((v8i16)in0, (v8i16)in0); \
642 out1 = (RTYPE)__msa_hadd_s_w((v8i16)in1, (v8i16)in1); \
665 #define HSUB_UB2_SH(...) HSUB_UB2(v8i16, __VA_ARGS__)
719 #define ILVEV_B2_SH(...) ILVEV_B2(v8i16, __VA_ARGS__)
736 #define ILVOD_B2_SH(...) ILVOD_B2(v8i16, __VA_ARGS__)
747 out0 = (RTYPE)__msa_ilvev_h((v8i16)in1, (v8i16)in0); \
748 out1 = (RTYPE)__msa_ilvev_h((v8i16)in3, (v8i16)in2); \
752 #define ILVEV_H2_SH(...) ILVEV_H2(v8i16, __VA_ARGS__)
763 out0 = (RTYPE)__msa_ilvod_h((v8i16)in1, (v8i16)in0); \
764 out1 = (RTYPE)__msa_ilvod_h((v8i16)in3, (v8i16)in2); \
768 #define ILVOD_H2_SH(...) ILVOD_H2(v8i16, __VA_ARGS__)
802 #define ILVEVOD_W2_SH(...) ILVEVOD_W2(v8i16, __VA_ARGS__)
815 out0 = (RTYPE)__msa_ilvev_h((v8i16)in1, (v8i16)in0); \
816 out1 = (RTYPE)__msa_ilvod_h((v8i16)in3, (v8i16)in2); \
820 #define ILVEVOD_H2_SH(...) ILVEVOD_H2(v8i16, __VA_ARGS__)
853 #define ILVL_B2_SH(...) ILVL_B2(v8i16, __VA_ARGS__)
870 #define ILVR_B2_SH(...) ILVR_B2(v8i16, __VA_ARGS__)
881 #define ILVR_B4_SH(...) ILVR_B4(v8i16, __VA_ARGS__)
892 out0 = (RTYPE)__msa_ilvr_h((v8i16)in0, (v8i16)in1); \
893 out1 = (RTYPE)__msa_ilvr_h((v8i16)in2, (v8i16)in3); \
896 #define ILVR_H2_SH(...) ILVR_H2(v8i16, __VA_ARGS__)
905 #define ILVR_H4_SH(...) ILVR_H4(v8i16, __VA_ARGS__)
921 #define ILVR_D2_SH(...) ILVR_D2(v8i16, __VA_ARGS__)
945 #define ILVRL_B2_SH(...) ILVRL_B2(v8i16, __VA_ARGS__)
949 out0 = (RTYPE)__msa_ilvr_h((v8i16)in0, (v8i16)in1); \
950 out1 = (RTYPE)__msa_ilvl_h((v8i16)in0, (v8i16)in1); \
954 #define ILVRL_H2_SH(...) ILVRL_H2(v8i16, __VA_ARGS__)
963 #define ILVRL_W2_SH(...) ILVRL_W2(v8i16, __VA_ARGS__)
981 #define PCKEV_B2_SH(...) PCKEV_B2(v8i16, __VA_ARGS__)
991 #define PCKEV_B4_SH(...) PCKEV_B4(v8i16, __VA_ARGS__)
1003 out0 = (RTYPE)__msa_pckev_h((v8i16)in0, (v8i16)in1); \
1004 out1 = (RTYPE)__msa_pckev_h((v8i16)in2, (v8i16)in3); \
1007 #define PCKEV_H2_SH(...) PCKEV_H2(v8i16, __VA_ARGS__)
1024 #define PCKEV_W2_SH(...) PCKEV_W2(v8i16, __VA_ARGS__)
1037 out0 = (RTYPE)__msa_pckod_h((v8i16)in0, (v8i16)in1); \
1038 out1 = (RTYPE)__msa_pckod_h((v8i16)in2, (v8i16)in3); \
1041 #define PCKOD_H2_SH(...) PCKOD_H2(v8i16, __VA_ARGS__)
1077 #define SRAI_H2_SH(...) SRAI_H2(v8i16, __VA_ARGS__)
1097 #define SRARI_W4_SH(...) SRARI_W4(v8i16, __VA_ARGS__)
1136 #define ADDVI_H2_SH(...) ADDVI_H2(v8i16, __VA_ARGS__)
1244 const v8i16 sign_m = __msa_clti_s_h((v8i16)in, 0); \
1245 out = (v4i32)__msa_ilvr_h(sign_m, (v8i16)in); \
1260 const v8i16 tmp_m = __msa_clti_s_h((v8i16)in, 0); \
1308 v8i16 tmp0_m, tmp1_m, tmp4_m, tmp5_m, tmp6_m, tmp7_m; \
1352 v8i16 inp0_m, inp1_m, res0_m, res1_m; \