f978a85cc3
Mainly just factoring out the code, but there are two functional changes here too: 1. The inline assembler was missing `volatile`, making the hwcap check ineffective (because the compiler would sometimes move the MIDR_EL1 read above the hwcap check). 2. The previous code accepted variants 0x0 to 0x5 while the comment said 0x1 to 0x5. The comment was correct. I resisted the temptation to actually have a table to search on the assumption that it'll be a while before we need such a thing. Bug: https://issuetracker.google.com/330105715 Change-Id: I9fdc1e70e49b26ef32794b55ca5e5fd37f1163f9 |
||
---|---|---|
.. | ||
bionic | ||
oryon | ||
string | ||
dynamic_function_dispatch.cpp | ||
static_function_dispatch.S |