Skip to content

Add Apple M3 uarch to cpuinfo #365

@fbarchard

Description

@fbarchard

Add Apple M3 uarch to cpuinfo
Similar to M4 but with 3 SoC and p-core and e-core for each

Map these 3 SoC to decode_uarch() in src/arm/mach/init.c

// For M3/M4 we need to populate more information about
// efficiency and perf cores.
// M3
#ifndef CPUFAMILY_ARM_IBIZA
#define CPUFAMILY_ARM_IBIZA 0xfa33415e
#endif
// M3 Pro
#ifndef CPUFAMILY_ARM_LOBOS
#define CPUFAMILY_ARM_LOBOS 0x5f4dea93
#endif
// M3 Max
#ifndef CPUFAMILY_ARM_PALMA
#define CPUFAMILY_ARM_PALMA 0x72015832
#endif

M3 uses the same v2 version of Everest / Sawtooth as A16

See Also
https://en.wikipedia.org/wiki/Apple_silicon
https://theapplewiki.com/wiki/User:Ilikeiphone123/Playground/Codenames

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions