From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1909) id C5B803858D3C; Thu, 16 Sep 2021 11:44:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5B803858D3C MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Daniel Hellstrom To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-9002] sparc: Print out bit names for LEON and LEON3 with -mdebug X-Act-Checkin: gcc X-Git-Author: Andreas Larsson X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: f00530266f89b28e8286cdd2f587e046a27d2193 X-Git-Newrev: b602b667c05041df22c88fadd91fa8dd92330ce5 Message-Id: <20210916114412.C5B803858D3C@sourceware.org> Date: Thu, 16 Sep 2021 11:44:12 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2021 11:44:12 -0000 https://gcc.gnu.org/g:b602b667c05041df22c88fadd91fa8dd92330ce5 commit r11-9002-gb602b667c05041df22c88fadd91fa8dd92330ce5 Author: Andreas Larsson Date: Wed Jul 5 13:36:31 2017 +0200 sparc: Print out bit names for LEON and LEON3 with -mdebug gcc/ChangeLog: * config/sparc/sparc.c (dump_target_flag_bits): Print bit names for LEON and LEON3. Diff: --- gcc/config/sparc/sparc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 42ba415255c..fea7d78949d 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -1604,6 +1604,10 @@ dump_target_flag_bits (const int flags) fprintf (stderr, "CBCOND "); if (flags & MASK_DEPRECATED_V8_INSNS) fprintf (stderr, "DEPRECATED_V8_INSNS "); + if (flags & MASK_LEON) + fprintf (stderr, "LEON "); + if (flags & MASK_LEON3) + fprintf (stderr, "LEON3 "); if (flags & MASK_SPARCLET) fprintf (stderr, "SPARCLET "); if (flags & MASK_SPARCLITE)