Deutsch English Français Italiano |
<fd9e5ea4d6e6258720c353d60cc72c31@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: My 66000 and High word facility Date: Wed, 14 Aug 2024 22:26:27 +0000 Organization: Rocksolid Light Message-ID: <fd9e5ea4d6e6258720c353d60cc72c31@www.novabbs.org> References: <v98asi$rulo$1@dont-email.me> <38055f09c5d32ab77b9e3f1c7b979fb4@www.novabbs.org> <v991kh$vu8g$1@dont-email.me> <2024Aug11.163333@mips.complang.tuwien.ac.at> <v9ath5$2qgnb$1@dont-email.me> <2024Aug12.082936@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="2597005"; mail-complaints-to="usenet@i2pn2.org"; posting-account="65wTazMNTleAJDh/pRqmKE7ADni/0wesT78+pyiDW8A"; User-Agent: Rocksolid Light X-Rslight-Site: $2y$10$Bwe6i440uUn/9lmvArMTVu/t4BVAIocqI49nYug3Njh8/PD/PoAx. X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8 Bytes: 2713 Lines: 36 On Mon, 12 Aug 2024 6:29:36 +0000, Anton Ertl wrote: > Brett <ggtgp@yahoo.com> writes: >>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote: >>> >>> Where is your 4% number coming from? >> >>The 4% number is poor memory and a guess. >>Here is an antique paper on the issue: >> >>https://www.eecs.umich.edu/techreports/cse/00/CSE-TR-434-00.pdf > > Interesting. I only skimmed the paper, but I read a lot about > inlining and interprocedural register allocation. SPARCs register > windows and AMD29K's and IA-64's register stacks were intended to be > useful for that, but somehow the other architectures did not suffer a > big-enough disadvantage to make them adopt one of these concepts, and > that's despite register windows/stacks working even for indirect calls > (e.g., method calls in the general case), where interprocedural > register allocation or inlining don't help. The problem of register-windows is when "you miss the cache", first you have to take the exception, then you have to blindly push an IN or pull and OUT with no knowlege of how many registers are in use (or several of them) then you have to return from the exception. So, you have two exception control transfers, and a blind copy of fixed sized data, loss of a few TLB entries, and loss of a few cache lines of data+instructions. Whereas MIPS, 88k, Alpha, RISC-V always "hit in the cache" so to speak. There was an old paper that stated MIPS team had optimizing compiler up and optimizing, while SPARC team bet on HW to compensate for their lack. History has chose the non-SPARC path.