diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.S b/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.S index 6713b28695..98ce3899a5 100644 --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.S +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.S @@ -27,7 +27,8 @@ GLOBAL_LABEL WebRtcIsacfix_kSinTab2 DEFINE_FUNCTION WebRtcIsacfix_Time2SpecNeon .align 2 - push {r4-r11,lr} + push {r3-r11,lr} @ need to push r4-r11, but push r3 too to keep + @ stack 8-byte aligned sub sp, sp, #(16 + FRAMESAMPLES * 4) str r0, [sp] @ inre1Q9 @@ -227,7 +228,7 @@ Time2Spec_PostFftTransform: bgt Time2Spec_PostFftTransform add sp, sp, #(16 + FRAMESAMPLES * 4) - pop {r4-r11,pc} + pop {r3-r11,pc} .align 8 @ Cosine table 1 in Q14 @@ -328,7 +329,8 @@ _WebRtcIsacfix_kSinTab1: @ Label for iOS DEFINE_FUNCTION WebRtcIsacfix_Spec2TimeNeon .align 2 - push {r4-r11,lr} + push {r3-r11,lr} @ need to push r4-r11, but push r3 too to keep + @ stack 8-byte aligned sub sp, sp, #16 str r0, [sp] @ inreQ7 @@ -640,4 +642,4 @@ DemodulateAndSeparate: bgt DemodulateAndSeparate add sp, sp, #16 - pop {r4-r11,pc} + pop {r3-r11,pc}