]> 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:05:45 +0000 (13:05 +0200)
gcc/ChangeLog:

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

gcc/config/sparc/sparc.c

index 06f41d7bb53f6d588a0d4c1a47da73e6c6c08423..d5a0ff7d4ea07087fc32c9a081c262f19c72844d 100644 (file)
@@ -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)