On 1/15/19 10:58 AM, Alistair Francis wrote: > From: Michael Clark <m...@sifive.com> > > 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. > > Cc: Palmer Dabbelt <pal...@sifive.com> > Cc: Sagar Karandikar <sag...@eecs.berkeley.edu> > Cc: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> > Cc: Alistair Francis <alistair.fran...@wdc.com> > Cc: Emilio G. Cota <c...@braap.org> > Signed-off-by: Michael Clark <m...@sifive.com> > Signed-off-by: Alistair Francis <alistair.fran...@wdc.com> > --- > target/riscv/translate.c | 158 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 158 insertions(+)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~