target/arm: convert isar regs to array

The isar in ARMCPU is a struct, each field of which represents an ID
register.  It's not convenient for us to support CPU feature in AArch64.
So let's change it to an array first and add an enum as the index of the
array for convenience.  Since we will never access high 32-bits of ID
registers in AArch32, it's harmless to change the ID registers in
AArch32 to 64-bits.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Peng Liang <liangpeng10@huawei.com>
(cherry-picked from commit 5b5976d6d99a55bdaf0f1596c8b0706366d0df92)
This commit is contained in:
Huawei Technologies Co., Ltd 2020-08-06 16:14:25 +08:00 committed by Euler Robot
parent a21c429af4
commit e407eb26e7

File diff suppressed because it is too large Load Diff