]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sparc: Print out bit names for LEON and LEON3 with -mdebug
authorAndreas Larsson <andreas@gaisler.com>
Wed, 5 Jul 2017 11:36:31 +0000 (13:36 +0200)
committerDaniel Hellstrom <daniel@gaisler.com>
Thu, 16 Sep 2021 11:40:45 +0000 (13:40 +0200)
gcc/ChangeLog:

* config/sparc/sparc.c (dump_target_flag_bits): Print bit names for
LEON and LEON3.

gcc/config/sparc/sparc.c

index 42ba415255c90abecb63e155b5575b2de2a976f3..fea7d78949d0fa1d48340e8842ad6d5a602bc075 100644 (file)
@@ -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)