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!feeder.news-service.com!news.albasani.net!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.os.vms,alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: Tue, 10 May 2011 15:34:14 -0600 Organization: Update Computer Club Message-ID: 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> NNTP-Posting-Host: 74.125.59.49 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1305063254 5606 74.125.59.49 (10 May 2011 21:34:14 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Tue, 10 May 2011 21:34:14 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Xref: g2news2.google.com comp.os.vms:42914 alt.sys.pdp11:2175 comp.sys.dec:3497 vmsnet.pdp-11:602 On 2011-05-10 11.45, Bob Koehler wrote: > In article, Johnny Billquist writes: >> >> I'm pretty sure that on later machines, MOVTUC is an emulated >> instruction, so you don't want to use it unless you really want the >> special features. For the simple C string case, having that translation >> table is a small memory cost, but it also hurts performance. >> But from a purity point of view, yes, MOVTUC should also be able to do it. > > IIRC, LOCC and MOVCx are in the same VAX instruction subset as > MOVTUC. And the rules were you can do all of a subset in hardware, > or none of the subset in hardware, but you couldn't break it up. > > For example, IIRC, MV II did none of the string instructions in > hardware. The MVII don't follow later rules about what to emulate and what to do in hardware. Those rules came later, and perhaps partly as an analysis after the MVII. As such, the MVII do not have LOCC in hardware, nor CMPCx, or a bunch of other string instructions that are "now" required. But it does have some other instructions that are very optional. But actually, MOVTUC is in the group of instructions never required to be implemented, and which can be handpicked one by one, so it's not even in a group of instructions. MOVCx and LOCC on the other hand are in the required group of instructions. So they are not even optional. (Check chapter 11 of the VARM (DEC STD 032)) Johnny