So I am programming in assembly ARMv8, I would like to know if there is any instruction, like in x86, to recover information about CPU. This is the information I need:
(CPUID) Signature: 660f01
(CPUID) Features: MMX, AMD64, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AES, AVX, CLMUL, FMA, FMA4, XOP, PSE, PSE-36, NX, SVM
(CPUID) Cache L1: 4 x 32 KB Data, 4 x 96 KB Instruction (CPUID) Cache L2: 4 x 1 MB Unified (CPUID) Cache L3: None
Or something equivalent in arm. For example, I know ARMS does not support MMX, but it supports NEON. How can I check if that processor supports it?