Natural order would be better I think, where the new A710 is added after the A78.
FlagM should already be included as a part of 8.4, so isn't needed here.
Order below, and you can add FeatureCmpBccFusion according to the optimization guide.
Add here instead, to keep it with more similar cores.
Ordering here and elsewhere, and the formatting is a little off.
FlagM is not part of the AARCH64_ARCH("armv9-a", ARMV9A ...) definition, nor part of the equivalents for armv8.4a and armv8.5a, so it was added explicitly here.
FeatureFlagM is included in HasV8_4aOps. So should already be included (much like something like dotprod).
Why AEK_FLAGM isn't part of ARMV8_4A I don't know. And why we have two maps for the same set of information...
I think that AEK_FLAGM should be included in architecture that is 8.4+. Then it shouldn't be needed here.
I would go after this, it being a a78-like cpu it's probably worth keeping the two together.
Ditto and same in other places.
Make sure you keep this in. It looks like it might have been removed by accident.