Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -33,11 +33,13 @@ · 32 unmodified lines | ||
| 33 | 33 | vmv.v.x v16, zero |
| 34 | 34 | vle8.v v8, (a3) |
| 35 | 35 | avgdc \size |
| 36 | −.elseif \type == left | |
| 36 | +.else | |
| 37 | +.ifc \type,left | |
| 37 | 38 | vmv.v.x v16, zero |
| 38 | 39 | vle8.v v8, (a2) |
| 39 | 40 | avgdc \size |
| 40 | −.elseif \type == dc | |
| 41 | +.else | |
| 42 | +.ifc \type,dc | |
| 41 | 43 | vmv.v.x v16, zero |
| 42 | 44 | vle8.v v8, (a2) |
| 43 | 45 | vwredsumu.vs v16, v8, v16 |
| @@ -46,6 +48,8 @@ · 2 unmodified lines | ||
| 46 | 48 | .else |
| 47 | 49 | li t1, \type |
| 48 | 50 | .endif |
| 51 | +.endif | |
| 52 | +.endif | |
| 49 | 53 | .endm |
| 50 | 54 | |
| 51 | 55 | .macro dc_e32 type size n restore |
| @@ -87,7 +91,7 @@ · 35 unmodified lines | ||
| 87 | 91 | |
| 88 | 92 | .macro func_dc name size type n restore ext |
| 89 | 93 | func ff_\()\name\()_\()\size\()x\size\()_rvv, \ext |
| 90 | −.ifc \size,8 | |
| 94 | +.if \size == 8 | |
| 91 | 95 | dc_e64 \type \size \n \restore |
| 92 | 96 | .else |
| 93 | 97 | dc_e32 \type \size \n \restore |