diff options
author | Michael Clark | 2019-01-15 00:58:51 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2019-02-12 00:56:22 +0100 |
commit | d77c3401e694900a15dd8a658ae524f33fc8bc50 (patch) | |
tree | eb6d3c2220109ae3d7c830bc686665ef1f5871ca /linux-user/cpu_loop-common.h | |
parent | RISC-V: Add misa to DisasContext (diff) | |
download | qemu-d77c3401e694900a15dd8a658ae524f33fc8bc50.tar.gz qemu-d77c3401e694900a15dd8a658ae524f33fc8bc50.tar.xz qemu-d77c3401e694900a15dd8a658ae524f33fc8bc50.zip |
RISC-V: Add misa.MAFD checks to translate
Add misa checks for M, A, F and D extensions and if they are
not present generate illegal instructions. This improves
emulation accurary for harts with a limited set of extensions.
Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
0 files changed, 0 insertions, 0 deletions