Article View: comp.arch
Article #136Re: subtract and divide instruction
From: MitchAlsup
Date: Thu, 15 Oct 2026 19:21
Date: Thu, 15 Oct 2026 19:21
20 lines
1636 bytes
1636 bytes
Robert Finch <robfi680@gmail.com> posted: > Added the SUBDIV (subtract and divide) instruction to Qupls4, used > mainly with pointer arithmetic. The integer divider shortcuts divisions > by powers of two. This was previously called PTRDIF which only did a > right shift instead of a divide. > > SUBDIV Rd, Rs1, Rs2, Rs3 ; Rd = (Rs1-Rs2)/Rs3 Is this seen/used often enough to save useful amounts of instructions ? It does not appear to save execution time (except for power of 2 cases). In My 66000, DIV is down near 0.5% seldom following a subtract. > At work again on Qupls4. Certain aspects seem to be stabilizing, like > the use of 48-bit instructions. The CPU currently has 64 GPRs. 8 GPRs > may be selected as carry registers and are selected by three-bit code in > some instructions. >
Technical Details
Message-ID:
<1792092095-5857@newsgrouper.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mailReferences:
<11apshg$25e7t$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.arch Subject: Re: subtract and divide instruction References: <11apshg$25e7t$1@dont-email.me> Date: Thu, 15 Oct 2026 19:21:35 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1792092095-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Thu, 15 Oct 2026 19:21:35 GMT User-Agent: Newsgrouper/0.9.0