From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BAD1215852A for ; Wed, 21 Aug 2024 05:26:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43E8C2BC01E; Wed, 21 Aug 2024 05:25:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4CB8E2A3B for ; Wed, 21 Aug 2024 05:25:58 +0000 (UTC) Message-ID: <6a17f302-3403-4963-9872-4fb3c3cf1765@gentoo.org> Date: Wed, 21 Aug 2024 01:25:55 -0400 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Build for Athlon and Ryzen architectures To: gentoo-user@lists.gentoo.org References: <7bcd9f95-b246-428f-bfeb-9ddf352c7021.ref@yahoo.com> <7bcd9f95-b246-428f-bfeb-9ddf352c7021@yahoo.com> <69bbef56-26d8-4714-8b1e-b358278b603f@yahoo.com> Content-Language: en-US From: Eli Schwartz Autocrypt: addr=eschwartz@gentoo.org; keydata= xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4WIQTvUdMIsc4j CIi+DYTqQj6ToWND8QUCZoRL+gIbAwUJBKKGAAULCQgHAwUVCgkICwUWAgMBAAIeBQIXgAAK CRDqQj6ToWND8aB5AP9r4kB691nNtNwKkdRiOdl7/k6WYzokvHvDamXxRJ0I+gEAjZqR5V8y mfR3fy2Z+r2Joeqdt3CIv5IwPs64spBvigLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYWIQTvUdMIsc4jCIi+DYTq Qj6ToWND8QUCZmeRNAIbDAUJBKKGAAAKCRDqQj6ToWND8a2RAP40KPfbfoiZAJW5boFmFJ3G TUBDJRh9CWHyaPqq2PN+0wD/R07oLzfnJUN209mzi9TuTuHjeZybysyqXSw4MAxkMAY= In-Reply-To: <69bbef56-26d8-4714-8b1e-b358278b603f@yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------An6aa4Oii6N5DKGnslMfI0WU" X-Archives-Salt: 40409ed1-381f-46f2-901c-abda60ede8a6 X-Archives-Hash: 63a937f65fa8ef34d90857a02376aa2a This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------An6aa4Oii6N5DKGnslMfI0WU Content-Type: multipart/mixed; boundary="------------hGajCg1AcGR8NpJFDfm6l07X"; protected-headers="v1" From: Eli Schwartz To: gentoo-user@lists.gentoo.org Message-ID: <6a17f302-3403-4963-9872-4fb3c3cf1765@gentoo.org> Subject: Re: [gentoo-user] Build for Athlon and Ryzen architectures References: <7bcd9f95-b246-428f-bfeb-9ddf352c7021.ref@yahoo.com> <7bcd9f95-b246-428f-bfeb-9ddf352c7021@yahoo.com> <69bbef56-26d8-4714-8b1e-b358278b603f@yahoo.com> In-Reply-To: <69bbef56-26d8-4714-8b1e-b358278b603f@yahoo.com> --------------hGajCg1AcGR8NpJFDfm6l07X Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8/21/24 12:34 AM, ralfconn wrote: > I did not know about this 'Microarchitecture level' definition [1], > thanks. I'd expect the -v3 to be a superset of the -v2, instead when in= > the past I tried to boot a Ryzen 9 from a system built with > -march=3Dnative for an FX 8530 it did not work (I don't remember if it = was > a kernel panic or if it stopped already at GRUB, I think the latter), s= o > I had to reinstall from stage 3. >=20 > raffaele >=20 > [1] https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels Yup, that is the great advantage of these microarchitecture "common levels". Unlike -march=3Dnative which just toggles every single tiny option your current CPU supports, these are strictly defined supersets designed to work with, basically, "any CPU produced after a certain date". It makes it much easier to deliver common optimizations to a mere 3 distinct configurations. Also it makes it much easier to rapidly tell which group your current CPU supports. Gentoo's official binhost uses these too. Well, the binhost provides a regular generic -march=3Dx86-64 set of binary packages, plus a set that targets the -march=3Dx86-64-v3 seriesdsfe. No "v2" or "v4" packages there= , I'm afraid. :) --=20 Eli Schwartz --------------hGajCg1AcGR8NpJFDfm6l07X-- --------------An6aa4Oii6N5DKGnslMfI0WU Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZsV6YwUDAAAAAAAKCRCEp9ErcA0vV/LL AQDF0uEkT967GjzbLnodn0Dhl8X29+vx7H0lp3BBE12zwQEAiouV4kvLsrgQ3dpr9TnoFPKQiAXL NVNIEzbY1X4oVwY= =4ond -----END PGP SIGNATURE----- --------------An6aa4Oii6N5DKGnslMfI0WU--