Article View: comp.arch
Article #10851Re: Any use for Branch if Even/Odd ?
From: Guillermo J. Rozas
Date: Fri, 11 Dec 1992 23:11
Date: Fri, 11 Dec 1992 23:11
10 lines
1143 bytes
1143 bytes
In article <MOSS.92Dec11172728@CRAFTY.cs.cmu.edu> moss@cs.cmu.edu (Eliot Moss) writes: | Many garbage collected / dynamic languages use tagging to distinguish pointers | from non-pointers. If one uses the low bit to implement that tag, the branch | has obvious utility .... ELiot 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.
Technical Details
Message-ID:
<GJR.92Dec11231116@chamarti.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!gjrReferences:
<endecotp.723992157@cs.man.ac.uk> <MOSS.92Dec11172728@CRAFTY.cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!gjr From: gjr@zurich.ai.mit.edu (Guillermo J. Rozas) Newsgroups: comp.arch Subject: Re: Any use for Branch if Even/Odd ? Date: 11 Dec 92 23:11:16 Organization: M.I.T. Artificial Intelligence Lab. Lines: 10 Message-ID: <GJR.92Dec11231116@chamarti.ai.mit.edu> References: <endecotp.723992157@cs.man.ac.uk> <MOSS.92Dec11172728@CRAFTY.cs.cmu.edu> Reply-To: gjr@zurich.ai.mit.edu NNTP-Posting-Host: chamartin.ai.mit.edu In-reply-to: moss@cs.cmu.edu's message of 11 Dec 92 22:27:28 GMT