diff options
author | Henrik Gramner <henrik@gramner.com> | 2015-08-01 18:27:32 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-08-11 12:04:11 +0300 |
commit | 9f1245eb9620a70feaa00ba745c6c7a56a839556 (patch) | |
tree | 0ccddf8c3064685a8add0e2c598bf770ea0e8d44 /libavcodec | |
parent | 8c75ba55a4367c854b577c849ea2195bd78c4c81 (diff) |
x86inc: Support arbitrary stack alignments
Change ALLOC_STACK to always align the stack before allocating stack space for
consistency. Previously alignment would occur either before or after allocating
stack space depending on whether manual alignment was required or not.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/h264_deblock.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/h264_deblock.asm b/libavcodec/x86/h264_deblock.asm index d2067c86e7..33fd5a9dd7 100644 --- a/libavcodec/x86/h264_deblock.asm +++ b/libavcodec/x86/h264_deblock.asm @@ -444,13 +444,13 @@ cglobal deblock_%1_luma_8, 5,5,8,2*%2 ; int8_t *tc0) ;----------------------------------------------------------------------------- INIT_MMX cpuname -cglobal deblock_h_luma_8, 0,5,8,0x60+HAVE_ALIGNED_STACK*12 +cglobal deblock_h_luma_8, 0,5,8,0x60+12 mov r0, r0mp mov r3, r1m lea r4, [r3*3] sub r0, 4 lea r1, [r0+r4] -%define pix_tmp esp+12*HAVE_ALIGNED_STACK +%define pix_tmp esp+12 ; transpose 6x16 -> tmp space TRANSPOSE6x8_MEM PASS8ROWS(r0, r1, r3, r4), pix_tmp |