From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id SFDwDZbhhGLjgwAAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 18 May 2022 14:07:50 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id 8F0EDZbhhGIdrAAAG6o9tA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 18 May 2022 14:07:50 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id F12AD3BF83
	for <larch@yhetil.org>; Wed, 18 May 2022 14:07:49 +0200 (CEST)
Received: from localhost ([::1]:43824 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1nrISy-0000jK-7Z
	for larch@yhetil.org; Wed, 18 May 2022 08:07:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35302)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nrISE-0000j3-Ay
 for guix-patches@gnu.org; Wed, 18 May 2022 08:07:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:37114)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nrISD-0001RU-Tx
 for guix-patches@gnu.org; Wed, 18 May 2022 08:07:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nrISD-000832-Or
 for guix-patches@gnu.org; Wed, 18 May 2022 08:07:01 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#55431] [PATCH] guix: cpu: recognize other architectures.
Resent-From: Efraim Flashner <efraim@flashner.co.il>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Wed, 18 May 2022 12:07:01 +0000
Resent-Message-ID: <handler.55431.D55431.165287560130904@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 55431
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Julien Lepiller <julien@lepiller.eu>
Cc: 55431-done@debbugs.gnu.org
Received: via spool by 55431-done@debbugs.gnu.org id=D55431.165287560130904
 (code D ref 55431); Wed, 18 May 2022 12:07:01 +0000
Received: (at 55431-done) by debbugs.gnu.org; 18 May 2022 12:06:41 +0000
Received: from localhost ([127.0.0.1]:59244 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1nrIRs-00082O-N4
 for submit@debbugs.gnu.org; Wed, 18 May 2022 08:06:40 -0400
Received: from flashner.co.il ([178.62.234.194]:51914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@flashner.co.il>) id 1nrIRr-00082A-GD
 for 55431-done@debbugs.gnu.org; Wed, 18 May 2022 08:06:40 -0400
Received: from localhost (unknown [31.210.180.235])
 by flashner.co.il (Postfix) with ESMTPSA id 40E874035A;
 Wed, 18 May 2022 12:06:33 +0000 (UTC)
Date: Wed, 18 May 2022 15:05:38 +0300
From: Efraim Flashner <efraim@flashner.co.il>
Message-ID: <YoThEsqvlKoj5T5o@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@flashner.co.il>,
 Julien Lepiller <julien@lepiller.eu>, 55431-done@debbugs.gnu.org
References: <20220515191132.288dc60d@sybil.lepiller.eu>
 <YoOcI4c6RrN9ycQC@3900XT>
 <005DC196-6142-48CF-A82E-D532D6500597@lepiller.eu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="iKSlTBexaF5UQQs7"
Content-Disposition: inline
In-Reply-To: <005DC196-6142-48CF-A82E-D532D6500597@lepiller.eu>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1652875670;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:resent-cc:resent-from:resent-sender:
	 resent-message-id:in-reply-to:in-reply-to:references:references:
	 list-id:list-help:list-unsubscribe:list-subscribe:list-post;
	bh=q+sHFiOdfraj3ZTPgvyWkljZNHimQCGasNQHkLa79nQ=;
	b=k5U1P9avrZ5L/gwzURrF2g1y21JWVdmTpmGr8nro5+AlaYmM2QiPLlsNK0jB0bsMeH0p20
	deQCQ/f+gQSUUy44+AhTTnBTxgfryNFuZLdo1qLEsc3Bf8wLDPxH2taUvJMMygY6iMZQmM
	UFepPaPvYwf8hUflUeFcA6ViagZO/1ffVzPx4QkgNCc8DlmRIeEp//AM7IgbdSBIWbQW/n
	MjCcnDs3ljqway7yGKVgPevoFXAGCi35IKL65qXf5ONkIcVMlmlZrwCVWNLshyxaxipDVP
	UF3SE3SZvz8PP4ZuVE1ISwHHoQA90o+pzNHKwd5Lkgu/pnjEj+q0mzohAWE2ug==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652875670; a=rsa-sha256; cv=none;
	b=Sx1bQ4JSuXK+7TlHUg5uj+10AZKcSArRF4cA3sX2YnOu3Xd733AN81I0JUuE7li9/dQ+nq
	fZaK/SDVCE4Q05bD4O+Vrr4SNxHMVi3BFkKMA5e1jmO6WGGj1lx6GbLV6Lt9n3Ovf3BnCG
	9NZRDsDfjLru94hpQmXvF0/CWJx9qnGVmqaDq2qkGO3q/T0AK8/g3QhARmzSg1OUShBUPU
	iusTJWA5UbOUOZ5Qar2HDI12XcFFjT2162I+DmFtIVy9KobG4XmdnFvqINnlP+QC1lmafq
	UFtOBR3bGRt0nLKZVTLXC4lwCq7ueQgDDJKRWADYdv+K0zjRnHSN9m1Otfs3oQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -5.74
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: F12AD3BF83
X-Spam-Score: -5.74
X-Migadu-Scanner: scn0.migadu.com
X-TUID: D+NGIfEMjKy3


--iKSlTBexaF5UQQs7
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 17, 2022 at 05:55:38PM +0200, Julien Lepiller wrote:
> Thanks for fixing that anyway :)
>=20
> I was only interested in it because it made me unable to reconfigure my s=
ystems. I don't care too much about the --tune code, and I don't understand=
 what you suggest. Do you mean to create "x86 on x86_64" as a separate arch=
