diff options
| author | Alastair Reid | 2018-07-01 19:34:08 +0100 |
|---|---|---|
| committer | Alastair Reid | 2018-07-01 20:14:40 +0100 |
| commit | 117e87ce194c50b2221c7fd1966d6e0369423606 (patch) | |
| tree | ab9cac4c306480402e28e5fe67860b101260ab6c /src | |
| parent | 5361c1d65c469cf9cdaeea345c4779f9c88aad55 (diff) | |
RTS: Fail on AArch32 and ASIMD
This change causes execution of AArch32 code or ASIMD code
to fail with an easily diagnosed error message of the form
UNIMPLEMENTED: xxx support
where xxx is either AArch32 or ASIMD.
Having a clear error message allows these to be detected by triaging
scripts.
To make the AArch32 detection part work, you also need to change
HaveAnyAArch32 to read like this instead of just returning false.
function HaveAnyAArch32 () =
return ((CFG_ID_AA64PFR0_EL1_EL0 == 0x2)
|| (CFG_ID_AA64PFR0_EL1_EL1 == 0x2)
|| (CFG_ID_AA64PFR0_EL1_EL2 == 0x2)
|| (CFG_ID_AA64PFR0_EL1_EL3 == 0x2))
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
