From owner-svn-src-head@freebsd.org Tue Mar 28 18:42:15 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15F58D23225; Tue, 28 Mar 2017 18:42:15 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com [IPv6:2607:f8b0:400e:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E0935AA0; Tue, 28 Mar 2017 18:42:14 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x232.google.com with SMTP id 21so80617619pgg.1; Tue, 28 Mar 2017 11:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=hldKCwacp2ibs+LKzL/rsxrm3MBcoyMvLb5T/DV8fB8=; b=rVkX22FETzq5HbO+GaGwx3au3+kR9RoHIzPLj+El91gUTUEEDk8kvFJjBf+1uaTmAi rhN8H+8TUM0jy2wqORGBN8ByefkCxko4K+uxJowOStDlFi0PD3qZzMCqJoC/9KSmiPPs DIAH52HFHjsffls5wPKfK0UmCExA0s0IuRJESAp1mvkFWzVP7mTuWiJmQgx1cBGqf4/0 G1vfVAyFILnSFB1w0LQmrFMLt4LZ99igUyGiZk+WL/Xa7ckyw24TH2SUiezr+KuKjxXE 1i4A8IYnMtz1o4kBMTTn7pWazUpPUC9ii6MQPn27kKki+vV5u+LGSusrx5akB6Ag2/gh B4jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=hldKCwacp2ibs+LKzL/rsxrm3MBcoyMvLb5T/DV8fB8=; b=V4mLru7BA3POGxAJvdvSocvjSko0k8HNYT8SOGURfZeE3ntjYatvZ1OIGfdOcaoU2Z ZB2wMwhOSKGz100mYvZ3uH9O4p6y8wqkVEvWK3BIYHoAiT9Wrgua1LcC757qspC9PcTq 9KnIhDxH36LS9uyFDw0dhbMjyWnS6/6sPNTEEdir18yAaJsSmMKxRwLjjJVU4M0usowe jOmm/fP3TOC/oVYmlvpbx923RMt9gDjqxN/K0TutS22RxynKud9F6z15tjR2nAo4qOEB SJaJ+RPowo+wAV6jFY3QDgBDDr/JqzmOUhDeg+33AntmLmMXM5BrzVTxtOyeclxmo9yy m5KQ== X-Gm-Message-State: AFeK/H1JSqzhUe0hN5/BLvMKE8A9M6nXSZ27in15WKNGNSXVcuUV468YMRJIiikAPCVO1w== X-Received: by 10.99.9.65 with SMTP id 62mr32111934pgj.22.1490726534004; Tue, 28 Mar 2017 11:42:14 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id d4sm8813268pfb.104.2017.03.28.11.42.12 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Mar 2017 11:42:13 -0700 (PDT) Subject: Re: svn commit: r316100 - head/sys/boot/i386/boot2 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_41DF7CF7-EF47-4737-9BF5-483E7C7D3B7B"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <201703281809.v2SI92Ck011780@repo.freebsd.org> Date: Tue, 28 Mar 2017 11:42:11 -0700 Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: <6BF9BF65-E700-4176-B405-244D7BA60541@gmail.com> References: <201703281809.v2SI92Ck011780@repo.freebsd.org> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 18:42:15 -0000 --Apple-Mail=_41DF7CF7-EF47-4737-9BF5-483E7C7D3B7B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On Mar 28, 2017, at 11:09, Warner Losh wrote: > > Author: imp > Date: Tue Mar 28 18:09:01 2017 > New Revision: 316100 > URL: https://svnweb.freebsd.org/changeset/base/316100 > > Log: > Remove -fno-guess-branch-probability and -fno-unit-at-a-time. > > bde enabled -fno-guess-branch-probability in 2003, well before our > current compiler was imported. At the time it produced weirdly orded > code. It no longer does that. It also saves 0-4 bytes depending on > other options. > > kan disabled unit-at-a-time in 2004 because it badly mangled boot2 so > it wouldn't work. That too was before the 4.2.1 compiler, where it no > longer does that. This saves 44 bytes. > > I had planned to document why they were needed, but when I discovered > their antiquity, I removed them and boot2 still works and is > smaller. In qemu, the old and new boot2's behaved identically. > > These are gcc specific hacks, and won't affect clang-built boot2 > at all. Nice!!! -Ngie --Apple-Mail=_41DF7CF7-EF47-4737-9BF5-483E7C7D3B7B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJY2q6EAAoJEPWDqSZpMIYV9KkQAKYgsd2eQevCUnVCphk7iDvP ivz0TAZQhLTuQy1kbVSus+PfWESwRxhW9bTow+Q2EuTtQDfeSHMLb6eaCB0ZAplS 8GSljOnDeUAFGbtXXz3rDzDBwszKNCz3MLSPxmfJw5SeIVU1bLjNjfgi/REzCZ4F YzgfZAsq67ZhNnaWCT7aO9Icb4ifdWCad87x3SA6GCtKrSzDMETXFm29CuULWw07 hLywLB/o1B1QjcW9QyWNR81XlqnlsxhBbk08Y3dgtQjQ2vq6ZRfumwrVGDfjxPsN lLewXwkxSpnq4uyvDdNjB10DZNxnfXOtrmaQt9zTujW5OpSUONvb9+T1vw24lI17 XxLqOmDA9aXVD84N9S335vWB8P344uGrL9pLnW27+gJolk7LY/pB2+uunZLDJw4h EkMc8od3CgIouvkekIYhwXVNhLpcq8nYC+TLuRzOYP0FTZ+CBlbeFnXG8drmmrdw StNBm0VgGo0yqx/Bo+B7e2ecOuPN4daf6f2Qbhmi1ThfvIAXXhZ+oQoyRxW8Iwgq Ui8D8uCgTw0dN1OKuLjn6KL97koK/ijJ6hji5wdsMysrs9OW2J2ymJ0/G5H5FR5e YdEE5MxGsWV93cREFmjqfkE70EhM0pTZdhugeT4Jm/RyOeMzhfbE43RXlEjjGVNJ wxako3sEJb06++9WHUew =xAap -----END PGP SIGNATURE----- --Apple-Mail=_41DF7CF7-EF47-4737-9BF5-483E7C7D3B7B--