itecture? Or as a --tune target?
>=20

As part of the autotuning process. GCC internally groups i686 and x86_64
together when determining how to tune for --march=3Dnative, and I'm pretty
sure I've added some i686 hardware for AMD when I was adding autotuning
support for AMD CPUs. Its similar for aarch64 and armhf, there are armhf
targets internally that accept armv8.X-a targets, so there's no need to
limit armhf tuning to armv7.

--=20
Efraim Flashner   <efraim@flashner.co.il>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--iKSlTBexaF5UQQs7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmKE4Q8ACgkQQarn3Mo9
g1GwGhAAn+e0qxapvSIPS+59MiRv5f/waAz+YXrYi1iHtn1rrj8uVBCh1/BuX8TS
bOSCVSyVT46RGb7ZsOuuNWIif5V0D0/MHB1+jMrN1H1Klvt0R8KRFVRIPwf6DFnE
fvKZjBeFrQW5gZROVlgj7l42/DTG6h15IAjmTSOisRJ5Eesom/IjYcPWWxCfxOo/
BuRdwgcajsqwh/meljwMYtfurdYxgXTw9yyqA7B4632QGY8vKjRbWlJVZ+W3V6Ky
mn3Jg7CSHwY6Y+bR3PlujrawXX+qRt8GMJyxRqUkgmffVXcRDChpkRmN9zZh5tLx
UvQwm6AszY+gj4s9yHOvY/bRKEzyxigas3MWyWyZqPqFJfQmhb++MIOCiuPwo2F1
nbUDNF18Lbq+GlK48TcCBjlpkf9gdOVbjVHSHKqiOaRXomZniFL8FYQlzy6DnJ46
UGpjOQV/xI4dw0NJNWxOHiAiysl0xXmLEIZ30HkzKSU8md0QLM/55MsCiD30kOa/
C/3peZEGwUr8FBsFUYNEhyg0dbKC+1iNm8xKQ2Nn7Uhr/PgIc2D9oeemwJ+dUwQL
Bw2FNwbyjOvVO9sp0Xyr78fMgCIeJyHMImw3lDnOW6iN/mipEV6tpZQPBq40fMiv
s5ATCUmanm6mHHxoUaCFDNfkmTREdfZVgJx63zJnLjrcmTkX31M=
=CIYm
-----END PGP SIGNATURE-----

--iKSlTBexaF5UQQs7--