Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!sdd.hp.com!decwrl!sgi!karsh@trifolium.esd.sgi.com From: karsh@trifolium.esd.sgi.com (Bruce Karsh) Newsgroups: comp.arch Subject: Re: 64 bits for times.... Keywords: timing, high resolution timing Message-ID: <67681@sgi.sgi.com> Date: 24 Aug 90 21:08:18 GMT References: <5539@darkstar.ucsc.edu> <13285@yunexus.YorkU.CA> <30728@super.ORG> <26012@bellcore.bellcore.com> <11187@alice.UUCP> <1990Aug23.022416.14798@sco.COM> <703@exodus.Eng.Sun.COM> <67633@sgi.sgi.com> <368@news.nd.edu> Sender: karsh@trifolium.esd.sgi.com Reply-To: karsh@trifolium.sgi.com (Bruce Karsh) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 15 >How about: > > ld.l r1, CLOCK > > ld.l r2, CLOCK > ld.l r3, CLOCK > sub.l r4, r2, r1 ; r4 = Tinstr + Tclockfetch > sub.l r5, r3, r2 ; r5 = Tclockfetch > sub.l r6, r4, r5 ; r6 = Tinstr >No side effects are involved here. Of course CLOCK cannot be cached or else :^) Very nice! Bruce Karsh karsh@sgi.com