Commit bf60da6c authored by Martin Storsjö's avatar Martin Storsjö
Browse files

arm: itx: Add missing/fix conditions around loading eob threshold value

This makes these instances consistent with the rest of similar cases.
parent 0940cb34
......@@ -3201,7 +3201,9 @@ function inv_txfm_add_dct_dct_32x64_8bpc_neon, export=1
mov r8, #(32 - \i)
cmp r3, r11
blt 1f
.if \i < 28
ldrh r11, [r10], #2
.endif
.endif
add r7, r2, #(\i*2)
mov r8, #32*2
......@@ -3257,7 +3259,7 @@ function inv_txfm_add_dct_dct_64x16_8bpc_neon, export=1
add r6, r4, #(\i*64*2)
mov r9, #-2 // shift
bl inv_txfm_horz_dct_64x4_neon
.if \i < 8
.if \i < 12
ldrh r11, [r10], #2
.endif
.endr
......@@ -3306,7 +3308,9 @@ function inv_txfm_add_dct_dct_16x64_8bpc_neon, export=1
mov r8, #(32 - \i)
cmp r3, r11
blt 1f
.if \i < 28
ldrh r11, [r10], #2
.endif
.endif
add r7, r2, #(\i*2)
mov r8, #32*2
......
......@@ -3126,7 +3126,9 @@ function inv_txfm_add_dct_dct_32x64_8bpc_neon, export=1
mov w8, #(32 - \i)
cmp w3, w12
b.lt 1f
.if \i < 24
ldrh w12, [x13], #2
.endif
.endif
add x7, x2, #(\i*2)
mov x8, #32*2
......@@ -3231,7 +3233,9 @@ function inv_txfm_add_dct_dct_16x64_8bpc_neon, export=1
mov w8, #(32 - \i)
cmp w3, w12
b.lt 1f
.if \i < 24
ldrh w12, [x13], #2
.endif
.endif
add x7, x2, #(\i*2)
mov x8, #32*2
......
......@@ -2602,7 +2602,9 @@ function inv_txfm_add_dct_dct_32x16_16bpc_neon, export=1
mov w8, #(16 - \i)
cmp w3, w12
b.lt 1f
.if \i < 12
ldrh w12, [x13], #2
.endif
.endif
mov x8, #4*16
bl inv_txfm_horz_scale_dct_32x4_neon
......@@ -3414,7 +3416,9 @@ function inv_txfm_add_dct_dct_16x64_16bpc_neon, export=1
mov w8, #(32 - \i)
cmp w3, w12
b.lt 1f
.if \i < 28
ldrh w12, [x13], #2
.endif
.endif
add x7, x2, #(\i*4)
mov x8, #32*4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment