Although this is not a 100% answer to the question, but may be useful:
When using clang, you can discern between 32 bit arm and 64 bit arm using:
__arm__
which is defined for 32bit arm, and 32bit arm only.
__aarch64__
which is defined for 64bit arm, and 64bit arm only.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…