Skip to content
Snippets Groups Projects
Commit e6a0c354 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

PPC and x86 support aligning variables on stack

Originally committed as revision 21865 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d96cd429
No related branches found
No related tags found
No related merge requests found
...@@ -2388,6 +2388,8 @@ elif enabled mips; then ...@@ -2388,6 +2388,8 @@ elif enabled mips; then
elif enabled ppc; then elif enabled ppc; then
enable local_aligned_8 local_aligned_16
check_asm dcbzl '"dcbzl 0, 1"' check_asm dcbzl '"dcbzl 0, 1"'
check_asm ppc4xx '"maclhw r10, r11, r12"' check_asm ppc4xx '"maclhw r10, r11, r12"'
check_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)' check_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
...@@ -2422,6 +2424,8 @@ elif enabled sparc; then ...@@ -2422,6 +2424,8 @@ elif enabled sparc; then
elif enabled x86; then elif enabled x86; then
enable local_aligned_8 local_aligned_16
# check whether EBP is available on x86 # check whether EBP is available on x86
# As 'i' is stored on the stack, this program will crash # As 'i' is stored on the stack, this program will crash
# if the base pointer is used to access it because the # if the base pointer is used to access it because the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment