Re: COMPARE HLL/ASM
- From: //\\\\o//\\\\annabee <w@xxxxxxxx>
- Date: Wed, 26 Dec 2007 02:55:03 +0100
På Tue, 25 Dec 2007 21:29:16 +0100, skrev Charles Crayne <ccrayne@xxxxxxxxxx>:
On Tue, 25 Dec 2007 18:13:01 +0100
"Wolfgang Kern" <nowhere@xxxxxxxx> wrote:
I think we've done something similar a few years ago.
Indeed we have. So let's try something a bit more modern this time:
1. The string encoding is UTF8.
2. The test strings will include non-ascii characters.
3. The routine is passed two parameters
A. A pointer to the UTF8 string
B. The physical length, in bytes, of the UTF8 string.
4. The routine must return the nu-mber of characters in the string.
-- Chuck
No. It should be more interessting. Optimizing insignificant tasks like that is 100% useless anyway. Second, after a few hours sleep I realize he raised a challange, and is setting all the groundrules, so that is a bit strange, and then Wolfgang came and spoiled the game.
For once in the history of codeoptimization, lets make it a worthy task. Its only fair that I be the one to select the weapon of choise, and I think it should be something involving, worthy the efforts.
First it should be a task for which there does not exist a stock solution...a problem that has not been subject to such optimization before. I mean Wolfgang pulled it straight out of his arsenal, that means its likly known to compilerauthours, and thats a good guess since the task of speeding up such a routine has little purpose whatsoever for allmost any thinkable scenario.
We need a problem for which there is no common known solution. I need some more sleep, and then I will start thinking about what problem could be a worthy fit.
I get back to you.
--
.
- References:
- Re: Is PSHUFW instruction MMX or SSE or SSE2? Is NASM manual correct?
- From: //\\\\o//\\\\annabee
- Re: Is PSHUFW instruction MMX or SSE or SSE2? Is NASM manual correct?
- From: santosh
- COMPARE HLL/ASM
- From: Wolfgang Kern
- Re: COMPARE HLL/ASM
- From: Charles Crayne
- Re: Is PSHUFW instruction MMX or SSE or SSE2? Is NASM manual correct?
- Prev by Date: asm grep
- Next by Date: Re: COMPARE HLL/ASM
- Previous by thread: Re: COMPARE HLL/ASM
- Next by thread: Re: COMPARE HLL/ASM
- Index(es):
Relevant Pages
|