home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.arch
- Path: sparky!uunet!super!duncan
- From: duncan@super.org (Duncan A. Buell)
- Subject: Re: Any use for Branch if Even/Odd ?
- Message-ID: <1992Dec11.141219.27028@super.org>
- Sender: news@super.org (USENET News System)
- Nntp-Posting-Host: planet
- Organization: Supercomputing Research Center (Bowie, MD)
- Date: Fri, 11 Dec 1992 14:12:19 GMT
- Lines: 20
-
- I can think of several uses for this instruction. Exponentiation is
- one obvious example. Although I can't recall specifics, I know I have
- on *many* occasions done a branch based on the low bit of an integer.
-
- I am equally sure that this is NOT the reason the instruction exists.
- Such an instruction is especially useful in handling bit patterns
- used for controlling execution, and there is probably a good reason
- in the architecture or operating system for this.
-
- An afterthought. I mean exponentiation of integers or exponentiation
- in some other group or ring. ("I suppose there probably *are* other
- kinds of exponentiation," he said, in an attempt at humor.)
-
- Duncan Buell
- ----------------------------------------------------------------------
- | Duncan A. Buell Senior Research Scientist |
- | 301-805-7372 Supercomputing Research Center |
- | 301-805-7602 (FAX) 17100 Science Drive |
- | duncan@super.org Bowie, Maryland 20715 |
- ----------------------------------------------------------------------
-