summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-02-17 20:36:15 +0000
committerMåns Rullgård <mans@mansr.com>2010-02-17 20:36:15 +0000
commite6a0c3540d3451b162e624905ef5e212f77a4fee (patch)
tree7eb0307f76f940fdf06fe9a0d8b72d4a248c96ce
parentd96cd42969964f2b86949e89c0ba138465646bf3 (diff)
PPC and x86 support aligning variables on stack
Originally committed as revision 21865 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 96890264fc..1cd773a5c2 100755
--- a/configure
+++ b/configure
@@ -2388,6 +2388,8 @@ elif enabled mips; then
elif enabled ppc; then
+ enable local_aligned_8 local_aligned_16
+
check_asm dcbzl '"dcbzl 0, 1"'
check_asm ppc4xx '"maclhw r10, r11, r12"'
check_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
@@ -2422,6 +2424,8 @@ elif enabled sparc; then
elif enabled x86; then
+ enable local_aligned_8 local_aligned_16
+
# check whether EBP is available on x86
# As 'i' is stored on the stack, this program will crash
# if the base pointer is used to access it because the