]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: ad target/118764 - Mention CVT availability in device-specs comment.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 17 Feb 2025 13:31:25 +0000 (14:31 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Mon, 17 Feb 2025 13:35:08 +0000 (14:35 +0100)
gcc/
PR target/118764
* config/avr/gen-avr-mmcu-specs.cc (print_mcu)
[has CVT]: Mention CVT in header comment of generated specs file.

gcc/config/avr/gen-avr-mmcu-specs.cc

index fa085efaae4b820f4ff135a9b1851e49729f1680..05f2d0e1d4ac91e4d4bac6a0da9ad21341001cea 100644 (file)
@@ -74,7 +74,7 @@ static const char help_copy_paste[] =
   "# for a new device spec file, make sure you are copying from a specs file\n"
   "# for a device from the same or compatible:\n"
   "#     compiler version, compiler vendor, core architecture, SP width,\n"
-  "#     short-calls and FLMAP.\n"
+  "#     short-calls, features like CVT and FLMAP.\n"
   "# Otherwise, errors and wrong or sub-optimal code may likely occur.\n"
   "# See <" WIKI_URL ">\n"
   "# and <" SPECFILE_USAGE_URL "> for a description\n"
@@ -260,8 +260,9 @@ print_mcu (const avr_mcu_t *mcu, const McuInfo &mi)
   if (mi.is_arch)
     fprintf (f, "core architecture %s\n", mi.arch->name);
   else
-    fprintf (f, "device %s (core %s, %d-bit SP%s%s)\n", mi.mcu_Name,
+    fprintf (f, "device %s (core %s, %d-bit SP%s%s%s)\n", mi.mcu_Name,
             mi.arch->name, sp8 ? 8 : 16, rcall ? ", short-calls" : "",
+            mi.have_cvt ? ", CVT" : "",
             mi.have_flmap ? ", FLMAP" : "");
   fprintf (f, "%s\n", header);