Deutsch English Français Italiano |
<vnrb15$105p$1@gal.iecc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: Cost of handling misaligned access Date: Mon, 3 Feb 2025 21:04:37 -0000 (UTC) Organization: Taughannock Networks Message-ID: <vnrb15$105p$1@gal.iecc.com> References: <5lNnP.1313925$2xE6.991023@fx18.iad> <2025Feb2.184458@mips.complang.tuwien.ac.at> <vnocer$q8bq$1@dont-email.me> <vnr7f2$1egqs$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 3 Feb 2025 21:04:37 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="32953"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <5lNnP.1313925$2xE6.991023@fx18.iad> <2025Feb2.184458@mips.complang.tuwien.ac.at> <vnocer$q8bq$1@dont-email.me> <vnr7f2$1egqs$1@dont-email.me> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 2593 Lines: 32 According to Terje Mathisen <terje.mathisen@tmsw.no>: >> 48 pages? What instruction would need that? >> >I've seen it somewhere but dont't remember where: > >One candidate would be the POLY (spelling?) polynomial evaluator with >all the arguments (indirectly?) loaded from misaligned addresses, all >straddling page bounaries? No, POLY only had three arguments, the argument, the degree, and the table of multipliers. The table could be arbitrarily long but the instruction was restartable, saving the partial result on the stack and setting the FPD (first part done) flag for when it resumes so it only had to be able to load one table entry at a time. MOVTC or MOVTUC were the worst, with six arguments, all of which could have an indirect address and five of which could cross page boundaries. But it occurs to me that those instructions are also restartable, so that only a single byte of the source and destination arguments need to be addressable at a time. There's six possible indirect adddresses which can cross page boundaries for 12 pages, two lengths and a table that can cross a page boundary for six more, and the source and destination and fill, three more, and the instruction, two more. That's a total of 23 pages, double it for the P0 or P1 page tables, and it's only 46 pages. That's still kind of a lot. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly