From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qBiLGOypmGSStgAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 22:56:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AHCBGOypmGTx6AAAauVa8A (envelope-from ) for ; Sun, 25 Jun 2023 22:56:12 +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 317FDD547 for ; Sun, 25 Jun 2023 22:56:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDWmI-0000Z9-I1; Sun, 25 Jun 2023 16:56:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDWmF-0000Yz-7n for guix-patches@gnu.org; Sun, 25 Jun 2023 16:56:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDWmA-0003y5-DY for guix-patches@gnu.org; Sun, 25 Jun 2023 16:56:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDWmA-0003tx-A4 for guix-patches@gnu.org; Sun, 25 Jun 2023 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64188] [PATCH 0/8] More package tuning Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Jun 2023 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64188 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: Josselin Poiret , Tobias Geerinckx-Rice , Simon Tournier , Mathieu Othacehe , Christopher Baines , 64188@debbugs.gnu.org, Ricardo Wurmus Received: via spool by 64188-submit@debbugs.gnu.org id=B64188.168772651114933 (code B ref 64188); Sun, 25 Jun 2023 20:56:02 +0000 Received: (at 64188) by debbugs.gnu.org; 25 Jun 2023 20:55:11 +0000 Received: from localhost ([127.0.0.1]:43750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDWlK-0003sn-Vv for submit@debbugs.gnu.org; Sun, 25 Jun 2023 16:55:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDWlI-0003sW-6z for 64188@debbugs.gnu.org; Sun, 25 Jun 2023 16:55:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDWlB-0003TE-82; Sun, 25 Jun 2023 16:55:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=2vQ4I60dQ72I/miFOKr9b1+cIY9cnX9NejFZ7L0fStg=; b=I71PeuifrsYLaZaQc8AC Srrf+dpe2y+3WkDTPwreEWD+V4uIyYXVPrUtUiykWFQAL2NhwL08UgK8eHYOS//nDjwRnakG9jkII 8J8/MipswRWpz3FJbWADcLU6l8HkJv2wvxDppYmrju6Wwv5Wf91e8pjW1cGlj17MiMtRlAbXfLB/B uy/gBVRtX2FF7kX37mmq+o6d4jv4F3jIcV+kvV6jQueGvc0hGwUPtKL2XAI2Eyf/9TF5dP/C2IPbU fXneGlfmLeshbBD0tvviBeuJDSGAIQyOH9sBVg+Y2pmELGgDk6CLIDidNZxGbjoXjxfLforv0PO81 LGaoONm5KFqZBw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDWkv-0001tf-T3; Sun, 25 Jun 2023 16:54:58 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <12026d29411b4ef0597d2f40d874ad2fcc49a087.1687247150.git.efraim@flashner.co.il> Date: Sun, 25 Jun 2023 22:54:38 +0200 In-Reply-To: <12026d29411b4ef0597d2f40d874ad2fcc49a087.1687247150.git.efraim@flashner.co.il> (Efraim Flashner's message of "Tue, 20 Jun 2023 10:51:08 +0300") Message-ID: <87y1k7xnxt.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687726572; a=rsa-sha256; cv=none; b=d/l1x9RYBdDImUmKqDIu0abZoOaDAeuoWdVYRFYKtHzzUyWbW7tl951KbnELxzc6/UQBWK I5Aeo3aCbTRSV0BXBvRDJ+S0RrdUiYamLpulA0geTv6vKkzLdUvOhb6KUu5q1xNlmXbDuw NnrkELneYHIkEXTOiDHK5SJdIQHmw08pahEty7WFA4Gcn6Vxyz6ItEvGF16K9fWqK+2gXX MTs6Jj8U9Ii3hxUb7OuDEz+Ji8Wl3WvJ9xs3vL3OjY2xxDpkXHxl8kvUj1hof6FN3Aku+h YpH/0/44QC4mHx7SagRmZG3VfJaL8UW+89GeYJqHgxirB0vySaR+voxS0qGklg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=I71Peuif; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687726572; 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: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=2vQ4I60dQ72I/miFOKr9b1+cIY9cnX9NejFZ7L0fStg=; b=lXRK7jQzul5xJV8yVKr5Umukkuls46JGraK8Qixrw5GW7gO8zg0xLQu2AXdqmCtMZ15p1v jgt9vELJQG8RgY+JuygpvMGOeFsVjS8pQi4L97cOw/zmdc1o5raZy48SF0Lrtx4DGGjzX0 bPcAwrE5pbO3wtjFVO6PLiRJKKSg9pz3SI2D8sUCS3AZDYu05cKRxmMQpBu+LhtX1jGAEp JV7uFmtK9LgemqYmiNXzt/s0hBQw4Oh1aqpXpcvnplW0m3em0dkJsvkwEflLhtLa58dYw5 fteelTPeq341V/PdleTHwW9kSdslh9Gfvo/ynDVpk8/IaQE6u/W9kvTw5dXBeQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=I71Peuif; dmarc=pass (policy=none) header.from=gnu.org; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.75 X-Spam-Score: -3.75 X-Migadu-Queue-Id: 317FDD547 X-TUID: S5e/pOkHqeNC Efraim Flashner skribis: > * guix/cpu.scm (gcc-architecture->generic-architecture): New variable. [...] > +(define (gcc-architecture->generic-architecture gcc-architecture) > + "Return a generalized micro-architecture, using an inexact matching to= provide > +'good enough' optimizations." > + (match gcc-architecture Let=E2=80=99s call it =E2=80=98gcc-architecture->micro-architecture-level= =E2=80=99, with a docstring that makes it=E2=80=99s clear that this is about x86_64 micro-architecture levels. Please also add a comment stating how to figure out what goes where so we can more easily keep it up-to-date. I guess this procedure is good enough for Go support, right? Thanks, Ludo=E2=80=99.