Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp631820imn; Sat, 2 Jul 2022 02:42:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t696J4No1ksBnI/GyHWNRc89BBtOwR25iLkhskpxSi0oDD3GmsAZ8F4DNf5hbSIzoH5/Yu X-Received: by 2002:a17:903:110c:b0:168:9cab:bfb with SMTP id n12-20020a170903110c00b001689cab0bfbmr24983494plh.101.1656754934463; Sat, 02 Jul 2022 02:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656754934; cv=none; d=google.com; s=arc-20160816; b=SBf2DZk64SVvbbc4sUS/F6x65An0PL1+n+zKEOjz/JwaMRQVAaCuxXW5KGNxH90FAH kViGkwqQTTNwzbjWefVUmjnnsOjj8tH31C3FfChz6E6VlZF37n3HWKehT/T6GrBftvRu f5Zwf64KPpt4m8EQO1367lvgYfk1cJxMDK2dtbjKRjWtKOLV8unMqO5If0/JgeZtIGBG ZQdRX2zPEFXVsERvGdc7p7AMyjHnohrno5bGZsC1kS4cCPrN8Jkfphr9wquT8Tc6iGp5 FfeQl080MY2Xbch6+tw7Mx3KRMw6GOvySnmXE67Qy4dX+2VoC8A+H9a+EPdXrnbRBQ8n nfsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FJ1MSxYCOh+YUx21MDTvtmaytdxZT8ce2+VNxc/KpZo=; b=x0rt7TBVnVu1NML7rgH01kxfFlM1j/R62rGD36PWo5skVl80u5ynm3thD7+nbmAJGa Lsjq2MRH5k94rvyx7d6E2zq5r+VDtjEOVLs4hp+CgOcCd3kdCOE4xzk3vAEsSoWxHjNM RDQCNT/4G2z+4DzMna9OVWomYjJQyb5N5QTJdJml4h1rECiyFyR+7sqX3JaH1fzWsNvy 48+FzAqqvhZolCZIVewhooQPFHx6V2Yt61i9rQv+zVVwESRoV92Ttr8XG1rAMFUYhFPN enjMZ3LzK2g3qlm+ixIhlxTqegtE8kfsN4QxuTIt6Va4AS2wfnnLEpBn78cLQJ764EMO WuIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qjVlZJuY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k193-20020a636fca000000b0040528e32768si6249647pgc.659.2022.07.02.02.41.58; Sat, 02 Jul 2022 02:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qjVlZJuY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231920AbiGBJj6 (ORCPT + 99 others); Sat, 2 Jul 2022 05:39:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbiGBJj5 (ORCPT ); Sat, 2 Jul 2022 05:39:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D69F4B4A2 for ; Sat, 2 Jul 2022 02:39:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 71C5560B22 for ; Sat, 2 Jul 2022 09:39:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA6E6C34114; Sat, 2 Jul 2022 09:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656754795; bh=sNB4SSev9GGBp702mzMS6UGh+tOd6kOa4UDTbCW0xXc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qjVlZJuYdsPcA+gR+qKyRz4Ssc0rWw008xgaxYEVorFvWUrm+DAuEIHyRIAeoC4rT rosc5GYX2ScJtXc5LspG8095kJSZeU3xXF2EYclkSgI5TY5kXlr+7gNzZzuclbb7BD e4rr3mxXLExQrFO2xa1Jxm9F4/GiC+lWliXhf5rXFA27qvxJbvp581Cvob6ocCI0Tt /XF4Vix2yitYy8XZldPmKjuqjopiKh61D0WWb+Lq3j6fmcMUhzBVWfZaFq1f0SD/lI xMoz3B+ORU6oJY5+LfT+cf8wdFpuquf4uuAXdEeMCYkhiVpfSVUea+/qUwz/3ZOe0j US4sd0E3DRoYA== Received: by pali.im (Postfix) id 833EC777; Sat, 2 Jul 2022 11:39:52 +0200 (CEST) Date: Sat, 2 Jul 2022 11:39:52 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Segher Boessenkool Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: e500: Fix compilation with gcc e500 compiler Message-ID: <20220702093952.ir7ctqsianztocik@pali> References: <20220524093939.30927-1-pali@kernel.org> <20220524175955.GI25951@gate.crashing.org> <20220524181255.bmszzxmbwzv7zed7@pali> <20220524185247.GK25951@gate.crashing.org> <20220524191610.hnodzz2j7mlgthey@pali> <20220524195216.GL25951@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220524195216.GL25951@gate.crashing.org> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 24 May 2022 14:52:16 Segher Boessenkool wrote: > On Tue, May 24, 2022 at 09:16:10PM +0200, Pali Rohár wrote: > > On Tuesday 24 May 2022 13:52:47 Segher Boessenkool wrote: > > > Aha. Right, because this config forces -mspe it requires one of these > > > CPUs. > > > > > > You can use a powerpc-linux compiler instead, and everything will just > > > work. These CPUs are still supported, in all of GCC 9 .. GCC 12 :-) > > > > Ok. I can use different "generic" powerpc compiler (It should work fine > > as you said, as it has also -mcpu=8540 option). But I think that > > compilation of kernel should be supported also by that gcc 8.5.0 e500 > > compiler. > > That linuxspe compiler you mean. Sure, why not, the more the merrier, > as long as it doesn't get in the way of other stuff, I won't protest. > > But please don't confuse people: you are talking about a > powerpc-linuxspe compiler, not e500, which is supported just fine by > current GCC trunk still, and does not have such limitations :-) > > > Segher I think the confusion is the calling "generic" or "stripped" compiler without SPE support as e500 compiler. The "true" e500 compiler has support for both both integer and floating point ISA and not just subset or just one type.