From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public From: "Andy Glew" Subject: Re: Alpha in peril? First Canion, now Pfieffer (I do think so) Date: 1999/05/17 Message-ID: <7hp5if$11co$1@news.doit.wisc.edu>#1/1 X-Deja-AN: 478959534 References: <371AD875.407C6B83@igs.net> <7g4tng$5ue$1@nnrp1.dejanews.com> <7h7vnn$2ts$15@nntp.Stanford.EDU> <5l4sljqx5d.fsf@tequila.cs.yale.edu> <926495090.942894@haldjas.folklore.ee> <37396C9A.BD7A1D3B@hda.hydro.com> Organization: University of Wisconsin, Madison X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: comp.arch,comp.sys.dec >Yes, since even the PII/PII which has a very short load-to-use latency >needs 3 cycles per pointer to follow a chain (in L1 cache), the extra >addition can never add more than 33% to the running time, and as long as >you're actually doing something with the pointers, much less. Actually, based pointers have absolutely no overhead on processors with the appropriate addressing modes. Instead of while( p = p->next ) which looks something like eax := load( eax + next_field_offset ) eax := load( eax + next_field_offset ) ... you have eax := load( ebx + eax + next_field_offset ) eax := load( ebx + eax + next_field_offset ) ... where ebx is the base pointer.