From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: vandys@vsta.org Newsgroups: comp.os.vms,alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: 10 May 2011 00:12:33 GMT Message-ID: <92re7gF8btU1@mid.individual.net> References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <4dc032d4$0$313$14726298@news.sunsite.dk> <7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com> <92bjl8F19sU1@mid.individual.net> <92d114Fhm7U1@mid.individual.net> <92ddfkF764U1@mid.individual.net> <4DC4390F.9040401@eisner.decus.org> <92r5ntFf3hU1@mid.individual.net> <92raajFe87U1@mid.individual.net> X-Trace: individual.net 0oTvHigmtq1ne9QULBc3OATUF484v0R02gymVRhKUBupUukSiA X-Orig-Path: not-for-mail Cancel-Lock: sha1:6EvkT9uyX3IxoIMKClX79usQ9pE= User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/2.6.32-31-generic-pae (i686)) Xref: g2news2.google.com comp.os.vms:42884 alt.sys.pdp11:2162 comp.sys.dec:3485 vmsnet.pdp-11:590 In alt.sys.pdp11 Johnny Billquist wrote: > I know that for some things, actually coding using more primitive > instructions on the (older) VAXen turned out to be faster than to use > the fancy instructions, but I would not have thought that was true for > things like MOVC or LOCC, but I might very well be wrong. I'm pretty sure we ended up with a hand coded bcopy() back in the day. It might've been that we could do optional initial odd, and then move as words. I think I heard that later Vaxen microcode would do that too. > (The big win, however, was > obviously the loads of actual code needed to do a context switch which > was reduced to just a few bytes on a VAX. :-) ) I'm pretty sure I remember that BSD on the Vax never ended up using the high level task instructions. I can remember trying to make it line up, and ending up deciding it cost more than it saved. No doubt VMS did, as otherwise, well, what was the point? :-> This all dribbles back to that old RISC versus CISC argument. I think the MIPS context switching I coded was faster than anything comparable on a x86 or Vax. OTOH, MIPS was never able to beat the TLB miss performance of the x86. The ultimate (implied) instruction! -- Andy Valencia Home page: http://www.vsta.org/andy/ To contact me: http://www.vsta.org/contact/andy.html