diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S index c5ac99b859..ec68a042d1 100644 --- a/libavutil/riscv/asm.S +++ b/libavutil/riscv/asm.S @@ -86,6 +86,12 @@ .endm .endm +#if !defined (__riscv_zicfilp) + .macro lpad lpl + auipc zero, \lpl + .endm +#endif + #if defined (__riscv_v_elen) # define RV_V_ELEN __riscv_v_elen #else