aboutsummaryrefslogtreecommitdiff
path: root/common/arm/ihevc_intra_pred_luma_mode2.s
diff options
context:
space:
mode:
Diffstat (limited to 'common/arm/ihevc_intra_pred_luma_mode2.s')
-rw-r--r--common/arm/ihevc_intra_pred_luma_mode2.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/arm/ihevc_intra_pred_luma_mode2.s b/common/arm/ihevc_intra_pred_luma_mode2.s
index cf7999b..935f02d 100644
--- a/common/arm/ihevc_intra_pred_luma_mode2.s
+++ b/common/arm/ihevc_intra_pred_luma_mode2.s
@@ -87,11 +87,13 @@
@r2 => *pu1_dst
@r3 => dst_strd
-@stack contents from #40
+@stack contents from #104
@ nt
@ mode
@ pi1_coeff
+.equ nt_offset, 104
+
.text
.align 4
@@ -105,8 +107,8 @@
ihevc_intra_pred_luma_mode2_a9q:
stmfd sp!, {r4-r12, r14} @stack stores the values of the arguments
-
- ldr r4,[sp,#40] @loads nt
+ vpush {d8 - d15}
+ ldr r4,[sp,#nt_offset] @loads nt
mov r8,#-2
cmp r4,#4
@@ -260,6 +262,7 @@ mode2_4:
vst1.32 {d7[0]},[r7]
end_func:
+ vpop {d8 - d15}
ldmfd sp!,{r4-r12,r15} @reload the registers from sp