Browse code

PPC and x86 support aligning variables on stack

Originally committed as revision 21865 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/02/18 05:36:15
Showing 1 changed files
... ...
@@ -2388,6 +2388,8 @@ elif enabled mips; then
2388 2388
 
2389 2389
 elif enabled ppc; then
2390 2390
 
2391
+    enable local_aligned_8 local_aligned_16
2392
+
2391 2393
     check_asm dcbzl     '"dcbzl 0, 1"'
2392 2394
     check_asm ppc4xx    '"maclhw r10, r11, r12"'
2393 2395
     check_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
... ...
@@ -2422,6 +2424,8 @@ elif enabled sparc; then
2422 2422
 
2423 2423
 elif enabled x86; then
2424 2424
 
2425
+    enable local_aligned_8 local_aligned_16
2426
+
2425 2427
     # check whether EBP is available on x86
2426 2428
     # As 'i' is stored on the stack, this program will crash
2427 2429
     # if the base pointer is used to access it because the