[FFmpeg-devel] Stack variables alignment check in libavcodec/dsputil.c

Ramiro Ribeiro Polla ramiro
Sun Aug 12 19:06:50 CEST 2007


Zuxy Meng wrote:
> Hi,
>
> 2007/8/12, Ramiro Polla <ramiro at lisha.ufsc.br>:
>   

[...]

>> Index: configure
>> ===================================================================
>> --- configure   (revision 10074)
>> +++ configure   (working copy)
>> @@ -139,6 +139,8 @@
>>   echo "  --disable-ffplay         disable ffplay build"
>>   echo "  --enable-small           optimize for size instead of speed"
>>   echo "  --enable-memalign-hack   emulate memalign, interferes with memory debuggers"
>> +  echo "  --enable-force-align     force stack alignment for certain functions"
>> +  echo "                           unneeded for sane systems. (requires gcc >= 4.2)"
>>     
>
> Well, actually the original x86 ABI said nothing about stack alignment
> more than a dword (32 bits) and it's really not a matter of being sane
> or insane....
>
>   

Sorry. I read too many archived flame wars this past week, and my mind 
has been polluted by Mans and Rich...

Ramiro Polla




More information about the ffmpeg-devel mailing list