Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Disable Thumb code generation in codecs for ARM profile 65

It seems that there are a couple of codecs that use assembly optimizations. Some of their instruction sequences are not valid Thumb code. To be able to compile them successfully on TI OMAP4430, ARM mode is forced on the codecs.

Change-Id: I932186177b540985e37cb3a5333943572da1c60a

+14
+14
tools/configure
··· 4939 4939 GCCOPTS="$GCCOPTS -masm-syntax-unified" 4940 4940 fi 4941 4941 case "$arch_profile" in 4942 + 65) 4943 + arch_profile=application 4944 + 4945 + # Disable generation of Thumb code, since some codecs use 4946 + # instructions that can only be assembled to ARM code 4947 + GCCOPTS="$GCCOPTS -marm" 4948 + 4949 + # Make sure Thumb does not get enabled by the command-line option 4950 + if [ "$ARG_ARM_THUMB" = "1" ]; then 4951 + echo "Warning: --thumb option has no effect on ARM A profile cores" 4952 + ARG_ARM_THUMB=0 4953 + fi 4954 + ;; 4942 4955 77) 4943 4956 arch_profile=micro 4944 4957 ··· 5061 5074 5062 5075 #define ARM_PROFILE_CLASSIC 0 /* Classic ARM cores (<= ARMv6) */ 5063 5076 #define ARM_PROFILE_MICRO 1 /* ARMv6/ARMv7+ M-profile cores */ 5077 + #define ARM_PROFILE_APPLICATION 2 5064 5078 5065 5079 /* Define target machine architecture */ 5066 5080 ${Darch}