From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,19ab04458779b99e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,d5991e208f8d5b5b X-Google-Attributes: gid102b75,public From: peter@nmti.com (Peter da Silva) Subject: Re: What is bitness? Date: 1998/06/10 Message-ID: <6lmrjs$n8a@web.nmti.com>#1/1 X-Deja-AN: 361483729 References: <6l5gh1$vjc$1@piglet.cc.uic.edu> <357CCEDA.F704766F@shore.net> <357E207E.E2ED8CB4@shore.net> Organization: Network/development platform support, NMTI Newsgroups: comp.arch,comp.sys.dec In article <357E207E.E2ED8CB4@shore.net>, Russell Sasamori wrote: > > > I'm not sure why nobody is pointing out the fact that the data bus of > > > the 21164 is 128 bits. > > > > Because if you begin to count bitness in a processor as the widest bus > > in the system, you end up with Pentium being 64 bit, which sort of makes > > a lot of the Merced hype pointless. > > > > OTOH, the bitness in 8086 and 8088, as well as 68000 (I think) and 68008 > > were to some extent counted as the width of the data bus. > > I agree that 8088 and 68008 were considered to be 8-bit processors.Even the > Intel Data book describes 8088 as an 8-bit processor. It depends on where you were looking at the processor from. >From the point of view of a programmer, the 68000 line (including the 68008) were all 32 bit CPUs and the 8086 family, prior to the 80386, were all 16 bit CPUs, because the programming model operated on 16 or 32 bit objects respectively. The data bus width was only a performance issue, and could generally be ignored apart from that. The address bus width limited the amount of RAM you could access, and it was limited by the width of the address registers, but otherwise had little effect on programming. Prior to the late '70s and early '80s, processors had traditionally had an ALU the same width as the data bus, and address registers somewhat wider than that: usually twice the width. (I believe there were some 8-bit micros with 12 or 13 address bits, but normally they were 16 bits wide. The 4004 was, of course, completely outside this taxonomy with its calculator-like memory model). So, before the 6809/68000 and the 8086 family you could refer to a processor by its data bus width and pretty much know what it looked like. An 8 bit processor had an 8 bit bus and up to 64k of RAM, a 16 bit processor had a 16 bit bus and 64k on up... larger 16-bit boxes like the PDP-11/70 had 24 bits of address space, with 16-bit address registers in user mode. But this mapping between the bus width and the size of the processor was artificial. It didn't really tell you anything except maybe to help you bound performance: you couldn't get more than x bits in or out of the CPU in a second. These days when you talk about the size of a processor, it's the width of the ALU you look at. A Pentium is a 32 bit CPU, not a 64 or 128 bit one. An Alpha is a 64 bit CPU, not a 43 or 128 or 256 bit one. And this is really a more useful way of looking at things. Why? Because it tells you what your limitations are going to be when you program it. Performance is too complex to be summed up by the clock rate or the bus width. But the programming model effects everything. So, the 68000 family are all 32-bit CPUs. The 8086/8088 through the 80286 are all 16-bit CPUs. The 80386 through the Pentium-II are all 32-bit CPUs with a 16-bit emulation mode. There are oddballs. The 1802 had 16-bit data and address registers but an 8-bit ALU. The 4004 (as noted) was not a general purpose computer. The 6809, I think, had a 16-bit ALU and a 16-bit address space. But in general the ALU is the key: data registers are ALU-sized, address registers are a small multiple of that (usually the same). The data bus, well, that depends on economics. The address bus? Up to the width of the address registers, though the 8086 segmentation scheme makes the term "address registers" a little nebulous. -- In hoc signo hack, Peter da Silva `-_-' "As the complexity of chips approaches the complexity of software. 'U` The behavior of chips approaches the behavior of software." -- John Ahlstrom