From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEBC138D412 for ; Fri, 22 May 2026 21:33:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779485639; cv=none; b=b6GNzqqCbKe0XIOXRrbGavp790anMhdxvKvEJcvQvWLcBJmD1n6EEcnk8H2QN33bakZ0PL1jePmaSjHagtS2chsxeVkvWqAIOeJ5Z5VZE1qWwzRkcK7ueoHwvfJ3g06bH7bCzTUyn7BECIk7pi9vLt+EO26SYVNV7VQpZ4OBre8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779485639; c=relaxed/simple; bh=Z9LGZE9LUGiUFHbvTe+3X1oZ8+Pw+tBYCwgcLVodZ8Q=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IpN2mD5wxYSsQUJwryI9hckvEv8FKyRakPIWE33HQS61Nn2zT9l33iEZ1IYvdmjfOZ8w80cwGe52Xz5OJmlWTqkKNKCs6tpDJs63PZXLmv+AhYaPCIn2um7Lrkc0JdsS41QnOnuFNYAnoYbTuslrHbD0kVjw5gpdqkJujJjT/qY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NUk28ntU; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NUk28ntU" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-48fe26a177cso58857745e9.1 for ; Fri, 22 May 2026 14:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779485632; x=1780090432; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Z9LGZE9LUGiUFHbvTe+3X1oZ8+Pw+tBYCwgcLVodZ8Q=; b=NUk28ntUTj/bb6h+NaHr/DilUocXMgOKrMeQxbkW1KFEDX1T4xW657l6gP9XsPTCrc pvmqRr05UadiDdig1RSFHng335htlbEtFgnCbyF7ad+bqT28W4WlE9Ub3D3DwBXlRgZE hwVStBfdscusH5YqL1yAxnyLljgsCAgReq6T+JijlYWS4dTWwnkjNCqVYhW0A5LBJzxs f1ZRci02FdzdCHHsJ7drsdDOX8EydEeYUtTUN4J1I+b/8RiGiH1A8tNeJK7NerDKoD3a nP7Yrgt2wwQLVl+xo83SoAL0GrZgOjXrCQPLkHjpqcg1Ejp4sGn7nRyO2Vp+uzf7z6Zj 2YZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779485632; x=1780090432; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Z9LGZE9LUGiUFHbvTe+3X1oZ8+Pw+tBYCwgcLVodZ8Q=; b=ORyB4ujqdziZ9MVdcARztAvyBj76EZ/Y9MRtxhF1ustQ7S42/ocecgo0HliY4r4zmC HquidzBFxtKjGtRK1bEYTS0/yD5TCNvfZF2BvKeTPZGGPqYTeEjFBx8NSteesV8o686X KAZnazpx00hyPLvkdGAu/EqVPW18JJvMYDAd/hhSYlO0+4wwuLX1pn7MNHh+kMAhIigp iphOqWVjNpRUZh2r1fMcTeLEol5OgkGK1yjcjX4w81SuaVwxfBZAacfWdvGDebl38DN5 IwjFGQf2idMvM66aFhcRhkN7ao3/toBzIiH6iCg0dI5lakaMNJNs8nYZOG98fIoMAlSM naZQ== X-Forwarded-Encrypted: i=1; AFNElJ8PUqyDAzbwnHNnywwrbEYdNQ81ChCoDhWZV60rvajA388T+Kz2IE3GCWnTJA890HZcY0ERLl0VLKxYRXQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yx45zZfE7PLWwn+B1PxOx+3JxqtMSCEb4EvxabsdR/Xe9KnVPkS S+Y/WkYFeudskr4WguG3SP4pTuU4GPmYRaHezrZJ0R0S3ceKzBksrhw7 X-Gm-Gg: Acq92OFWOBMIaobO510lRqp9xM91Khtwlrk0Qcryun0QkGf83ZEdABiNVKDrCa7zlNz tAD3u6DuftDoHgCxGqPgrmoRGg79CKgGgl959iZy97cdKY02WLjZLxjJfxTOR8AaRyR/TuodBMd Yl6WrFwxxK0ZAscsVxczK6i1yJoLIUf10/RRT1jftNGA0hZwAjD/xbIL7g9vSzxJF1gq11gNNnx YViuKVNvEsypvvtZNNxShA0vspvN71caoDezreMyQyrcWU7R1gZxtqGQ6GMoobEmk9RTA1vJPy0 Eprske1RFLIXv9HaqB6Uupy/sEbLuPIKfwjV5+MbqHBzubJgoz1jj4V0QWOEqlCg2kv8PpePdUL Q/xgby83miqvGTl0RuLwetVhrdKjBx0Hv0NAIMjg9oyrDMqcSjoOhVI8wdQi/ZfGnlt3D5FHvPq S8svdrPFSsOP75mbLy9LDXCggigeFPX96CwackBPbitACurgblFd8i5cJU0I/NdC3fPRMLfNuDy zZ5+iDcJX5Cdw== X-Received: by 2002:a05:600c:4706:b0:485:3abe:ab86 with SMTP id 5b1f17b1804b1-49042487e09mr73282765e9.4.1779485631817; Fri, 22 May 2026 14:33:51 -0700 (PDT) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49045282201sm77281575e9.8.2026.05.22.14.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2026 14:33:51 -0700 (PDT) Date: Fri, 22 May 2026 22:33:49 +0100 From: David Laight To: Arnd Bergmann Cc: Ingo Molnar , Arnd Bergmann , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Peter Zijlstra , Will Deacon , Boqun Feng , Gary Guo , Yury Norov , Rasmus Villemoes , Boris Ostrovsky , Alexander Usyskin , Tony Nguyen , Przemek Kitszel , x86@kernel.org, linux-kernel@vger.kernel.org, linux-um@lists.infradead.org Subject: Re: [PATCH 8/8] x86: simplify 32-bit instruction set selection Message-ID: <20260522223349.155dfe20@pumpkin> In-Reply-To: <20260522141959.1071595-9-arnd@kernel.org> References: <20260522141959.1071595-1-arnd@kernel.org> <20260522141959.1071595-9-arnd@kernel.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 22 May 2026 16:19:59 +0200 Arnd Bergmann wrote: > From: Arnd Bergmann ... > Change the CPU selection to build everything with either -march=i586 > or -march=i686 and make the specific options only change the -mtune= > parameter where this was previously handled by -march=. Note that > the only -mtune= options that gcc or clang understand for x86-32 > are i486, pentium, pentiumpro, pentium4, atom, geode, k6 and athlon, > the other ten are just aliases for one of them. Hmmm... That rather implies there is nothing for anything designed in the last 20 years. No wonder code generation choices look strange at times. You don't want to pick p4, so I guess either p-pro or athlon? But neither is really anything like even Sandy bridge. -- David