From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by sourceware.org (Postfix) with ESMTPS id E4DBB395B81F for ; Thu, 27 May 2021 19:58:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E4DBB395B81F Received: by mail-pj1-x1036.google.com with SMTP id o17-20020a17090a9f91b029015cef5b3c50so3049889pjp.4 for ; Thu, 27 May 2021 12:58:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=IiOjqYW8KaRCe/r0V+vfnL1+VKrA2Ll5iqxMqFqBRks=; b=XngvOUaqaCxXMNzr/YSVpsyKPGLYCYrqUNw13eyf562IuF+E1evHwK0rk9SyghiPXG BaQmtUkCbQxvj4XZ2xfOhY6pWaPtWhgzI6P4BVsG0BhxJiQM6PtxSLQgERrJSEAYF/lL PWzZMdiJjQNqAmJiOuumz8BWaFGk5KSz/nu4m0cDq/HgsrfO5U6lltFzKRUXNK5mMEZB 010cf1wNTLI7GV9QPyWi4NQk4ep2Bcr7OxGpft+eAAfKRd4h1cGYP9GhqHnA2PknSZlk ZOGPW0ZMRt1p+FgzUcpbXBQOi300LjEzSrflTJpUR8CJkbxTFqRRPotvsxMbm8KleLVH oVPg== X-Gm-Message-State: AOAM5327fmUXv3d/fj1mB2QTSzHCDA0xQUTYun/ghIaEwkpVclbNxx4L x2++QQwPbff3VcWhfUV/HAkVu6jtvHY= X-Google-Smtp-Source: ABdhPJx0M+Wk30koExQmmArN7wYJtVigPe94TsSgWTD3n30vO2Yvlw2VxWhicFkEIzZBVFLyXl/iMw== X-Received: by 2002:a17:902:7b8e:b029:ec:982d:7a7e with SMTP id w14-20020a1709027b8eb02900ec982d7a7emr4630089pll.55.1622145492544; Thu, 27 May 2021 12:58:12 -0700 (PDT) Received: from gnu-cfl-2.localdomain ([172.56.38.102]) by smtp.gmail.com with ESMTPSA id d3sm2607990pfn.141.2021.05.27.12.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 12:58:11 -0700 (PDT) Received: by gnu-cfl-2.localdomain (Postfix, from userid 1000) id 221E3C0356; Thu, 27 May 2021 12:58:10 -0700 (PDT) Date: Thu, 27 May 2021 12:58:10 -0700 From: "H.J. Lu" To: Segher Boessenkool Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Remove CC0 Message-ID: References: <952b5c888a98df98249088d81e954d64fad88827.1620082370.git.segher@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <952b5c888a98df98249088d81e954d64fad88827.1620082370.git.segher@kernel.crashing.org> X-Spam-Status: No, score=-3028.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2021 19:58:15 -0000 On Mon, May 03, 2021 at 10:55:36PM +0000, Segher Boessenkool wrote: > This removes CC0 and all directly related infrastructure. > > CC_STATUS, CC_STATUS_MDEP, CC_STATUS_MDEP_INIT, and NOTICE_UPDATE_CC > are deleted and poisoned. CC0 is only deleted (some targets use that > name for something else). HAVE_cc0 is automatically generated, and we > no longer will do that after this patch. > > CC_STATUS_INIT is suggested in final.c to also be useful for ports that > are not CC0, and at least arm seems to use it for something. So I am > leaving that alone, but most targets that have it could remove it. > > Is this okay for trunk? > > > Segher > > > 2021-05-03 Segher Boessenkool > > * caller-save.c: Remove CC0. > * cfgcleanup.c: Remove CC0. > * cfgrtl.c: Remove CC0. > * combine.c: Remove CC0. > * compare-elim.c: Remove CC0. > * conditions.h: Remove CC0. > * config/h8300/h8300.h: Remove CC0. > * config/h8300/peepholes.md: Remove CC0. > * config/i386/x86-tune-sched.c: Remove CC0. > * config/m68k/m68k.c: Remove CC0. > * config/rl78/rl78.c: Remove CC0. > * config/sparc/sparc.c: Remove CC0. > * config/xtensa/xtensa.c: Remove CC0. > (gen_conditional_move): Use pc_rtx instead of cc0_rtx in a piece of > RTL where that is used as a placeholder only. > * cprop.c: Remove CC0. > * cse.c: Remove CC0. > * cselib.c: Remove CC0. > * df-problems.c: Remove CC0. > * df-scan.c: Remove CC0. > * doc/md.texi: Remove CC0. Adjust an example. > * doc/rtl.texi: Remove CC0. Adjust an example. > * doc/tm.texi: Regenerate. > * doc/tm.texi.in: Remove CC0. > * emit-rtl.c: Remove CC0. > * final.c: Remove CC0. > * fwprop.c: Remove CC0. > * gcse-common.c: Remove CC0. > * gcse.c: Remove CC0. > * genattrtab.c: Remove CC0. > * genconfig.c: Remove CC0. > * genemit.c: Remove CC0. > * genextract.c: Remove CC0. > * gengenrtl.c: Remove CC0. > * genrecog.c: Remove CC0. > * haifa-sched.c: Remove CC0. > * ifcvt.c: Remove CC0. > * ira-costs.c: Remove CC0. > * ira.c: Remove CC0. > * jump.c: Remove CC0. > * loop-invariant.c: Remove CC0. > * lra-constraints.c: Remove CC0. > * lra-eliminations.c: Remove CC0. > * optabs.c: Remove CC0. > * postreload-gcse.c: Remove CC0. > * postreload.c: Remove CC0. > * print-rtl.c: Remove CC0. > * read-rtl-function.c: Remove CC0. > * reg-notes.def: Remove CC0. > * reg-stack.c: Remove CC0. > * reginfo.c: Remove CC0. > * regrename.c: Remove CC0. > * reload.c: Remove CC0. > * reload1.c: Remove CC0. > * reorg.c: Remove CC0. > * resource.c: Remove CC0. > * rtl.c: Remove CC0. > * rtl.def: Remove CC0. > * rtl.h: Remove CC0. > * rtlanal.c: Remove CC0. > * sched-deps.c: Remove CC0. > * sched-rgn.c: Remove CC0. > * shrink-wrap.c: Remove CC0. > * simplify-rtx.c: Remove CC0. > * system.h: Remove CC0. Poison NOTICE_UPDATE_CC, CC_STATUS_MDEP_INIT, > CC_STATUS_MDEP, and CC_STATUS. > * target.def: Remove CC0. > * valtrack.c: Remove CC0. > * var-tracking.c: Remove CC0. > You missed: config/cr16/cr16.md: (clobber (cc0))] config/cr16/cr16.md: [(parallel [(set (cc0) config/cr16/cr16.md: [(set (cc0) config/cr16/cr16.md: [(cc0) (const_int 0)]))] config/cr16/cr16.md: [(set (cc0) config/cr16/cr16.md: [(cc0) (const_int 0)]))] Now, cr16-elf won't build. H.J.