Skip to content

Commit

Permalink
[webOS] tune for Cortex-A53
Browse files Browse the repository at this point in the history
This commit changes architecture CFLAGS on webOS from `-march=armv7-a
-mtune=cortex-a9 -mfpu=neon` to `-mcpu=cortex-a9 -mtune=cortex-a53`
(`-mcpu=cortex-a9` implies `-mfpu=neon-fp16`). This maintains
compatibility with all webOS TVs while optimizing for a newer and more
common core. `-mfloat-abi=softfp` should be kept for ABI compatibility
with system libraries.
  • Loading branch information
throwaway96 committed Sep 25, 2023
1 parent bddd696 commit 2fadc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/depends/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ case $host in
use_cpu="armeabi-v7a"
fi
use_toolchain="${use_toolchain:-/usr}"
platform_cflags="-fPIC -DPIC -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon"
platform_cflags="-fPIC -DPIC -mcpu=cortex-a9 -mtune=cortex-a53 -mfloat-abi=softfp"
platform_cxxflags="$platform_cflags -static-libstdc++"
optimize_flags="-Os"
platform_ldflags="-Wl,-rpath-link=$prefix/$deps_dir/lib"
Expand Down

0 comments on commit 2fadc90

Please sign in to comment.