From owner-freebsd-arch@freebsd.org Sat Oct 5 15:29:08 2019 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B635135BC9 for ; Sat, 5 Oct 2019 15:29:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46lrJ31CWLz3L9F for ; Sat, 5 Oct 2019 15:29:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x734.google.com with SMTP id x134so8732024qkb.0 for ; Sat, 05 Oct 2019 08:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=l9IOvZSZAedAv4HRcrZFTCHQc0C6UTjkCnUpcKy6DRE=; b=S4qg4F2J5Ths/3sPXXEppfCP3c5KejKWnP0gnqzVPuCOz3M4+ZqVeLQssZHeyo0SN5 FBItsptx/SsuhJ3EHoDYStylVtYhS5BUUF0vJSkYLf4hrxbyGEm9SQe2J1N4WZR7fH19 +32X6oxURuB5o4eRrFZU57Kt9yLFoLz1ss6Ogtkmpmcv4R6mc/YHVHlQNN1akjoNSdUd GUifIIQYLP4LEq7BcSLr8fDOfC8Cc+rp1lvQVySIbigUpuZdys5KePYDABQ6BPWoQZA6 8arvMRDZLp2e6GOUwGNJKzJGYwdkiuVhGXy2CGVrFiEMwReGi+NXDd0hJstelW5mRaj+ 9EUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=l9IOvZSZAedAv4HRcrZFTCHQc0C6UTjkCnUpcKy6DRE=; b=Hw6x5QmeDQe24Veqdt6p/IZ1jjSIfb73Ms1Bf4WnwIwViSK/E79yppfqU1JJkyUohR 0Kdjmd5rOwviaiZi55ovgv+R1zPwMAP2cbwPrJQe5v36KkuuNf2vj/MeB/2hTM4YELvV 151FkF+Gvo6bBJe6SkE4EpqdlM55gqpDLhlpqMptkfeN/tYXxc9NHUQBcGAJycm7uq/u 40VQ58yKtOMjnzCRsfS1fn/c3uBRHuV4+lOOYMJAqoaj5o5c7TUCgaUgsTiHZL1iHhZb w9zt+ZK8bs2dF6r4SK/u8AHKyn+S6xB+esupvZkgNdyaza9knusBzG95vWw/TMnQIiQF RBqg== X-Gm-Message-State: APjAAAV8FpoqOmFO9h2G6KCUEvbE8lTps+SNx42mtx+bFMUrI8Nw5T8D JqH398mRW/JxO9K7sApb6iM80QxROCUcrEPdkt0NfQ2+ X-Google-Smtp-Source: APXvYqxi4MeIu3vCjoPVjNt1Q9VKV0oOqCRFIft0X/zmdGvV6PmsRvp07UPyX0NvNfngrIQmLQk2UrKip6n9gNPOeLw= X-Received: by 2002:a37:6787:: with SMTP id b129mr16103302qkc.60.1570289345418; Sat, 05 Oct 2019 08:29:05 -0700 (PDT) MIME-Version: 1.0 From: Warner Losh Date: Sat, 5 Oct 2019 09:28:53 -0600 Message-ID: Subject: New CPUTYPE default for i386 port To: freebsd-arch@freebsd.org X-Rspamd-Queue-Id: 46lrJ31CWLz3L9F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=S4qg4F2J; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::734) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arch@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[bsdimp.com]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[4.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.83)[ip: (-9.36), ipnet: 2607:f8b0::/32(-2.56), asn: 15169(-2.15), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Oct 2019 15:29:08 -0000 For a variety of reasons, the time has come to change the default code generation arch from i486 to i686 on our i386 port. No actual code removal is planned as part of this effort. Only the default is doing changed for clang. The practical upshot of this for our i386 users will be zero for almost everybody. For the tiny sliver of people planning to deploy FreeBSD on a i486 or i586 core, a simple addition of CPUTYPE=xxxx to /etc/make.conf is all that is needed for the src side of things. They will need to setup their own poudriere instance and create their own pkg repo to build whatever packages are required for their deployment. It's my belief that even in the trailing edge long tail embedded deployment segment of our user base this will cause no issues. All deployments there I'm aware of have moved of i486 class CPUs and the one 586 class core deployment I know of has no plans to update that to FreeBSD 11, let alone newer. There are a number of advantages to doing this which have been articulated at length in other discussions. Briefly we get better code generation for CPUs people use and we avoid some test failures in llvm 9.0 because i486 doesn't have 64-bot atomics. Comments? Warner