Skip to content

riscv64/mc16: Keep blend and blend_v operations in 16-bits

Nathan E. Egge requested to merge unlord/dav1d:blend_vsmul into master
Kendryte K230                Before             After         Delta

blend_w4_16bpc_c:         210.5 ( 1.00x)    209.7 ( 1.00x)   -0.38%
blend_w4_16bpc_rvv:        67.2 ( 3.13x)     69.4 ( 3.02x)    3.27%
blend_w8_16bpc_c:         615.0 ( 1.00x)    614.2 ( 1.00x)   -0.13%
blend_w8_16bpc_rvv:       127.9 ( 4.81x)    111.1 ( 5.53x)  -13.14%
blend_w16_16bpc_c:       2372.7 ( 1.00x)   2373.9 ( 1.00x)    0.05%
blend_w16_16bpc_rvv:      415.2 ( 5.71x)    324.2 ( 7.32x)  -21.92%
blend_w32_16bpc_c:       6001.5 ( 1.00x)   6006.5 ( 1.00x)    0.08%
blend_w32_16bpc_rvv:     1032.5 ( 5.81x)    785.4 ( 7.65x)  -23.93%

blend_v_w2_16bpc_c:       226.2 ( 1.00x)    226.9 ( 1.00x)    0.31%
blend_v_w2_16bpc_rvv:     149.7 ( 1.51x)    154.0 ( 1.47x)    2.87%
blend_v_w4_16bpc_c:      1008.5 ( 1.00x)   1011.3 ( 1.00x)    0.28%
blend_v_w4_16bpc_rvv:     307.2 ( 3.28x)    305.1 ( 3.31x)   -0.68%
blend_v_w8_16bpc_c:      1874.2 ( 1.00x)   1879.5 ( 1.00x)    0.28%
blend_v_w8_16bpc_rvv:     440.4 ( 4.26x)    382.7 ( 4.91x)  -13.10%
blend_v_w16_16bpc_c:     3604.3 ( 1.00x)   3608.6 ( 1.00x)    0.12%
blend_v_w16_16bpc_rvv:    772.1 ( 4.67x)    564.6 ( 6.39x)  -26.87%
blend_v_w32_16bpc_c:     7041.9 ( 1.00x)   7008.2 ( 1.00x)   -0.48%
blend_v_w32_16bpc_rvv:   1463.3 ( 4.81x)   1038.3 ( 6.75x)  -29.04%

SpacemiT K1                  Before             After         Delta

blend_w4_16bpc_c:         207.7 ( 1.00x)    206.6 ( 1.00x)   -0.53%
blend_w4_16bpc_rvv:        65.9 ( 3.15x)     76.1 ( 2.72x)   15.48%
blend_w8_16bpc_c:         600.7 ( 1.00x)    599.9 ( 1.00x)   -0.13%
blend_w8_16bpc_rvv:       104.0 ( 5.78x)    115.6 ( 5.19x)   11.15%
blend_w16_16bpc_c:       2317.1 ( 1.00x)   2315.1 ( 1.00x)   -0.09%
blend_w16_16bpc_rvv:      266.6 ( 8.69x)    251.5 ( 9.21x)   -5.66%
blend_w32_16bpc_c:       5861.6 ( 1.00x)   5861.1 ( 1.00x)   -0.01%
blend_w32_16bpc_rvv:      594.7 ( 9.86x)    469.3 (12.49x)  -21.09%

blend_v_w2_16bpc_c:       220.5 ( 1.00x)    220.2 ( 1.00x)   -0.14%
blend_v_w2_16bpc_rvv:     148.7 ( 1.48x)    149.6 ( 1.47x)    0.61%
blend_v_w4_16bpc_c:       964.4 ( 1.00x)    962.8 ( 1.00x)   -0.17%
blend_v_w4_16bpc_rvv:     279.4 ( 3.45x)    282.9 ( 3.40x)    1.25%
blend_v_w8_16bpc_c:      1870.1 ( 1.00x)   1868.0 ( 1.00x)   -0.11%
blend_v_w8_16bpc_rvv:     430.0 ( 4.35x)    425.8 ( 4.39x)   -0.98%
blend_v_w16_16bpc_c:     3566.0 ( 1.00x)   3593.3 ( 1.00x)    0.77%
blend_v_w16_16bpc_rvv:    614.4 ( 5.80x)    591.1 ( 6.08x)   -3.79%
blend_v_w32_16bpc_c:     6783.6 ( 1.00x)   6756.6 ( 1.00x)   -0.40%
blend_v_w32_16bpc_rvv:    862.7 ( 7.86x)    727.3 ( 9.29x)  -15.69%

Merge request reports

Loading