Mercurial > libavcodec.hg
diff i386/dsputil_mmx_avg.h @ 3576:f7125bf10892 libavcodec
Support for MacIntel, last part: balign directives
Determines whether .align's arg is power-of-two or not, then defines ASMALIGN appropriately in config.h. Changes all .baligns to ASMALIGNs.
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 11, 2006 8:00 AM
Subject: Re: [Ffmpeg-devel] Mac OS X Intel last part: balign directives
author | gpoirier |
---|---|
date | Sat, 12 Aug 2006 16:37:31 +0000 |
parents | 0b546eab515d |
children | 6a40092eb9e6 |
line wrap: on
line diff
--- a/i386/dsputil_mmx_avg.h Sat Aug 12 16:31:17 2006 +0000 +++ b/i386/dsputil_mmx_avg.h Sat Aug 12 16:37:31 2006 +0000 @@ -754,7 +754,7 @@ "lea (%3, %3), %%"REG_a" \n\t" "movq (%1), %%mm0 \n\t" PAVGB" 1(%1), %%mm0 \n\t" - ".balign 8 \n\t" + ASMALIGN(3) "1: \n\t" "movq (%1, %%"REG_a"), %%mm2 \n\t" "movq (%1, %3), %%mm1 \n\t"