[Ffmpeg-devel] mmx/sse optimizations

Rich Felker dalias
Thu Dec 22 23:05:47 CET 2005


On Thu, Dec 22, 2005 at 10:17:32AM -0800, Mike Melanson wrote:
> Rich Felker wrote:
> >Because if I want to write asm I'll write asm directly. Using crap
> >like this to write asm is like using babelfish to write english.. ;)
> 
> 	I'll be the lone dissenting voice and state that this thing looks 
> 	like a rather interesting tool.
> 
> >BTW it's also crap because it's non-free.
> 
> 	So get to work on a free version.

I'm not the one who thinks it's cool. Someone who likes the idea can
write a free version.

> 
> >That may be useful. GUI tools to 'help' newbies write asm are not
> >useful.
> 
> 	SIMD code is a different beast than normal ASM. I think this tool 
> 	has its place. Perhaps another idea would be a tool that enables the user 
> to describe some kind of general algorithm with a set of SIMD-like 
> primitives. Then the tool decides what the equivalent code would look 
> like using different SIMD sets (MMX, SSE2, AltiVec) AND can output the 
> correct ASM syntax for use in gcc and MSVC.

Hmm, sounds a lot like vector intrinsics. IMO they're a trap that lead
to people making simd code that's 5-25% slower than handwritten asm.

Rich





More information about the ffmpeg-devel mailing list