From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31577 invoked from network); 25 Apr 2021 22:04:42 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 25 Apr 2021 22:04:42 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 2017C9C882; Mon, 26 Apr 2021 08:04:39 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id E8BFF9C836; Mon, 26 Apr 2021 08:04:07 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2F3E29C836; Mon, 26 Apr 2021 08:04:05 +1000 (AEST) Received: from oclsc.com (oclsc.com [206.248.137.164]) by minnie.tuhs.org (Postfix) with SMTP id 145489C835 for ; Mon, 26 Apr 2021 08:04:03 +1000 (AEST) Received: by lignose.oclsc.org (Postfix, from userid 1000) id A7E5E640CB6; Sun, 25 Apr 2021 18:02:26 -0400 (EDT) To: tuhs@tuhs.org Message-Id: <20210425220226.A7E5E640CB6@lignose.oclsc.org> Date: Sun, 25 Apr 2021 18:02:26 -0400 (EDT) From: norman@oclsc.org (Norman Wilson) Subject: Re: [TUHS] pcc in 8th edition X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Dan Cross: I seem to recall that LCC was also used, at least on 10th Ed. Am I imagining things, or was that real? === Some of the earliest work on lcc was done in 1127; Chris Fraser worked for the Labs for some years, Dave Hanson collaborated from his appointment at Princeton. I believe there was a /usr/bin/lcc. Some programs used it, either because they needed some part of the ISO syntax (pcc2 was pre-ISO) or just because. I don't think that version of lcc used Reiser's c2 optimizer; it generated reasonably good code by itself, including emitting auto-increment/decrement instructions. Later versions of lcc (such as that I later adopted as cc in my personal V10 world) couldn't do that any more, so I had to keep c2, and in fact to modify it to turn addl3 a,b,(p) mova 4(p),p into addl3 a,b,(p)+ (or maybe it was addl2 $4,p, I forget) But that's another story which I'll tell only if asked, and nothing to do with the original question.