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 099BB158020 for ; Tue, 18 Oct 2022 15:12:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A502E0839; Tue, 18 Oct 2022 15:12:13 +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 C1D1FE0824 for ; Tue, 18 Oct 2022 15:12:12 +0000 (UTC) Received: by mail-yb1-f175.google.com with SMTP id y205so17300803yby.13 for ; Tue, 18 Oct 2022 08:12:11 -0700 (PDT) X-Gm-Message-State: ACrzQf3U1k29LJvhy7cPCTW6G3RSaylL+Qw6veoqdUbJZvgkEHm8kgOj pOHo9jIzeoPp1HyUtNhpWvU0OsTHyPdIIfBLQBk= X-Google-Smtp-Source: AMsMyM7/3j9Ky3rBP04QpBtF/qLaJKLMvV8gq7BFIIzaJ5zbsn5niqr2T42szQpBEY48enHz1PHHmVhiXMsYlAxig6E= X-Received: by 2002:a25:f311:0:b0:6bc:2bae:61d9 with SMTP id c17-20020a25f311000000b006bc2bae61d9mr2906888ybs.247.1666105929777; Tue, 18 Oct 2022 08:12:09 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <20221018015755.332526-1-floppym@gentoo.org> <0f7b6a9e1cab0f9f388bf56b76535bbabb110978.camel@gentoo.org> <34d37b96449821c47e0ddd560fef71cc30aaa79f.camel@gentoo.org> In-Reply-To: <34d37b96449821c47e0ddd560fef71cc30aaa79f.camel@gentoo.org> From: Mike Gilbert Date: Tue, 18 Oct 2022 11:11:58 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86 To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 4965d8a5-d1c8-4aa7-a7a9-8ae54ed66c19 X-Archives-Hash: f883dcd1302a72d6fe253edf58fc6abb On Tue, Oct 18, 2022 at 9:37 AM David Seifert wrote: > > On Tue, 2022-10-18 at 13:40 +0200, Ulrich Mueller wrote: > > > > > > > On Tue, 18 Oct 2022, David Seifert wrote: > > > > > > > -CFLAGS_x86="-m32" > > > > > +CFLAGS_x86="-m32 -mfpmath=sse" > > > > > -mfpmath=sse is already the default on amd64. > > > > I see. This change makes sense then. > > > > What about profiles/arch/x86 though? IIUC we'll end up with an > > inconsistency between x86 and multilib amd64. > > > > Ulrich > > What if I want to build Gentoo on an old AMD Thunderbird which has > neither SSE1 nor the more important SSE2? Right. On amd64 CPU always supports SSE2, so -mfpmath=sse will always work there. On x86, we need to consider a more diverse set of supported instructions.