Re: wondering what sized elements to use in arrays...
- From: robert spykerman <robspyke_nospam@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 20:13:35 +1000
On Wed, 27 Jul 2005 11:34:29 GMT,
stephenXXX@xxxxxxxxxxxxxxxxxxxxxxxxxx (Stephen Pelc) wrote:
>I suggest you try it doing something like:
> @ 1+ drop
>This will force code generation without introducing the block boundary
>condition - the stack shuffle may be the real cause. Also try the
>+IDATA compilation switch.
What I might do is sit down this weekend perhaps and see if I can
finish that darn program this weekend (yeah, right..) And then see
what you guys think.
>I can't remember the reason for the change, but the faster is likely
>to be the one left in! Instruction selection for a P4 is non-obvious,
^^^^^^^^^^^
I am assuming that faster is the case! Yes, I seem to be discovering
all the time things that appear obvious are sometimes are not.
Heck, I didn't even know about the NOP 'paragraph' padding till I saw
your latest code, but it seems that makes a big difference to
branches.... That's why it's there isn't it?
It does make the machine code bulkier (and I have to say aesthetically
uglier) but it does run faster.
>and the differences between AMD and Intel CPUs are occasionally
>significant. At present we have P4s on the development boxes, but
>the next one will be AMD. For some reason, our local box supplier
>is currently only shipping Intel.
You mean like Dell? <grin>
And Intel's apparent leanings towards Pentium M may make that
something to look at as well, although I suspect they may not be all
that different to writing for PIII's.
Well, won't waste more time on usenet for now, got to go fix a few
bugs... Cheers
Rob
.
- References:
- wondering what sized elements to use in arrays...
- From: robert spykerman
- Re: wondering what sized elements to use in arrays...
- From: Stephen Pelc
- Re: wondering what sized elements to use in arrays...
- From: robert spykerman
- Re: wondering what sized elements to use in arrays...
- From: Stephen Pelc
- wondering what sized elements to use in arrays...
- Prev by Date: Re: Local variables controversial?
- Next by Date: Re: Local variables controversial?
- Previous by thread: Re: wondering what sized elements to use in arrays...
- Next by thread: Re: wondering what sized elements to use in arrays...
- Index(es):
Relevant Pages
|