🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #10897

Re: Any use for Branch if Even/Odd ?

#10897
From: Damon
Date: Sun, 13 Dec 1992 22:50
16 lines
1244 bytes
In article <GJR.92Dec11231116@chamarti.ai.mit.edu> gjr@zurich.ai.mit.edu writes:
>Another place where it is useful is to test packed booleans.
>On most machines, the word containing the packed boolean would have to
>be masked, but the mask generation might take multiple instructions.
>Having branch-on-low-bit, you only need to shift before branching.

Nah.  Only `and with 1' and then use branch-on-zero.  One more
instruction.  There might be a delay for the result to come back from
the ALU if you can't interleave other instructions...

Damon
-- 
Damon Hart-Davis                          Internet: dhd@exnet.co.uk, d@hd.org

Public-access UNIX (Suns), news and mail for UK#5 per month.  FIRST MONTH FREE.
[1.35] Cheap Sun eqpt.  UUCP news/mail feeds.  Tel/Fax: +44 81 755 0077.
Technical Details
Message-ID: <Bz7zG0.9FM@exnet.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!edcastle!dcs.ed.ac.uk!exnet!dhd
References: <endecotp.723992157@cs.man.ac.uk> <MOSS.92Dec11172728@CRAFTY.cs.cmu.edu> <GJR.92Dec11231116@chamarti.ai.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!edcastle!dcs.ed.ac.uk!exnet!dhd
From: dhd@exnet.co.uk (Damon)
Newsgroups: comp.arch
Subject: Re: Any use for Branch if Even/Odd ?
Message-ID: <Bz7zG0.9FM@exnet.co.uk>
Date: 13 Dec 92 22:50:23 GMT
References: <endecotp.723992157@cs.man.ac.uk> <MOSS.92Dec11172728@CRAFTY.cs.cmu.edu> <GJR.92Dec11231116@chamarti.ai.mit.edu>
Organization: ExNet Systems Ltd Public Access News, London, UK
Lines: 16