Searched refs:DO_VAVG (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/loongarch/ |
H A D | vec.h | 35 #define DO_VAVG(a, b) ((a >> 1) + (b >> 1) + (a & b & 1)) macro
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | vec_helper.c | 361 DO_3OP(vavg_b, 8, B, DO_VAVG) 362 DO_3OP(vavg_h, 16, H, DO_VAVG) 363 DO_3OP(vavg_w, 32, W, DO_VAVG) 364 DO_3OP(vavg_d, 64, D, DO_VAVG) 369 DO_3OP(vavg_bu, 8, UB, DO_VAVG) 370 DO_3OP(vavg_hu, 16, UH, DO_VAVG) 371 DO_3OP(vavg_wu, 32, UW, DO_VAVG) 372 DO_3OP(vavg_du, 64, UD, DO_VAVG)
|