From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id D950D3858D1E for ; Thu, 3 Aug 2023 14:08:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D950D3858D1E 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-il1-x131.google.com with SMTP id e9e14a558f8ab-34911a634edso3882535ab.0 for ; Thu, 03 Aug 2023 07:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691071736; x=1691676536; 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=QYA8k2j9z1E+cff0p8Ke8Z8ZYR69AGP2SuTA3wA6/4E=; b=EwNZPa2cH7jMlOeJ+SuQW8tFRQ5spqyVQcKNH9Zk7/KWj3BK6Ms7pPCd0mTiTU79XL Yb3cdGqk2TvUdsOk6aYh7N6Yc/KinJSJ9kRNpxw1KB7RSnK8BovJ7huJ+pbiIE4vBZLs JwqV47gdA2GNm8sgEfjtGlLW2c5jtvh//6VsCX6iBQ4ImXYZXZNbt4ruk34PZCZjaBEv U2ZWgCRZGiM2guVGW6CBdkOVE2ZfWOV6bKD+y/8G1oxOMJGIdoywdu3rDp43tXBpePMT AyoBSe8gbpISjosg+eX37BLUd878PeXNwNAqFxHVcYk8txsX6tIeCGovjvzm77qjHy8b mziQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691071736; x=1691676536; 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=QYA8k2j9z1E+cff0p8Ke8Z8ZYR69AGP2SuTA3wA6/4E=; b=Jn2OO3Y6jAAWRbld92W/q2BMWXPdP7FaNMfbqLo/doYb6qSIqiXlkk5O4htzU3nvH9 jZd5KmOJo6U+hRM6+ntQypOB6sxYeKf/Ueu2w2GGhgMqUUQfimwQnLEMD7w8OCTJ9GaE xABgTJ+b8KsM9/3YtsqttJf615B2us4tr+muo7mKEON2FqFtKyQy65xrkKx5/VL+h02j xiO0daIPwGyo2bBlHmyWzrAkWSVVJ8LrSLu6UN08hC7s1EVnqpjQcls+ObuWd9U7nLVU sNFo86xD7n8q70TzRIcVt8KvbrOzzVtmsRS5WqHDdgvxdwuXT04hflXjS4etHd/N5cq/ LuNw== X-Gm-Message-State: ABy/qLZ+FlSUINkgg7doxys4GcudD4XMUX9AIrV0EIcToIrOnWW3Eg5l hKkQCx97bNPVQCE/ldB21ws= X-Google-Smtp-Source: APBJJlFpEUdIkiMjpgj3MPL1qMNo5SjhNy+u433G/LA09WfHMmj0qcf/tlqM1NVMkCbNRrPpiHMpAw== X-Received: by 2002:a92:c248:0:b0:348:f4c1:4817 with SMTP id k8-20020a92c248000000b00348f4c14817mr19923726ilo.6.1691071735936; Thu, 03 Aug 2023 07:08:55 -0700 (PDT) Received: from [172.31.1.103] ([172.58.35.95]) by smtp.gmail.com with ESMTPSA id h11-20020a92d08b000000b00348ac48e127sm4751ilh.33.2023.08.03.07.08.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Aug 2023 07:08:55 -0700 (PDT) Message-ID: Date: Thu, 3 Aug 2023 08:08:53 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 3/5] [RISC-V] Generate Zicond instruction for select pattern with condition eq or neq to 0 Content-Language: en-US To: Kito Cheng Cc: =?UTF-8?B?6ZKf5bGF5ZOy?= , gcc-patches , "kito.cheng" , Robin Dapp , zengxiao References: <112f5c53-4809-b71d-2296-dfaebde733cb@gmail.com> From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no 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 8/3/23 07:56, Kito Cheng wrote: > I am working on that, it seems the cost of vsetvli instruction become 0 > due to this change, then loop invariant motion won't hoist vsetvli longer. I haven't looked yet (generating baseline rvv.exp data right now). But before I went to bed last night I was worried that a change snuck through that shouldn't have (changing the toplevel INSN/SET cost handling -- that wasn't supposed to be in the commit). I was too tired to verify and correct without possibly mucking it up further. That'll be the first thing to look at. THe costing change was supposed only affect if-then-else constructs, not sets in general. Jeff