return v;
}
-sv_reg_t sv_proc_t::adjust_load(sv_reg_t const& v, size_t width, bool ext)
-{
- fprintf(stderr, "mmu_adjust \n");
- return v;
-}
-
sv_freg_t fsgnj128(sv_freg_t a, sv_freg_t b, bool n, bool x);
- sv_reg_t adjust_load(sv_reg_t const& v, size_t width, bool ext);
sv_reg_t mmu_load(reg_spec_t const& spec, sv_reg_t const& offs,
size_t width, bool ext);
} \
sv_reg_t sv_mmu_t::load_##type(reg_t const& addr) { \
type##_t v = mmu_t::load_##type(addr); \
- return proc->s.adjust_load(sv_reg_t(v), width, ext); \
+ return v; \
}
// load value from memory at aligned address; zero extend to register width