From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 5FD742254F for ; Sat, 11 May 2024 15:42:36 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id D9EA44362E; Sat, 11 May 2024 23:42:31 +1000 (AEST) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by minnie.tuhs.org (Postfix) with ESMTPS id 71AB64162C for ; Sat, 11 May 2024 23:42:25 +1000 (AEST) Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3c96a556006so1619299b6e.0 for ; Sat, 11 May 2024 06:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715434943; x=1716039743; darn=tuhs.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vCr9ayTGJW0D0SHuPFMrqDMpRse2CGuxJS2TTp4Muks=; b=SZwr0WESP2BEiE7/GA8MiiEtCCbIynigjOGnpCtWIDjsfeZlcLtfbTm6VNlDxxmVGf BeXXDr3zAYefmUJW4+y7wGzGGpC/7dKe8hvmknKPC/yEq/evqhYUu7jufF2W57OdDHe9 Tmah77gVuNfIyixa0B7asqlBvxOYu9dPh4zRp0hu7t2mgor3qnlkdEexDV3f2BuekDLP JgU4FohY0XV3bUXTVDTpkQntuGDYm3DEOo+4IN7Lgtu3ohP+FqveF5TyB5PPMUkEjBrs CwIxhF9E56itxjDNnhCjxgjcuc6VUvgLSOx4myfRsJIUvQNZYgLk7rLqQsUfwDbBk2bX cqVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715434943; x=1716039743; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vCr9ayTGJW0D0SHuPFMrqDMpRse2CGuxJS2TTp4Muks=; b=pMl8yTKp1y2XxrHezf3wRSht0J/x+go0ptvLvB+xNw3bJsbg2uvODmSEXcbNztoiGd 2uXs/jbn3+PmIMPT1ECCFUmrC+c2IQi9inK+RsRE4w3xvWL/ZaveTM439gFRdUe9q5+l 60i7O6kMY92jkhQeEU9Whb/cHfPoijnVkbFBn/8apo3ZvfhFUe6OxxCk88T9lr9xC9J7 5LeNNLOvHjAWx7FgZYXsRoI9SigMwoQLGnBHAMoa8RB0avy9jsoGC8VPjbnaTI42DdbZ bwsNrwaPXSCkXYjtmgQuXytWLJkocQIuPu5rjJBnsLlILaXsK9+JvvzFKbZcYRHVkXur gQuw== X-Gm-Message-State: AOJu0YyZIJ4XmepcecUff90OZrutq8CE01Yox67lCMjKq1YFAYyPTXBj gasVaGeyJvFQZ5E0GJ3o0aG9Pdha1sVF0wJFqO8yHxbJ+oNgaDzZwP8Lqg== X-Google-Smtp-Source: AGHT+IHKcIjs4OnQvU9pBRhwLHT0qQ4h0NbW3PTFkF56RtJRdt5mwAy0u/Jn0b6q9rBi3eBgTU4NwA== X-Received: by 2002:a05:6808:171a:b0:3c8:5da4:5f7d with SMTP id 5614622812f47-3c99706f493mr7145253b6e.25.1715434943467; Sat, 11 May 2024 06:42:23 -0700 (PDT) Received: from illithid (ip68-12-97-90.ok.ok.cox.net. [68.12.97.90]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3c9a34aece9sm78791b6e.30.2024.05.11.06.42.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 06:42:22 -0700 (PDT) Date: Sat, 11 May 2024 08:42:21 -0500 From: "G. Branden Robinson" To: TUHS main list Message-ID: <20240511134221.w7v35qdey7z7j6wf@illithid> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iissxmazwtb6n4hw" Content-Disposition: inline In-Reply-To: Message-ID-Hash: EIZ6ELUIWDNLD52XNFQU6MICRVDU3DI2 X-Message-ID-Hash: EIZ6ELUIWDNLD52XNFQU6MICRVDU3DI2 X-MailFrom: g.branden.robinson@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: On the uniqueness of DMR's C compiler List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --iissxmazwtb6n4hw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable At 2024-05-10T13:28:40-0400, Paul Winalski wrote: > On Wed, May 8, 2024 at 2:29=E2=80=AFPM Douglas McIlroy < > douglas.mcilroy@dartmouth.edu> wrote: > > Dennis was one-up on Digitek in having a self-maintaining compiler. > > Thus, when he implemented an optimization, the source would grow, > > but the compiler binary might even shrink thanks to > > self-application. >=20 > Another somewhat non-intuitive aspect of optimizing compilers is that > simply adding optimizations can cause an increase in compilation speed > by reducing the amount of IL in the program being compiled. Less IL > due to optimization means less time spent in later phases of the > compilation process. This fact was rediscovered later when people found that some code compiled with "-Os" (optimize for space) was faster than some code optimized for speed ("-O1", "-O2", and so on). The reason turned out to be that the reduced code size meant fewer cache evictions, so you gained performance by skipping instances of instruction fetches all the way from the slow main memory bus. Think of all those poor unrolled loops... Regards, Branden --iissxmazwtb6n4hw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmY/db0ACgkQ0Z6cfXEm bc4XxA/8C76Fu5X3RMA95rFRNPlPCabWSHs8/98fuh/l1O8eaCc2P4h+nHEbyEvs lmFdRhZ709y/KP0TR4SCgszpRGKgXeQI+5ajFh4xv4bM5RtW1+I0gqlhyoc2Lsa0 9G8wVrRylYvxsNE4eT1TCiMO44dz/rFUgFHSxxoZ4hwse+/0ap5v8x6wZIM1AnZP jUd+qZdJZt8DHPVoQtxtw9IHtnmUs7okUGG924GqXS5jxMIi1mNIpXr7OsHkD4rM 0nUPrWRnPeyNFdB3pTS6Wqngf1xVmn+D48obFhTtpZzEEckr7I7lkbK2P72wXaX7 4rSsuaI+EEiDf4ck/qZF0+w4sJUI17o/QGflR6qYdIc09MtNGAtMVqcSbP1jw7bQ 1/GeMM2JYG8DQgxq6jArzIK6dGsx1SW3N6EKDJp7kNKPA4zyd1tppdqTOXgM/yWe h1pKSSjn9g+OpE6xh+d4MaFZLFtMkExRD+Q0l9Zp+jP3wOr6FiE7jfOQJfvaQRCn 8AHqvwI8nIe4nDs3dsQ7rn1WnTnZ1KogBnxelTzKY4TCgqenmJxL6Vou2jxzdFEr u6SdqFZe34vmY/n3yXZBlMucPbeW8IMaM8CPS4bMY3pNgoCFX48VMWSRM/Pn8qlI fUympmmNxtJAsBUdxmPLi145RJT295BmzvQRVHP2MwIH3RBGCAs= =zM/z -----END PGP SIGNATURE----- --iissxmazwtb6n4hw--