Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KindleHF: Downgrade mtune to A9 #2014

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,9 @@ else ifeq ($(TARGET), kindlepw2)
COMPAT_CXXFLAGS:=$(UBUNTU_COMPAT_CFLAGS)
endif
else ifeq ($(TARGET), kindlehf)
# We bias towards in-order CPUs (e.g., A53)
ARM_ARCH:=$(ARMV7_A7_ARCH)
# While we *would* like to bias towards in-order CPUs (e.g., A7/A53), we can't because we have to support the PW4,
# which runs on an A9, and that's VFPv3, and not VFPv4 (and that seems to matter, despite us technically always prefering NEON).
ARM_ARCH:=$(ARMV7_A9_ARCH)
ARM_ARCH+=-mfloat-abi=hard
ifeq ($(TARGET_MACHINE), arm-linux-gnueabihf)
COMPAT_CFLAGS:=$(UBUNTU_COMPAT_CFLAGS)
Expand Down