delorie.com/archives/browse.cgi | search |
On Fri, Jan 31, 2014 at 05:14:33PM -0500, DJ Delorie wrote: > > > Basically today, all machines you can afford to buy ... have word > > sizes which are a power of 2, > > Ha! No. I've done a few GCC ports to microcontrollers with odd > register/pointer/whatever sizes. I'm in the middle of proposing a new > mechanism inside gcc to have target-defined not-power-of-two types, > too. Indeed true for microcontrollers (and I've seen your mails on the gcc list), but the ones I know with non power of 2 word sizes would never be able to run the Python interpreter. For the cases I know, and I don't claim that I know all processor families, the odd sizes are typically related to pointers (attempts to extend address space like the MSP430X). At least these machines have binary addressing scheme, unlike the Burroughs B2500 (porting GCC to it would be ... challenging). Gabriel
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |