Out of curiosity I was googling for mmx & sse info and stumbled upon: http://www.tommesani.com He has a program to aid development of mmx/sse optimizations. Has anybody here used it? If so, any opinions about it? Best regards, Marcus
On Thu, Dec 22, 2005 at 12:40:13AM +0100, Marcus Engene wrote:
Out of curiosity I was googling for mmx & sse info and stumbled upon: http://www.tommesani.com He has a program to aid development of mmx/sse optimizations.
"aid"....
Has anybody here used it? If so, any opinions about it?
no and i doubt anyone will, judging from the way the page promotes it. btw are you a spammer associated with the person who wrote this crap and trying to promote it to us? if so you picked the wrong target audience... rich
Rich Felker wrote:
On Thu, Dec 22, 2005 at 12:40:13AM +0100, Marcus Engene wrote:
Out of curiosity I was googling for mmx & sse info and stumbled upon: http://www.tommesani.com He has a program to aid development of mmx/sse optimizations.
"aid"....
Has anybody here used it? If so, any opinions about it?
no and i doubt anyone will, judging from the way the page promotes it. btw are you a spammer associated with the person who wrote this crap and trying to promote it to us? if so you picked the wrong target audience...
rich
If you havent tried it, why call it crap? I havent tried it either, but I have found the doc on MMX and SSE available on this site quite valuable. (Once you have an idea of the name for some of the ops you need for a particular purpose, web searches often direct you straight to a page with useable code!) -- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
Michel Bardiaux wrote:
Rich Felker wrote:
On Thu, Dec 22, 2005 at 12:40:13AM +0100, Marcus Engene wrote:
Out of curiosity I was googling for mmx & sse info and stumbled upon: http://www.tommesani.com He has a program to aid development of mmx/sse optimizations.
"aid"....
Has anybody here used it? If so, any opinions about it?
no and i doubt anyone will, judging from the way the page promotes it. btw are you a spammer associated with the person who wrote this crap and trying to promote it to us? if so you picked the wrong target audience...
rich
If you havent tried it, why call it crap? I havent tried it either, but I have found the doc on MMX and SSE available on this site quite valuable. (Once you have an idea of the name for some of the ops you need for a particular purpose, web searches often direct you straight to a page with useable code!)
Well, modulo Rich's inimitable style ;-) I was going to say pretty much the same thing. Looks to me like this is a pretty thin wrapper around MMX/SSE that is supposed to make it look a little less intimidating. Quoting from the website: "Quexal supports the Microsoft Visual C++, Borland C++ Builder and Borland Delphi compilers" "Ordering Quexal is only 59$" Hm... this is going to be really popular with the ffmpeg-devel crowd... ;-) Martin -- Martin B?hme Inst. f. Neuro- and Bioinformatics Ratzeburger Allee 160, D-23538 Luebeck Phone: +49 451 500 5814 Fax: +49 451 500 5502 boehme at inb.uni-luebeck.de
Martin Boehme wrote:
Michel Bardiaux wrote:
If you havent tried it, why call it crap? I havent tried it either, but I have found the doc on MMX and SSE available on this site quite valuable. (Once you have an idea of the name for some of the ops you need for a particular purpose, web searches often direct you straight to a page with useable code!)
Well, modulo Rich's inimitable style ;-)
I'd say being "inimitable" is a good thing in this case.
I was going to say pretty much the same thing. Looks to me like this is a pretty thin wrapper around MMX/SSE that is supposed to make it look a little less intimidating.
Quoting from the website:
"Quexal supports the Microsoft Visual C++, Borland C++ Builder and Borland Delphi compilers"
"Ordering Quexal is only 59$"
Hm... this is going to be really popular with the ffmpeg-devel crowd... ;-)
Martin
Yes, I tried it a bit now. Going thru the tutorial gave me a good idea of what mmx is all about. It's seems like a no-brainer to teach my little pet watermark to do some mmx tricks. I'd recommend it to anyone interrested in trying out mmx/sse. The demo version is after all free. The documentation is a bit thin, but as Michel wrote, it's easy to google the mnemonics after having a starting point. Best regards, Marcus
Marcus Engene wrote:
Martin Boehme wrote:
Michel Bardiaux wrote:
If you havent tried it, why call it crap? I havent tried it either, but I have found the doc on MMX and SSE available on this site quite valuable. (Once you have an idea of the name for some of the ops you need for a particular purpose, web searches often direct you straight to a page with useable code!)
Well, modulo Rich's inimitable style ;-)
I'd say being "inimitable" is a good thing in this case.
Sure, I didn't mean to imply anything else... ;-)
Yes, I tried it a bit now. Going thru the tutorial gave me a good idea of what mmx is all about. It's seems like a no-brainer to teach my little pet watermark to do some mmx tricks.
I'd recommend it to anyone interrested in trying out mmx/sse. The demo version is after all free.
The documentation is a bit thin, but as Michel wrote, it's easy to google the mnemonics after having a starting point.
So you did find it helpful? What does it do, exactly, compared to coding MMX/SSE by hand? Martin -- Martin B?hme Inst. f. Neuro- and Bioinformatics Ratzeburger Allee 160, D-23538 Luebeck Phone: +49 451 500 5814 Fax: +49 451 500 5502 boehme at inb.uni-luebeck.de
Martin Boehme wrote:
Yes, I tried it a bit now. Going thru the tutorial gave me a good idea of what mmx is all about. It's seems like a no-brainer to teach my little pet watermark to do some mmx tricks.
I'd recommend it to anyone interrested in trying out mmx/sse. The demo version is after all free.
The documentation is a bit thin, but as Michel wrote, it's easy to google the mnemonics after having a starting point.
So you did find it helpful? What does it do, exactly, compared to coding MMX/SSE by hand?
It gave me an quick introduction to what it's all about by going through the tutorial and the manual. A teacher of a friend once said "you can only learn things you already know" which I later have come to realize how true that was. I have a grasp of it now so I know [a bit more] what to look for in the Intel docs and what it can do. Ie the same reason people buy O'Reilly books, to get a grasp, and then it's easier to read the RFCs. But I don't think I'll use the gui for actual coding. Even if the graphical timing thing did seem useful. Best regards, Marcus
Marcus Engene wrote:
Martin Boehme wrote:
Yes, I tried it a bit now. Going thru the tutorial gave me a good idea of what mmx is all about. It's seems like a no-brainer to teach my little pet watermark to do some mmx tricks.
I'd recommend it to anyone interrested in trying out mmx/sse. The demo version is after all free.
The documentation is a bit thin, but as Michel wrote, it's easy to google the mnemonics after having a starting point.
So you did find it helpful? What does it do, exactly, compared to coding MMX/SSE by hand?
It gave me an quick introduction to what it's all about by going through the tutorial and the manual. A teacher of a friend once said "you can only learn things you already know" which I later have come to realize how true that was. I have a grasp of it now so I know [a bit more] what to look for in the Intel docs and what it can do. Ie the same reason people buy O'Reilly books, to get a grasp, and then it's easier to read the RFCs.
OK, that makes sense... In that case, they're probably not going to make a lot of money off that product, though... Martin -- Martin B?hme Inst. f. Neuro- and Bioinformatics Ratzeburger Allee 160, D-23538 Luebeck Phone: +49 451 500 5814 Fax: +49 451 500 5502 boehme at inb.uni-luebeck.de
On Thu, Dec 22, 2005 at 10:17:06AM +0100, Michel Bardiaux wrote:
Rich Felker wrote:
On Thu, Dec 22, 2005 at 12:40:13AM +0100, Marcus Engene wrote:
Out of curiosity I was googling for mmx & sse info and stumbled upon: http://www.tommesani.com He has a program to aid development of mmx/sse optimizations.
"aid"....
Has anybody here used it? If so, any opinions about it?
no and i doubt anyone will, judging from the way the page promotes it. btw are you a spammer associated with the person who wrote this crap and trying to promote it to us? if so you picked the wrong target audience...
rich
If you havent tried it, why call it crap?
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.. ;) BTW it's also crap because it's non-free.
I havent tried it either, but I have found the doc on MMX and SSE available on this site quite valuable. (Once you have an idea of the name for some of the ops you need for a particular purpose, web searches often direct you straight to a page with useable code!)
That may be useful. GUI tools to 'help' newbies write asm are not useful. Rich
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.
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. -- -Mike Melanson
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.
You're not alone, half of me is with you: I havent tried the tool, so I take the only scientifically valid attitude: I am neither for nor against it.
BTW it's also crap because it's non-free.
So get to work on 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.
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
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
Hi, On 12/22/05, Rich Felker <dalias at aerifal.cx> wrote:
On Thu, Dec 22, 2005 at 10:17:32AM -0800, Mike Melanson wrote:
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.
Well, just like when using high level languages, it's all a matter of how much dev time your are willing to trade against code speed (and platform-independent). It's sometimes not worth spending so much time writing Da Best asm code... Guillaume -- Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov (1920 - 1992) MPlayer's doc is offline. Find some fresh one here: http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/ http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/
Guillaume POIRIER wrote:
Well, just like when using high level languages, it's all a matter of how much dev time your are willing to trade against code speed (and platform-independent). It's sometimes not worth spending so much time writing Da Best asm code...
Well stated. IOW, it's all a matter of trade-offs. Felker doesn't understand trade-offs. He is always in search of the perfect solution (which does not exist). -- -Mike Melanson
On Thu, Dec 22, 2005 at 02:22:00PM -0800, Mike Melanson wrote:
Guillaume POIRIER wrote:
Well, just like when using high level languages, it's all a matter of how much dev time your are willing to trade against code speed (and platform-independent). It's sometimes not worth spending so much time writing Da Best asm code...
Well stated. IOW, it's all a matter of trade-offs. Felker doesn't understand trade-offs. He is always in search of the perfect solution (which does not exist).
I understand tradeoffs perfectly well, and that they make your code worse. If you have slow C code, someone will eventually write good asm to replace it. If you have half-ass mmx code that people already perceive as being fast, no one will even optimize it properly. Same thing goes for free and non-free (if you have almost-free crap no one will ever bother to write real free version), etc. Compromise is the situation in which everyone loses. Seeing it as the situation where everyone wins is naive. Rich
Rich Felker wrote:
I understand tradeoffs perfectly well, and that they make your code worse. If you have slow C code, someone will eventually write good asm to replace it. If you have half-ass mmx code that people already perceive as being fast, no one will even optimize it properly.
Same thing goes for free and non-free (if you have almost-free crap no one will ever bother to write real free version), etc. Compromise is the situation in which everyone loses. Seeing it as the situation where everyone wins is naive.
No wonder we don't let you write any code. -- -Mike Melanson
Rich Felker wrote:
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.
Prove it on non flawed SIMD and non flawed CC. I'm quite sure nobody will get a schedule right for each cpu. The problem is that gcc + mmx_intrinsics == boom ... lu -- Luca Barbato Gentoo/linux Developer Gentoo/PPC Operational Leader http://dev.gentoo.org/~lu_zero
On Fri, Dec 23, 2005 at 08:38:42AM +0100, Luca Barbato wrote:
Rich Felker wrote:
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.
Prove it on non flawed SIMD and non flawed CC. I'm quite sure nobody
There is no such thing as non-flawed gcc. Look at all of Michael's tests showing gcc generating shit code where the correct code is totally obvious. If you're volunteering to write a new compiler that's free and doesn't suck then you're entitled to talk trash like this ("prove it!" ...) otherwise STFU. :) Rich
participants (7)
-
boehme@inb.uni-luebeck.de -
dalias@aerifal.cx -
ffmpeg@engene.se -
lu_zero@gentoo.org -
mbardiaux@mediaxim.be -
mike@multimedia.cx -
poirierg@gmail.com