Skip to content

Commit

Permalink
KindleHF: Downgrade mtune to A9 (#2014)
Browse files Browse the repository at this point in the history
Turns out we can't have nice things because PW4 ;'(.

Might require a similar fix in the actual kindlehf TC.
  • Loading branch information
NiLuJe authored Jan 3, 2025
1 parent 9c75c5a commit 66536fa
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 66536fa

Please sign in to comment.