[Ffmpeg-devel] [PATCH] Fixes for Darwin/x86

Michael Niedermayer michaelni
Tue Feb 7 12:52:49 CET 2006


Hi

On Tue, Feb 07, 2006 at 12:05:32PM +0100, Dan Villiom Podlaski Christiansen wrote:
[...]
> >>+#ifdef __APPLE__
> >>+/* Special case for Darwin/x86 */
> >>+#define ASMALIGN() ".align 3 \n\t"
> >>+#define ASMALIGN16() ".align 4 \n\t"
> >>+#else
> >>+#define ASMALIGN() ".balign 8 \n\t"
> >>+#define ASMALIGN16() ".balign 16 \n\t"
> >>+#endif
> >>+
> >>+#define JUMPALIGN() __asm __volatile (ASMALIGN()::)
> >>+#define JUMPALIGN16() __asm __volatile (ASMALIGN16()::)
> >>+
> >> /*
> >>  * The type of an value that fits in an MMX register (note that long
> >>  * long constant values MUST be suffixed by LL and unsigned long  
> >>long
> >
> >*ALIGN* isnt mmx specific so doesnt belong in mmx.h
> 
> However, AFAICT it is only used in code that requires MMX. Which  
> header would you rather have it in?

dsputil.h, its not even x86 specific!

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list