Liste des Groupes | Revenir à c arch |
On Sat, 8 Mar 2025 17:53:34 +0000, MitchAlsup1 wrote:This is why my "if doing something similar" idea, would to use 1 bit per 16-bit word. Similar effect, less waste.
On Sat, 8 Mar 2025 14:21:51 +0000, Thomas Koenig wrote:The length decode is wasteful of bits. There are 4 sizes of instructions
>There was a recent post to the gcc mailing list which showed>
interesting concept of dealing with large constants in an ISA:
Splitting a the instruction and constant stream. It can be found
at https://github.com/michaeljclark/glyph/ , and is named "glyph".
I knew a guy with that name at AMD--he did microcode--and did it well.
>I think the problem the author is trying to solve is better addressed by>
My 66000 (and I would absolutely _hate_ to write an assembler for it).
Still, I thought it worth mentioning.
I took a quick look, and it seems that
a) too few registers
b) too many OpCode bits
although it does look easy to parse.
16, 32, 54, 128 denoted by the first halfword having (respectively)
00, 01, 10, 11. But successive halfwords contain 2-bits that simply
waste entropy and could have been used for "other good stuff".
16-bit instructions get a 5-bit opcode, and the entire 32 instructionYeah.
space is already fully populated.
32-bit instructions get a 10-bit OpCode space. At this point I should10 bits seems reasonable at least.
note that my entire OpCode instruction space has only 62 instructions.
64-bit instructions get a 20-bit OpCode space. Nobody is going to needNobody is going to need 12-bit register fields either...
1M individual instructions.
So, a bit of rearrangement would provide for a healthy OpCode space32/64/96 works well.
and more bits for registers, and possibly a 96-bit instruction in-
stead of a 128-bit instruction.
So, we are still missing::Yeah...
a) a memory order model
b) a translation model
c) atomic instructions
d) external linkage {code and data}
e) thread support using his {ip, bp) construct
f) system call model
g) debug model
h) timers and counters
i) floating point
..
Les messages affichés proviennent d'usenet.