]> git.videolan.org Git - x264.git/commit
x86inc: Support arbitrary stack alignments
authorHenrik Gramner <henrik@gramner.com>
Sun, 9 Feb 2014 22:58:04 +0000 (23:58 +0100)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 12 Mar 2014 04:11:04 +0000 (21:11 -0700)
commitd978dc08d74fec35cb11008865ef292f8745a1a3
tree3f1d115cfecd796b99b4410b30a6afaa64902c5c
parentc7a7cc36958d663c4d32710f49ee3ea4b89749a4
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