Path: utzoo!attcan!uunet!seismo!dimacs.rutgers.edu!mips!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!b.gp.cs.cmu.edu!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.os.msdos.programmer Subject: Re: TC++ bugs reported to Borland Message-ID: <272d8101@ralf> Date: 30 Oct 90 12:32:49 GMT Sender: ralf@b.gp.cs.cmu.edu Organization: Carnegie Mellon University School of Computer Science Lines: 20 In-Reply-To: <16797@shlump.nac.dec.com> In article <16797@shlump.nac.dec.com>, routley@tle.enet.dec.com wrote: } 1. Bitfield Operation Performance } } The third bit in a multi-bit bitfield structure is } testing by performing a pair of shift instructions, } requiring 25 cycles: } } MOV AX, WORD PTR [BP-06] } SHR AX, 1 } SHR AX, 1 } TEST AX, 0001 I just checked, and TC 2.00 does the same thing. -- UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=- 412-268-3053 (school) -=- FAX: ask ARPA: ralf@cs.cmu.edu BIT: ralf%cs.cmu.edu@CMUCCVMA FIDO: 1:129/3.1 Disclaimer? | I was gratified to be able to answer promptly, and I did. What's that? | I said I didn't know. --Mark Twain