Xref: csiph.com comp.arch:29390 Newsgroups: comp.arch Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!kithrup.com!mrs From: mrs@kithrup.com (Mike Stump) Subject: Re: Four significant reasons for a 12X word size Message-ID: Date: Tue, 25 Aug 2015 22:43:59 GMT References: <95ba0003-95e2-4b06-837a-96b746634836@googlegroups.com> Organization: Kithrup Enterprises, Ld. X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Lines: 27 In article , Terje Mathisen wrote: >mrs@kithrup.com (Mike Stump) wrote: >> In article , >> EricP wrote: >>> You don't have to store the bit values contiguously. >>> For 12 bit chars you could have an array of 8 bit bytes at positive >>> array indexes and 4 bit nibbles, packed 2 per byte, at ones-compliment >>> negative index. >>> >>> >>> [nibble-(~1)] >>> [nibble-(~0)] >>> array_ptr-> [byte-0] >>> [byte-1] >>> >>> >>> and use special bit extract/insert ops to reassemble and disassemble >>> the 12 bit char values. >> >> The above can't _ever_ work. But, thanks for playing. >> >Of course it would work No. There are things called language standards, and they don't permit it. C is one such langauge standard. C++ is another. As long as you don't need one of those things, it would be fine, but, without those, the architecture is unlikely to ever be more than an oddity.