[FFmpeg-devel] [PATCH] HAVE_AMD3DNOW

Pavel Pavlov pavel
Tue Jun 9 03:39:48 CEST 2009


> -----Original Message-----
> On Mon, Jun 08, 2009 at 03:30:40PM -0400, Pavel Pavlov wrote:
> > Hello all,
> > Intel compiler on win32 doesn't support 3dnow in inline asm 
> > (unsupported
> 
> ahh, intels compiler supports their own but not the competing 
> SIMD how unexpected ...
> 
> iam against the #ifdefs, they are too messy to work around 
> intels dubious anticompetetive practices.

It's not about intel or not intel compiler.
I passed --disable 3dnow and I expect no 3dnow specific code.
icc (linux intel compiler) supports 3dnow inline asm in att style since
it passes it to gas; on win32 they have builtin assembler for att style
asm and it lacks some features.
It won't accept cltd (it requires CDQ instead), in some places it can't
accept add and requires addl etc.

If I run default configure it detects that 3dnow is supported. So, it
means that some opcodes are supported (if it tries to use 3dnow asm and
not cpudetect). But while building I had errors due to undefined asm
instructions, so I had to configure disable-3dnow and put some #if
HAVE_3DNOW
So, you think that if disable-3dnow specified 3dnow versions should
still be compiled in?
What's the purpose of disable-3dnow then (and all others like
disable-mmx, disable-sse etc)?



More information about the ffmpeg-devel mailing list