From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id B85B93858C52 for ; Fri, 11 Nov 2022 18:51:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B85B93858C52 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-lf1-x12f.google.com with SMTP id j16so9530542lfe.12 for ; Fri, 11 Nov 2022 10:51:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kyKej6/R9vUqyUI88a4OKPg9W5bHmUpBCn6Xr3A/Y3Q=; b=ezi+cgAKdrCOK97iInefrZxHwf8y6RfMVlHGJNKYSfzQr9nEDn4rJcboUxTG77Tw/4 PtvqeK/+8RjQo9Z6n1VGy6EGpKMtrd0HNC+vUqznGWtiuVIqZgGbiJGcvI9/6n5bRfsd N4VVta19MOpwfYufxAdXLEr6KmSjY9ODl5z68mFYjC2+rmxhNH9yT4yhViHmw5VO66A6 NzeQHFmbe81mBas1xJ68FS34bdn64/V96/qNIdgDSeAmO/H//NzihfRtdLxh4Iiab8xI 7ERVXU0RmRIPcD3Eluo7EGo+InHlL06raYTOM5IAznDK19PHYhg03D0LsrCb19ZPBZQ2 K0OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kyKej6/R9vUqyUI88a4OKPg9W5bHmUpBCn6Xr3A/Y3Q=; b=f9ZQMdEPjzgPtl3kI1V0wtMvpvWxPE8JuTFTpK+FRcJt/3rHjmf5gNwCZeLZSEz+j+ ObocpCgSiDKeYDmRJBtbNCG7JPV7213MBzd28Pn/GIOZbNhgQs23SdKX4u2uq6P3fcqu 33xze9rcS1LdaGdxyDIXJu3z5b0My4R2wAXYskFJrG5izZpaAY1s4tJjrSz1m1QySRut WqYjOkxTOnknqVt08gR00oMLjAhrJ/et7aJaNJTJpSjzgebTcSvJ4ji7OC7yX3da5nhW aKglilHraqwifLdgkLDZRjzbpZI5iZZjVW6kadUSoezjM7vFRGO0h4Ktgwe1QEbGhbaN BcIA== X-Gm-Message-State: ANoB5pnGHP6cwP1vPD7nkYkr4wCZqqAsWLth95Aj5wB0Tj2KreZgs5gX 4/glsJLy0ti6OdXRLxxqCsOlybPe+UowpVCHRjcnsA== X-Google-Smtp-Source: AA0mqf6gvBnRwWLtKLcQGmAot7jxxlC6yL7ZfWmuPWUV8w2IhN4/OdTd+wrjOA8FvUFAeWuWO4waU/wXFi/MHsjKWik= X-Received: by 2002:a19:6442:0:b0:497:a17d:d848 with SMTP id b2-20020a196442000000b00497a17dd848mr1128964lfj.381.1668192697230; Fri, 11 Nov 2022 10:51:37 -0800 (PST) MIME-Version: 1.0 References: <037c79a6-037a-768d-3794-abd065d41831@inria.fr> In-Reply-To: From: Kevin Lee Date: Fri, 11 Nov 2022 10:51:26 -0800 Message-ID: Subject: Re: Different outputs in Gimple pass dump generated by two different architectures To: Andrew Pinski Cc: gcc@gcc.gnu.org, Marc Glisse Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,KAM_SHORT,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 Fri, Nov 11, 2022 at 8:39 AM Andrew Pinski wrote: > > On Fri, Nov 11, 2022 at 12:57 AM Marc Glisse via Gcc wrote: > > > > On Thu, 10 Nov 2022, Kevin Lee wrote: > > > What would be causing the difference? Is this intended? Link > > > for details. Thank you! > > > > See LOGICAL_OP_NON_SHORT_CIRCUIT in fold-const.cc (and various discussions > > on the topic in mailing lists and bugzilla). > Thank you for the pointer Marc! > I filed https://gcc.gnu.org/PR107642 to cover the issues around > LOGICAL_OP_NON_SHORT_CIRCUIT and BRANCH_COST. > I hope to get some time in the GCC 14 timeframe to flush out some of > these target macro/hooks issue where the > definitions are not so clear. > This PR was a great explanation for the macro. Thanks!