]> git.sesse.net Git - x264/commit
x86inc: Support arbitrary stack alignments
authorHenrik Gramner <henrik@gramner.com>
Sun, 9 Feb 2014 22:58:04 +0000 (23:58 +0100)
committerFiona Glaser <fiona@x264.com>
Wed, 12 Mar 2014 04:11:04 +0000 (21:11 -0700)
commit7c860f075ccd14fb7891d5fc6c9eab1a37ea555d
tree21cf7696dfa5b41b54b8c65de97cdaec668b18bc
parent039fab9203179f9e790abfd54ae5b2254ef803e7
x86inc: Support arbitrary stack alignments

If the stack is known to be at least 32-byte aligned we can safely store ymm
registers on the stack without doing manual alignment.

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.
common/cpu.c
common/cpu.h
common/osdep.h
common/x86/deblock-a.asm
common/x86/x86inc.asm
configure
tools/checkasm.c