diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S index 2daac59242..d2d9677fd8 100644 --- a/libavcodec/arm/asm.S +++ b/libavcodec/arm/asm.S @@ -119,6 +119,12 @@ T sub \rn, \rn, \rm T ldr \rt, [\rn] .endm +.macro ldr_dpren rt, rn, rm:vararg +A ldr \rt, [\rn, -\rm] +T sub \rt, \rn, \rm +T ldr \rt, [\rt] +.endm + .macro ldr_post rt, rn, rm:vararg A ldr \rt, [\rn], \rm T ldr \rt, [\rn]