[gcc r17-2423] Revert "MIPS: Add -mmxu and -mno-mxu driver pass through"

Jeff Law via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:6f754f345e06219b98acc91327bd2a51d52e954e

commit r17-2423-g6f754f345e06219b98acc91327bd2a51d52e954e
Author: Jeff Law <[email protected]>
Date:   Wed Jul 15 11:22:36 2026 -0600

    Revert "MIPS: Add -mmxu and -mno-mxu driver pass through"
    
    This reverts commit b5404c42dde7dba8c72b9246cca288c256b55d8c.

Diff:
---
 gcc/config/mips/mips.h                         |  1 -
 gcc/config/mips/mips.opt                       |  3 ---
 gcc/testsuite/gcc.target/mips/mxu-compile-no.c |  8 --------
 gcc/testsuite/gcc.target/mips/mxu-compile.c    |  8 --------
 gcc/testsuite/gcc.target/mips/mxu-driver-no.c  | 11 -----------
 gcc/testsuite/gcc.target/mips/mxu-driver.c     | 11 -----------
 6 files changed, 42 deletions(-)

diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 36115e1c9e30..48a562f2d39d 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1490,7 +1490,6 @@ struct mips_cpu_info {
 %{mloongson-ext2} %{mno-loongson-ext2} \
 %{msmartmips} %{mno-smartmips} \
 %{mmt} %{mno-mt} \
-%{mmxu} %{mno-mxu} \
 %{mfix-r5900} %{mno-fix-r5900} \
 %{mfix-rm7000} %{mno-fix-rm7000} \
 %{mfix-vr4120} %{mfix-vr4130} \
diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt
index fda0f78b8bac..eb14761ea273 100644
--- a/gcc/config/mips/mips.opt
+++ b/gcc/config/mips/mips.opt
@@ -332,9 +332,6 @@ mmt
 Target Var(TARGET_MT)
 Allow the use of MT instructions.
 
-mmxu
-Driver Target Undocumented
-
 mno-float
 Target RejectNegative Var(TARGET_NO_FLOAT) Condition(TARGET_SUPPORTS_NO_FLOAT)
 Prevent the use of all floating-point operations.
diff --git a/gcc/testsuite/gcc.target/mips/mxu-compile-no.c b/gcc/testsuite/gcc.target/mips/mxu-compile-no.c
deleted file mode 100644
index 03b002c1971e..000000000000
--- a/gcc/testsuite/gcc.target/mips/mxu-compile-no.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* { dg-do compile } */
-/* { dg-additional-options "-mno-mxu" } */
-
-int
-main (void)
-{
-  return 0;
-}
diff --git a/gcc/testsuite/gcc.target/mips/mxu-compile.c b/gcc/testsuite/gcc.target/mips/mxu-compile.c
deleted file mode 100644
index a4c46b48d905..000000000000
--- a/gcc/testsuite/gcc.target/mips/mxu-compile.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* { dg-do compile } */
-/* { dg-additional-options "-mmxu" } */
-
-int
-main (void)
-{
-  return 0;
-}
diff --git a/gcc/testsuite/gcc.target/mips/mxu-driver-no.c b/gcc/testsuite/gcc.target/mips/mxu-driver-no.c
deleted file mode 100644
index a4f46aa0239f..000000000000
--- a/gcc/testsuite/gcc.target/mips/mxu-driver-no.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* { dg-do assemble } */
-/* { dg-additional-options "-mno-mxu -###" } */
-
-int
-main (void)
-{
-  return 0;
-}
-
-/* { dg-message ".*/.*as .* -mno-mxu" "assembler options" { target *-*-* } 0 } */
-/* { dg-purne-output ".*" } */
diff --git a/gcc/testsuite/gcc.target/mips/mxu-driver.c b/gcc/testsuite/gcc.target/mips/mxu-driver.c
deleted file mode 100644
index 21287d5bdb26..000000000000
--- a/gcc/testsuite/gcc.target/mips/mxu-driver.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* { dg-do assemble } */
-/* { dg-additional-options "-mmxu -###" } */
-
-int
-main (void)
-{
-  return 0;
-}
-
-/* { dg-message ".*/.*as .* -mmxu" "assembler options" { target *-*-* } 0 } */
-/* { dg-purne-output ".*" } */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.