Sujet : Re: register sets
De : robfi680 (at) *nospam* gmail.com (Robert Finch)
Groupes : comp.archDate : 17. Apr 2025, 04:42:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtptau$3p73s$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Mozilla Thunderbird
Working on the Qupls3/StarkCPU core it looks like there will be enough resources to support two sets of registers. The extra set of registers comes for free for the register file as the BRAMs can support them. The only increase is in the RAT. The issue I have to trade-off on now is which of the four operating modes gets its own set of registers while the other three share a set. However, the first eight registers will be shared between all modes so that arguments can be passed between them. The ARM does this. My thought is that the application / user mode gets its own register set, and the rest of the system shares the other set. That way there is no need to save and restore the app registers when calling the system.
Another thought is to not include float registers for anything other than apps. It would save 32 regs per mode, possibly allowing three register sets to be provided.