| Deutsch English Français Italiano |
|
<9af9fbbafd075777746866a5ff9165b1@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: Why I've Dropped In Date: Wed, 11 Jun 2025 16:37:27 +0000 Organization: Rocksolid Light Message-ID: <9af9fbbafd075777746866a5ff9165b1@www.novabbs.org> References: <0c857b8347f07f3a0ca61c403d0a8711@www.novabbs.com> <dd6e28b90190e249289add75780b204a@www.novabbs.com> <ec821d1d64555055271e3b72f241d39b@www.novabbs.com> <8addb3f96901904511fc9350c43917ef@www.novabbs.com> <102b5qh$1q55a$2@dont-email.me> <102bj2r$1tbgq$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="78118"; mail-complaints-to="usenet@i2pn2.org"; posting-account="o5SwNDfMfYu6Mv4wwLiW6e/jbA93UAdzFodw5PEa6eU"; User-Agent: Rocksolid Light X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Site: $2y$10$jxWZnJRIRm3OXRIUI5mVK.Ii75jsDbngUIMUHHkNNgSX/DbnrXVF2 X-Rslight-Posting-User: cb29269328a20fe5719ed6a1c397e21f651bda71 On Wed, 11 Jun 2025 9:42:47 +0000, BGB wrote: > On 6/11/2025 12:56 AM, Thomas Koenig wrote: >> quadibloc <quadibloc@gmail.com> schrieb: >> >>> Since the basis of the ISA is a RISC-like ISA, >> >> [...] >> >>> 3) Use only four base registers instead of eight. >>> 4) Use only three index registers instead of seven. >>> 5) Use only six index registers instead of seven, and use only four base >>> registers instead of eight when indexing is used. >> >> Having different classes of base and index registers is very >> un-RISCy, and not generally a good idea. General purpose registers >> is one of the great things that the /360 got right, as the VAX >> later did, and the 68000 didn't. >> > > Agreed. > > Ideally, one has an ISA where nearly all registers are the same: > No distinction between base/index/data registers; > No distinction between integer and floating point registers; > No distinction between general registers and SIMD registers; > ... Agreed:: But most architectures get the FP registers wrong under that distinction, and apparently everyone gets the SIMD registers wrong. Maybe it should be stated:: There is one register file of k-bits per register (where K=32, 64, 128} and that there is no distinction between what kind of data can go in what register. > Though, there are tradeoffs. For example, SPRs can be, by definition, > not the same as GPRs. Say, if you have an SP or LR, almost by > definition, you will not be using it as a GPR. Disagree:: One uses the SP as a base register "all the time", one uses LR as a JMP source "every subroutine return". Either is generally done using GPRs, and thus the problem is to guarantee that you don't have so many of them that you can't use them naturally in your ISA> > So, if ZR/LR/SP/GP are "not GPR", this is fine. > Pretty much everything else is best served by being a GPR or suitably > GPR like. > > ....