jbush001 / NyuziProcessor

GPGPU microprocessor architecture
Apache License 2.0
1.99k stars 351 forks source link

Increase control register count #148

Open jbush001 opened 6 years ago

jbush001 commented 6 years ago

Currently the control register index uses a 5 bit register field for the R format instruction. Change to instead use the immediate field of an immediate instruction, expanding total available registers.

(issue #145 will do this more cleanly, this is an interim change before that one)

jbush001 commented 6 years ago

The motivation for this is that I want to add a bunch of new control registers and space is quickly running out (there are already 19 used, and there are features that want to at least another 17)

There are plenty of other functions in the future that could be useful to put into control registers.