Sujet : Re: technology discussion → does the world need a "new" C ?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 07. Jul 2024, 00:55:25
Autres entêtes
Organisation : None to speak of
Message-ID : <878qyeuo4i.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7
User-Agent : Gnus/5.13 (Gnus v5.13)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Fri, 05 Jul 2024 19:00:58 -0700, Keith Thompson wrote:
C assumes byte addressibility, but it doesn't assume that bytes are 8
bits.
The PDP-10 had 36-bit words and could operate on bit fields of any size
from 1 to 36 bits.
>
But it couldn’t address them.
There was a project to add PDP-10 support to GCC. It had CHAR_BIT==9.
I don't know any of the details.
http://pdp10.nocrew.org/gcc/Cray vector systems like the T90 have (had?) 64-bit words as the
smallest addressible unit. The C compilers emulated 8-bit byte
addressing in software.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */