The .ad files currently define a significant number of constants and trivial methods. By refactoring this so that such code is instead defined in cpu-specific headers we enable constant folding optimizations. Moving more code out of .ad files also help navigation the project in IDEs.
- relates to
JDK-8267237 ARM32: bad AD file in matcher.cpp after 8266810