From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id B461D396E836 for ; Thu, 17 Nov 2022 04:27:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B461D396E836 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x536.google.com with SMTP id n17so908284pgh.9 for ; Wed, 16 Nov 2022 20:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Wpd8sZXswIcKvU+cm+Gz9faWl8G6RAIvhWyTsCTPxps=; b=DqEhmGYKY5X4OKjjaz+rz7N9RVnu5Vz0ejWs6q9oOhfDkrVOBm7gwLZWX2lsEL8QpW fCX4iJmDlpB63YanFOiaxzvwlzYfD6NZEledrmsfQV1Obt2Beekf6DH4Ew+yvPRXTUul WIiAMS002uSt+SqTsyX3tk2532hmcs0mOFZQr6GSJ1pFci47GKnKXVnTVx+RyrEv3mZr tzGvILY1rdxtB5Sf8Ue/H11WPT/Ayz/2Twm06jG5eJ3jBMXulbxtxQwnKUf4TBQFXaRF thq1e0iqZC8sqYswgy5204NDu4dzxT7q8Bnvw3sA/71c0ekvdH2qsMWsSgDnPgC1Vljb /L4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wpd8sZXswIcKvU+cm+Gz9faWl8G6RAIvhWyTsCTPxps=; b=Oqc7ixfodJPEGck2E8gKZq8lI2QLIO02HbFZ7ONRVIsS8SbQCeXMmq90+9u8eQ296v dKlirsTY8linKn258r6oHCXKLa6igcargIUvXLfaxDdUKlUbDZ/UHeiV7b7mKy6GfIUF 0VnlMVK+dbIu8j+i1sq1/Xmz7ajeH7+xAE792HtM7bl7S0I7i4pkR9YFfKGqA+LtYjvW ifV+izJZCa48PKHk20DOeG4UYvBs1VNibb9IV/FDzLw/bOM9r1RxrhnrlOIlZ3dKdudh e5Hnl2v2iMObPPFX8xH8Tc04EgRjOOYN/3IMzJpUAV9eMUM5AopsLk9QvWXbsyAjPYsj iilg== X-Gm-Message-State: ANoB5pl0kyi3pxxD5lq7Uh4X28Ap7rFJZ8Z2Hl/LXo27O9/KmwVMDd6f jSAt/wi/NdyDxbzvw2LL4eM= X-Google-Smtp-Source: AA0mqf5JBusPtIhFQEgytBSdAI/jLhVbY5VKdk8dxDL3PMLTbylxrhSg+k86/HwyMphf9ISLuYcq9g== X-Received: by 2002:a62:840e:0:b0:569:9649:1e08 with SMTP id k14-20020a62840e000000b0056996491e08mr1400798pfd.0.1668659272560; Wed, 16 Nov 2022 20:27:52 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id t5-20020a170902d14500b0018703bf42desm13100082plt.159.2022.11.16.20.27.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Nov 2022 20:27:51 -0800 (PST) Message-ID: <4d554ace-be16-f67d-481f-8c045bd78c63@gmail.com> Date: Wed, 16 Nov 2022 21:27:50 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] invoke: RISC-V's -march doesn't take ISA strings Content-Language: en-US To: Palmer Dabbelt , gcc-patches@gcc.gnu.org References: <20221107185801.326-1-palmer@rivosinc.com> From: Jeff Law In-Reply-To: <20221107185801.326-1-palmer@rivosinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/7/22 11:58, Palmer Dabbelt wrote: > The docs say we take ISA strings, but that's never really been the case: > at a bare minimum we've required lower case strings, but there's > generally been some subtle differences as well in things like version > handling and such. We talked about removing the lower case requirement > in the last GNU toolchain meeting and we've always called other > differences just bugs. We don't have profile support yet, but based on > the discussions on the RISC-V lists it looks like we're going to have > some differences there as well. > > So let's just stop pretending these are ISA strings. That's been a > headache for years now, if we're meant to just be ISA-string-like here > then we don't have to worry about all these long-tail ISA string parsing > issues. > > Link: https://lists.riscv.org/g/sig-toolchains/message/486 > > gcc/ChangeLog > > doc/invoke.texi (RISC-V): -march doesn't take ISA strings. No strong opinions, mostly because I don't have any of the history.  I'm happy to go along with the consensus here. jeff