mpegplayer: disable ARM assembly code for Cortex-M

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sun, 3 May 2026 07:46:45 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 4f2c918f28c22eaebdc6ccf8f0d6b1f9513d4471
Author: Aidan MacDonald <[email protected]>
Date:   Sun May 3 00:48:31 2026 +0100

    mpegplayer: disable ARM assembly code for Cortex-M
    
    Change-Id: I6fe8a359ef6d6160918239bf5c45a3034e52356b

diff --git a/apps/plugins/mpegplayer/SOURCES b/apps/plugins/mpegplayer/SOURCES
index 3fc079dfbd..c1d0afe4c2 100644
--- a/apps/plugins/mpegplayer/SOURCES
+++ b/apps/plugins/mpegplayer/SOURCES
@@ -8,7 +8,7 @@ libmpeg2/slice.c
 libmpeg2/idct_coldfire.S
 libmpeg2/motion_comp_coldfire_c.c
 libmpeg2/motion_comp_coldfire_s.S
-#elif defined CPU_ARM
+#elif defined CPU_ARM_CLASSIC
 #if ARM_ARCH >= 6
 libmpeg2/idct_armv6.S
 #else
diff --git a/apps/plugins/mpegplayer/libmpeg2/idct.c b/apps/plugins/mpegplayer/libmpeg2/idct.c
index 7f0b9a3c12..e202da31d2 100644
--- a/apps/plugins/mpegplayer/libmpeg2/idct.c
+++ b/apps/plugins/mpegplayer/libmpeg2/idct.c
@@ -33,7 +33,7 @@
 #include "attributes.h"
 #include "mpeg2_internal.h"
 
-#if defined(CPU_COLDFIRE) || defined (CPU_ARM)
+#if defined(CPU_COLDFIRE) || defined (CPU_ARM_CLASSIC)
 #define IDCT_ASM
 #endif
 
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs