https://gcc.gnu.org/g:727a43e0a66052235706379239359807230054e0

commit r16-51-g727a43e0a66052235706379239359807230054e0
Author: Matthew Fortune <matthew.fort...@imgtec.com>
Date:   Mon Apr 21 09:49:58 2025 -0600

    [PATCH 30/61] MSA: Make MSA and microMIPS R5 unsupported
    
    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.

Diff:
---
 gcc/config/mips/mips.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/config/mips/mips.cc b/gcc/config/mips/mips.cc
index 24a28dcf817f..0d3d0263f2d4 100644
--- a/gcc/config/mips/mips.cc
+++ b/gcc/config/mips/mips.cc
@@ -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)

Reply via email to