diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2022-10-09 22:17:47 +0300 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2022-10-11 10:12:02 +0300 |
commit | 38cd829dce7184400c944ead299a11e57c8ec7f8 (patch) | |
tree | 1003ec1a6835e3aa61dd47aca9af74e9de7750c3 /libavcodec/aarch64/h264idct_neon.S | |
parent | e10e27a2ead8848648b29a1b397cc240206e9c3d (diff) |
aarch64: Implement stack spilling in a consistent way.
Currently it is done in several different ways, which
might cause needless dependencies or in case of
tx_float_neon.S is incorrect.
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/aarch64/h264idct_neon.S')
-rw-r--r-- | libavcodec/aarch64/h264idct_neon.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/aarch64/h264idct_neon.S b/libavcodec/aarch64/h264idct_neon.S index 7d2879b0ce..375da31d65 100644 --- a/libavcodec/aarch64/h264idct_neon.S +++ b/libavcodec/aarch64/h264idct_neon.S @@ -157,8 +157,7 @@ function ff_h264_idct_add16intra_neon, export=1 endfunc function ff_h264_idct_add8_neon, export=1 - sub sp, sp, #0x40 - stp x19, x20, [sp] + stp x19, x20, [sp, #-0x40]! mov x12, x30 ldp x6, x15, [x0] // dest[0], dest[1] add x5, x1, #16*4 // block_offset @@ -187,8 +186,7 @@ function ff_h264_idct_add8_neon, export=1 csel x6, x15, x6, eq cmp x10, #20 b.lt 1b - ldp x19, x20, [sp] - add sp, sp, #0x40 + ldp x19, x20, [sp], #0x40 ret x12 endfunc |