comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Expected bytes per sloc (semicolons) performance
Date: 19 Sep 2001 03:13:03 -0700
Date: 2001-09-19T10:13:03+00:00	[thread overview]
Message-ID: <5ee5b646.0109190213.1092dc91@posting.google.com> (raw)
In-Reply-To: _hRp7.7630$ot.1153235@typhoon.ne.mediaone.net

"Jeff Creem" <jeff@thecreems.com> wrote in message news:<_hRp7.7630$ot.1153235@typhoon.ne.mediaone.net>...
> As for RISC/CISC.... One sometimes ends up with slightly larger code on a
> RISC than
> CISC machine but this probably has almost as much to do with mandatory nops,
>  missed delayed branch opportunities and alignment requirements as it does
> with
> the straight RISC/CISC issues.

This is a misleading assessment. First of all most modern
RISC machines do not have mandatory nops etc, so you are
really talking about old style architectures here.

Second, these days CISC in practice means ia32 (and we
now include x86-64) and the code for this architecture 
is significantly more compact, not just slightly. And
the reasons are not the ones you gave above, but rather
that this architecture has many short instructions, e.g.
normal references to the local frame are 2-byte instructions instead
of 4-bytes, as are most conditional
jumps and normal register/register arithmetic. This can
add up to a big and significant difference, which can
translate into significant icache advantages. This is one
of the reasons that this architecture does "better than
expected" when compared to RISC designs.



  reply	other threads:[~2001-09-19 10:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-18 22:03 Expected bytes per sloc (semicolons) performance Mike Harrison
2001-09-19  0:04 ` Jeff Creem
2001-09-19 10:13   ` Robert Dewar [this message]
2001-09-20  0:43     ` David B. Littell
2001-09-20 11:28       ` Steffen Huber
2001-09-20 13:10         ` Tarjei T. Jensen
2001-09-22 14:36           ` David B. Littell
2001-09-20 19:15   ` Mike Harrison
2001-09-21 14:02     ` Stephen Leake
2001-09-21 15:30       ` Mats Weber
2001-09-21 18:00         ` default
2001-09-24 17:03           ` Stephen Leake
2001-09-25 23:00             ` default
2001-09-25 16:08         ` tmoran
2001-09-25 16:44           ` Wes Groleau
2001-09-25 20:51             ` tmoran
2001-09-25 20:32           ` Stephen Leake
2001-09-25 21:04             ` Marin David Condic
2001-09-26 15:19               ` Stephen Leake
2001-09-26 16:58                 ` Marin David Condic
2001-09-21 16:22     ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox