public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Daniel Cederman <cederman@gaisler.com>
To: gcc-patches@gcc.gnu.org
Cc: daniel@gaisler.com, ebotcazou@libertysurf.fr,
	Andreas Larsson <andreas@gaisler.com>
Subject: [PATCH] sparc: Print out bit names for LEON and LEON3 with -mdebug
Date: Wed, 15 Sep 2021 11:36:06 +0200	[thread overview]
Message-ID: <20210915093610.3112669-2-cederman@gaisler.com> (raw)
In-Reply-To: <20210915093610.3112669-1-cederman@gaisler.com>

From: Andreas Larsson <andreas@gaisler.com>

gcc/ChangeLog:

        * config/sparc/sparc.c (dump_target_flag_bits): Print bit names for
        LEON and LEON3.
---
 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 06f41d7bb53..d5a0ff7d4ea 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -1596,6 +1596,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)
-- 
2.25.1


  reply	other threads:[~2021-09-15  9:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15  9:36 [PATCH] sparc: Add scheduling information for LEON5 Daniel Cederman
2021-09-15  9:36 ` Daniel Cederman [this message]
2021-09-15 10:19   ` [PATCH] sparc: Print out bit names for LEON and LEON3 with -mdebug Eric Botcazou
2021-09-15  9:36 ` [PATCH 1/4] sparc: Treat more instructions as load or store in errata workarounds Daniel Cederman
2021-09-15 10:23   ` Eric Botcazou
2021-09-15  9:36 ` [PATCH 2/4] sparc: Skip all empty assembly statements Daniel Cederman
2021-09-15 10:31   ` Eric Botcazou
2021-09-15  9:36 ` [PATCH 3/4] sparc: Prevent atomic instructions in beginning of functions for UT700 Daniel Cederman
2021-09-15 10:32   ` Eric Botcazou
2021-09-15  9:36 ` [PATCH 4/4] sparc: Add NOP in stack_protect_setsi if sparc_fix_b2bst enabled Daniel Cederman
2021-09-15 10:37   ` Eric Botcazou
2021-09-15 10:18 ` [PATCH] sparc: Add scheduling information for LEON5 Eric Botcazou
2021-09-15 11:04   ` Daniel Cederman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210915093610.3112669-2-cederman@gaisler.com \
    --to=cederman@gaisler.com \
    --cc=andreas@gaisler.com \
    --cc=daniel@gaisler.com \
    --cc=ebotcazou@libertysurf.fr \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).