]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PATCH 30/61] MSA: Make MSA and microMIPS R5 unsupported
authorMatthew Fortune <matthew.fortune@imgtec.com>
Mon, 21 Apr 2025 15:49:58 +0000 (09:49 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 21 Apr 2025 15:51:28 +0000 (09:51 -0600)
There are no platforms nor simulators for MSA and microMIPS R5 so
turning off this support for now.

gcc/ChangeLog:

* config/mips/mips.cc (mips_option_override): Error out for
-mmicromips -mmsa.

gcc/config/mips/mips.cc

index 24a28dcf817f48dc81e68739a1acc882d7d097d9..0d3d0263f2d462ce8fabd3ed2483a7bcd05382a1 100644 (file)
@@ -20678,6 +20678,9 @@ mips_option_override (void)
              "-mcompact-branches=never");
     }
 
+  if (is_micromips && TARGET_MSA)
+    error ("unsupported combination: %s", "-mmicromips -mmsa");
+
   /* Require explicit relocs for MIPS R6 onwards.  This enables simplification
      of the compact branch and jump support through the backend.  */
   if (!TARGET_EXPLICIT_RELOCS && mips_isa_rev >= 6)