From: danpop@afsmail.cern.ch (Dan Pop)
Subject: Re: char access is not so fast (:-<)
Date: 1995/05/02 [thread overview]
Message-ID: <danpop.799413227@rscernix> (raw)
In-Reply-To: KUGE.95May2125112@k1ss.strl.nhk.or.jp
In <KUGE.95May2125112@k1ss.strl.nhk.or.jp> kuge@strl.nhk.or.jp (Tetsuro KUGE) writes:
>Hi, speedsters (^^;),
>
>It is seemed the access to char *array on Alpha CPU
>is NOT so faster than the "slower" chips of Sparc etc.
>
>On the Alpha server 4/275 with OSF/1 V.3.0B,
>the cc opitons -O* does not improve the situation (:-<).
>
>Is it my misunderstanding ?
It's not your misunderstanding, it's the Alpha architecture not being
able to access bytes. The only data sizes that can be directly accessed
by Alpha are 32 and 64 bit. For characters and short int's there is a
certain overhead, as the accesses have to be implemented in software (with
more than one instruction :-)
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@afsmail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
next prev parent reply other threads:[~1995-05-02 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-02 4:00 char access is not so fast (:-<) Tetsuro KUGE
1995-05-02 4:00 ` Dan Pop [this message]
1995-05-05 4:00 ` Fred Kleinsorge
1995-05-02 4:00 ` Stephen Hoffman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox