From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 7C4893858D1E for ; Tue, 25 Apr 2023 05:55:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7C4893858D1E 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-x530.google.com with SMTP id 41be03b00d2f7-51b661097bfso4196401a12.0 for ; Mon, 24 Apr 2023 22:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682402146; x=1684994146; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=PAhA0uGnNCr3ezgDfzlOJmwH7QJSioJs1x+5sRZH0GI=; b=e9EgHtgjHNJhUGmBJEdVifuQIhkq4WVUWjLvlqVL7cjMRzStKsgRwGnYXYmqPY54i8 E7a2HCLe0HefH/ncflyhZlqOELzkN6t2GLsILLCTBuGtn1EQyykkJOx1GkmTEW0zqsUR jEOcTgem0LpcZNcKO4rfynWOHhgS9lNnl+gEjtlGQPKY/3dwLnQEzKwyIuofWoW5w+aj NgCY70EsqXPXHgPvUDEQLcCSp3SxgCcERJ295uduq82dEoauxYKF5IakD5Bh3ITLIwge 2KCxjTmR4mrGbL21g4lmxoJ1h/tVSfSm9oJ73BOlSUgy6j7JBECRqwU/Jpqe7Q97OFo9 m0PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682402146; x=1684994146; h=content-transfer-encoding:in-reply-to:from:references:cc: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=PAhA0uGnNCr3ezgDfzlOJmwH7QJSioJs1x+5sRZH0GI=; b=PMJGD3IwIiAr7uAx6C5fOeXPJyqjDyRbp5l4AaP1avDCkObm5pUmR2L/ipvUimJG/A hSpqEZE45uXieh9CiRv6P6RZgqw2hJE+4rPpfxpwnLntlC0NBW3oTFX4jTjcigILLp5Z oFaJ/7NvK8UX1LpfAAXmyMOf7GL039eAoPBpfHW6F8oP/nFS5mDJcV9Ro3BD8EoKVRoo HpdAy0f6h61JsMaVNTd6jVVFLZhZywcEa/P2CK/rr4yM7qxiNsciYibhoDrZjZocymmC G5Kbv1o4g1oVofCmGMsLaWPpmWMHPlgVLxnQqpgnq2zghTEkYR1tovaZ1F9T+Jz00X43 6usg== X-Gm-Message-State: AAQBX9dhksZSuR63jOe90LsIKAmT1ko7VTQ1BvUpkIY0vM8QwOy+vSzk 6NO6ecwcBFpo/GFFhFW5tF0= X-Google-Smtp-Source: AKy350atRzY98qHG4LnF7Ixs7KP0oKkHjEtSQ/O9Sn8G/oSlRVnT5t/0TdeQ99lcOOHxEE29Ty93ow== X-Received: by 2002:a05:6a20:7d8e:b0:f2:bfe1:4867 with SMTP id v14-20020a056a207d8e00b000f2bfe14867mr14092998pzj.17.1682402146165; Mon, 24 Apr 2023 22:55:46 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::99f? ([2601:681:8600:13d0::99f]) by smtp.gmail.com with ESMTPSA id q25-20020a62e119000000b005941ff79428sm8654698pfh.90.2023.04.24.22.55.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 22:55:45 -0700 (PDT) Message-ID: Date: Mon, 24 Apr 2023 23:55:44 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] RISC-V: Fix incorrect condition of EEW = 64 mode Content-Language: en-US To: juzhe.zhong@rivai.ai, gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, palmer@dabbelt.com References: <20230407011143.46004-1-juzhe.zhong@rivai.ai> From: Jeff Law In-Reply-To: <20230407011143.46004-1-juzhe.zhong@rivai.ai> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,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 server2.sourceware.org List-Id: On 4/6/23 19:11, juzhe.zhong@rivai.ai wrote: > From: Juzhe-Zhong > > This patch should be merged before this patch: > https://gcc.gnu.org/pipermail/gcc-patches/2023-March/614935.html > > According to RVV ISA, the EEW = 64 is enable only when -march=*zve64* > Current condition is incorrect, since -march=*zve32*_zvl64b will enable EEW = 64 which > is incorrect. > > gcc/ChangeLog: > > * config/riscv/riscv-vector-switch.def (ENTRY): Change to TARGET_VECTOR_ELEN_64. This is OK for the trunk. jeff