adjust mmu load to take reg_spec_t so that proper offset-adjustments can be made
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Oct 2018 15:24:07 +0000 (15:24 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Oct 2018 15:24:07 +0000 (15:24 +0000)
commite50e079449d075cbfd047ce0139f00e639d1bca6
treef08a29629e851c82c2582248dde16f67b4bd1495
parent3c8427c8322f0cb331a6ecda5edf3e325ff37a82
adjust mmu load to take reg_spec_t so that proper offset-adjustments can be made

the adding of the immediate plus the relevant offset to the relevant
register needs to be calculated before the load takes place.  algorithm
is slightly different from the one used in rv_add
15 files changed:
riscv/insns/c_fld.h
riscv/insns/c_flw.h
riscv/insns/c_lw.h
riscv/insns/fld.h
riscv/insns/flq.h
riscv/insns/flw.h
riscv/insns/lb.h
riscv/insns/lbu.h
riscv/insns/ld.h
riscv/insns/lh.h
riscv/insns/lhu.h
riscv/insns/lw.h
riscv/insns/lwu.h
riscv/sv_mmu.cc
riscv/sv_mmu.h