]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64, Darwin: Improve Apple M3 cores, add M4
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 9 Oct 2025 08:11:38 +0000 (10:11 +0200)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 10 Oct 2025 10:28:08 +0000 (12:28 +0200)
commit059eb26c0337cd201898217ccc2878ab5c69f5bb
treeeb15dd52e601bd919fc76a52a35b4e3f2c67c5fb
parente520fe08031a4f16e5a7933b4a5fada00413fc6c
aarch64, Darwin: Improve Apple M3 cores, add M4

Complete the list of M3 cores (Ibiza, Palma and Lobos) and add the M4
cores (Donan and two types of Brava).

The values for chip IDs and the LITTLE.big variants have been taken from
lists in the XNU sources (xnu/osfmk/arm/cpuid.h) in xnu-11417.101.15.

gcc/ChangeLog:

* config/aarch64/aarch64-cores.def (AARCH64_CORE): Improve Apple
M3 and add Apple M4 cores.
* config/aarch64/aarch64-tune.md: Regenerate.
* doc/invoke.texi: Add apple-m4 core to the ones listed
for arch and tune selections.
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/aarch64-tune.md
gcc/doc/invoke.texi