https://gcc.gnu.org/g:31648852ad3f4b76e47dd468f88da5f4d36c134e

commit r16-551-g31648852ad3f4b76e47dd468f88da5f4d36c134e
Author: Richard Earnshaw <rearn...@arm.com>
Date:   Wed Apr 30 13:52:31 2025 +0100

    arm: remove dead predefines when using WMMX
    
    Since we no-longer enable iWMMXT, these predefines are no-longer enabled
    when preprocessing C.  Remove them.
    
    gcc/ChangeLog:
    
            * config/arm/arm-c.cc (arm_cpu_builtins):  Remove predefines
            for __IWWMXT__, __IWMMXT2__ and __ARM_WMMX.

Diff:
---
 gcc/config/arm/arm-c.cc | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/gcc/config/arm/arm-c.cc b/gcc/config/arm/arm-c.cc
index 15e4080904f3..d257e62b563b 100644
--- a/gcc/config/arm/arm-c.cc
+++ b/gcc/config/arm/arm-c.cc
@@ -373,13 +373,6 @@ arm_cpu_builtins (struct cpp_reader* pfile)
   builtin_define (arm_arch_name);
   if (arm_arch_xscale)
     builtin_define ("__XSCALE__");
-  if (arm_arch_iwmmxt)
-    {
-      builtin_define ("__IWMMXT__");
-      builtin_define ("__ARM_WMMX");
-    }
-  if (arm_arch_iwmmxt2)
-    builtin_define ("__IWMMXT2__");
   /* ARMv6KZ was originally identified as the misspelled __ARM_ARCH_6ZK__.  To
      preserve the existing behavior, the misspelled feature macro must still be
      defined.  */

Reply via email to