Re: Loading single word to a xmm register
- From: Betov <betov@xxxxxxx>
- Date: 02 Mar 2006 20:42:10 GMT
"ldb" <ldb_nospam@xxxxxxxxxxx> écrivait news:1141325493.315218.245130
@i40g2000cwc.googlegroups.com:
You just miss the point that i do not care of speed.
And you know the reason why?... _I have it_!
No you don't.
???!!!...
If you aren't using SSE instructions, your code is slower
then mine.
??? As long as i have written an Assembler that compiles
1 Mega/Second on a Celron 1.3, i suppose that you have
written one that Compiles 1.5 Megas/Second. Didn't you?
If
I love this "If"...
I write a program to do jpeg compression of a video
stream, and I use SSE instructions, I will likely be able to attain
twice the framerate you can...
You are right on this point. There are special cases when
Code-Level Optimizations are _necessary_. Such cases are
extreemely few, and your example is a very traditional good
one.
Mind you, dispiting what i say, if i had, say, to implement
a Reverb effect in some sound engine, i would _of course_
optimize the Routine at the Code Level intensively, and there
is no contradition, with this. The general rule, for all the
everydays works is that Code Level Optimization is nothing
but ridiculous, and the demonstration that the Program
prganization is absurd. There are simply _exeptions_ to
the general rule.
and I'd write most of my code in a HLL.
Guess why this is not a surprise to me... :)
Being "fast enough" depends entirely on the application. If you aren't
using SSE instructions for numeric loops, your code will always be
slower.
Feel free to play with this if you like, instead of
understanding the reason why you need it, but your
ideas are very typical of an HLLers, who does not
understand what he is doing, what can never be the
case of an Assembly Programmer.
Betov.
< http://rosasm.org >
.
- Follow-Ups:
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- From: ldb
- Re: Loading single word to a xmm register
- References:
- Re: Loading single word to a xmm register
- From: Frank Kotler
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- From: Frank Kotler
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- From: Frank Kotler
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- From: Betov
- Re: Loading single word to a xmm register
- From: ldb
- Re: Loading single word to a xmm register
- From: Betov
- Re: Loading single word to a xmm register
- From: ldb
- Re: Loading single word to a xmm register
- Prev by Date: Re: Ideal computer language from scratch?
- Next by Date: Re: Loading single word to a xmm register
- Previous by thread: Re: Loading single word to a xmm register
- Next by thread: Re: Loading single word to a xmm register
- Index(es):
Relevant Pages
|