File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 2727#ifndef CPUFAMILY_ARM_AVALANCHE_BLIZZARD
2828#define CPUFAMILY_ARM_AVALANCHE_BLIZZARD 0xDA33D83D
2929#endif
30+ // Following are copied over from ncnn/src/cpu.cpp
31+ // A15 / M2
32+ #ifndef CPUFAMILY_ARM_AVALANCHE_BLIZZARD
33+ #define CPUFAMILY_ARM_AVALANCHE_BLIZZARD 0xda33d83d
34+ #endif
35+ // A16
36+ #ifndef CPUFAMILY_ARM_EVEREST_SAWTOOTH
37+ #define CPUFAMILY_ARM_EVEREST_SAWTOOTH 0x8765edea
38+ #endif
39+ // A17
40+ #ifndef CPUFAMILY_ARM_COLL
41+ #define CPUFAMILY_ARM_COLL 0x2876f5b5
42+ #endif
43+ // A18
44+ #ifndef CPUFAMILY_ARM_TUPAI
45+ #define CPUFAMILY_ARM_TUPAI 0x204526d0
46+ #endif
47+ // A18 Pro
48+ #ifndef CPUFAMILY_ARM_TAHITI
49+ #define CPUFAMILY_ARM_TAHITI 0x75d4acb9
50+ #endif
51+ // M3
52+ #ifndef CPUFAMILY_ARM_IBIZA
53+ #define CPUFAMILY_ARM_IBIZA 0xfa33415e
54+ #endif
55+ // M3 Pro
56+ #ifndef CPUFAMILY_ARM_LOBOS
57+ #define CPUFAMILY_ARM_LOBOS 0x5f4dea93
58+ #endif
59+ // M3 Max
60+ #ifndef CPUFAMILY_ARM_PALMA
61+ #define CPUFAMILY_ARM_PALMA 0x72015832
62+ #endif
63+ // M4
64+ #ifndef CPUFAMILY_ARM_DONAN
65+ #define CPUFAMILY_ARM_DONAN 0x6f5129ac
66+ #endif
67+ // M4 Pro / M4 Max
68+ #ifndef CPUFAMILY_ARM_BRAVA
69+ #define CPUFAMILY_ARM_BRAVA 0x17d5b93a
70+ #endif
71+ #endif // __APPLE__
3072
3173struct cpuinfo_arm_isa cpuinfo_isa = {
3274 .aes = true,
You can’t perform that action at this time.
0 commit comments