aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@imgtec.com>2025-04-21 09:49:58 -0600
committerJeff Law <jlaw@ventanamicro.com>2025-04-21 09:51:28 -0600
commit727a43e0a66052235706379239359807230054e0 (patch)
tree062d0c9de19f4451cb59bd7eb0851400845bf44e /gcc
parent139e1949a6edf4b066d15e73c0e8c3eae1e7495d (diff)
downloadgcc-727a43e0a66052235706379239359807230054e0.zip
gcc-727a43e0a66052235706379239359807230054e0.tar.gz
gcc-727a43e0a66052235706379239359807230054e0.tar.bz2
[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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.cc b/gcc/config/mips/mips.cc
index 24a28dc..0d3d026 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)