Path: csiph.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: robin51@dodo.com.au Newsgroups: comp.compilers Subject: Re: Paper: dividing by seven Date: Sun, 19 Apr 2026 00:19:52 +1000 Organization: Compilers Central Sender: johnl%iecc.com Approved: comp.compilers@iecc.com Message-ID: <26-04-004@comp.compilers> References: <26-04-002@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="36109"; mail-complaints-to="abuse@iecc.com" Keywords: books, optimize, comment Posted-Date: 18 Apr 2026 14:41:02 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <26-04-002@comp.compilers> Xref: csiph.com comp.compilers:3728 Might be useful to look at Hacker's Delight (H. S. Warren, Jr). On 11/04/2026 02:04, John R Levine wrote: > Optimization of 32-bit Unsigned Division by Constants on 64-bit Targets > > Shigeo Mitsunari, Takashi Hoshino > ... > https://arxiv.org/abs/2604.07902 [It's an amazing book that belongs on every compiler developer's shelf. Here's a version of the first edition, of dubious legality, at the Internet archive: https://dn710003.ca.archive.org/0/items/random-papers9/Henry%20S.%20Warren%20-%20Hacker%27s%20delight-Addison-Wesley%20%282003%29.pdf -John]