Deutsch English Français Italiano |
<uuv1ir$30htt$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: "Mini" tags to reduce the number of op codes Date: Sun, 7 Apr 2024 21:01:15 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: <uuv1ir$30htt$1@dont-email.me> References: <uuk100$inj$1@dont-email.me> <6mqu0j1jf5uabmm6r2cb2tqn6ng90mruvd@4ax.com> <15d1f26c4545f1dbae450b28e96e79bd@www.novabbs.org> <lf441jt9i2lv7olvnm9t7bml2ib19eh552@4ax.com> Injection-Date: Sun, 07 Apr 2024 21:01:15 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d8a8289746225a35da0d7c8a2409f6e8"; logging-data="3164093"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ckeCGFjJSLHO4ZJ8PUbyViNy4qZAG0J8=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:+KwlKkw7lzkSA5RU5XbmvrxOpyk= Bytes: 2347 John Savard <quadibloc@servername.invalid> schrieb: > Thus, instead of having mode bits, one _could_ do the following: > > Usually, have 28 bit instructions that are shorter because there's > only one opcode for each floating and integer operation. The first > four bits in a block give the lengths of data to be used. > > But have one value for the first four bits in a block that indicates > 36-bit instructions instead, which do include type information, so > that very occasional instructions for rarely-used types can be mixed > in which don't fill a whole block. > > While that's a theoretical possibility, I don't view it as being > worthwhile in practice. I played around a bit with another scheme: Encoding things into 128-bit blocks, with either 21-bit or 42-bit or longer instructions (or a block header with six bits, and 20 or 40 bits for each instruction). Did that look promising? Not really; the 21 bits offered a lot of useful opcode space for two-register operations and even for a few of the often-used three-register, but 42 bits was really a bit too long, so the advantage wasn't great. And embedding 32-bit or 64-bit instructions in the code stream does not really fit the 21-bit raster well, so compared to an ISA which can do so (like My 66000) it came out at a disadvantage. Might be possible to beat RISC-V, though.