e2k: Do not align mova addr.

This commit is contained in:
Denis Drakhnia 2021-02-02 20:32:02 +02:00 committed by Denis Drakhnia
parent a37964a9d3
commit cf04412feb
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ static inline void init_prefetch_area(E2KAauAreaState *s, E2KAauPrefInstr pi,
if (pi.fmt != 0) {
s->pi = pi;
s->ldi = 0;
s->cdi = inds[pi.ind] & ~((1 << pi.fmt) - 1);
s->cdi = inds[pi.ind];
} else {
s->pi.raw = 0;
s->ldi = 0;

View File

@ -130,6 +130,7 @@ void e2k_aau_execute(DisasContext *ctx)
continue;
}
// TODO: invalid value if addr is unaligned
gen_mova(ctx, &instr);
}