From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 21ABD3857BB3 for ; Wed, 23 Aug 2023 23:21:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 21ABD3857BB3 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-pf1-x42c.google.com with SMTP id d2e1a72fcca58-68a41031768so2740703b3a.3 for ; Wed, 23 Aug 2023 16:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692832899; x=1693437699; 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=hrbBfnhiPXf227nsSdXvqZAxEsPxNEqCQBp+rzu/CyA=; b=VJwQzEMu9dvcIknfIdR0UdgKV/8Fc7JB7pGF9iisO1TlnTVMqA7O4bhvuUfMBo/FIx BCmztZO6Con3PSpzX/E4s8+MZhw7YBFDkuB/LR2LwH3r7vXFJLyZi6aunlCrW7f8E+Uz M6JiCC1Hs1HuaW3A3m7NQpxgvS379k6tfBKFttX5eR+cJK9NNLl/mkjUjBkqf4q8FFpa VeUG69xhfmQjD3SEQ9ApmwCgACSgFt6XEYbwP+af3sNTubihpabqHdLaRWrb4yyLFCF4 qyWlapEBlrEagzDdHEd31s63SEt82ZnBPpOE/O89ISgI98XEYGzK1/2ruKf5tvg69HxE o58A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692832899; x=1693437699; 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=hrbBfnhiPXf227nsSdXvqZAxEsPxNEqCQBp+rzu/CyA=; b=EK+5cn/1WYjK6UXadFp/b5Jb3Di8b++unOr4MbAprJTq+UcyBZU15VMDXIx+MMr4ZL 32cF4+VdMPiadrUJCuIemHKk8HbfR6KEdJHPB2xx3RxKbvbW1PUbkM7OweNebmqpsqTu E9k941dFOy+R7RJzwLf3tDWTEVhsO9/sFno4NzaheblmFJ69V4LCLMZbYINmZaDXik3q iB3RQDo46ZC/jZOoxGBMJlVN0+PhJw3FINwBSjYrf/sSszvMkPTYH6Hq7lHlJRez7HZy tGYeZEMLjJJKXTHPYTy4B9RWu5O5g3WC05JBx26QQ4Ftbox48l/WvTwlLQ8wEucWm1Xc +63A== X-Gm-Message-State: AOJu0Yx76kyo1LlW/Lv3d0ipXsc1ughwFHU8/sIJP+wUUNRziUsTuoCI 5Yak+ZnGwUa5mzHhzDxiaUg= X-Google-Smtp-Source: AGHT+IFAoC1tg5gvt+EyjR0c/AII/MCFPMmHwyBx5EnKE7aqa4FzvLULbKFgbqMRKa9jk/5xzWJr4w== X-Received: by 2002:a05:6a00:15d0:b0:687:3f06:5939 with SMTP id o16-20020a056a0015d000b006873f065939mr14944903pfu.32.1692832898807; Wed, 23 Aug 2023 16:21:38 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id bu30-20020a63295e000000b0056456fff676sm10122884pgb.66.2023.08.23.16.21.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Aug 2023 16:21:38 -0700 (PDT) Message-ID: Date: Wed, 23 Aug 2023 17:21:37 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] RISC-V: Add initial pipeline description for an out-of-order core. Content-Language: en-US To: Robin Dapp , =?UTF-8?B?6ZKf5bGF5ZOy?= , gcc-patches , palmer , "kito.cheng" References: <80530cd8-b0b6-43af-48b1-6e6cccfe5d6d@gmail.com> From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.8 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 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 8/23/23 08:56, Robin Dapp wrote: >> Does this patch fix these 2 following PR: >> 108271 – Missed RVV cost model (gnu.org) >> 108412 – RISC-V: Negative optimization of GCSE && LOOP INVARIANTS (gnu.org) >> >> If yes, plz append these 2 cases into testsuite and indicate those 2 PR are fixed. >> So that we can close them. > > The second one is fixed on my local branch, the first not yet because there > is more to it still. The second one is more due to pressure-aware scheduling > and I'm going to add it to the commit as well as the PR to the commit once this > is verified. Basically there's a little conditional in IRA which basically says don't rematerialize constants at their use points if register pressure sensitive scheduling has been enabled. So turning on -fsched-pressure helps, it's a bit of a cop-out, but probably good enough for now. Jeff