e2k: Do not generate loop_end for stores outside of loops.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
This commit is contained in:
parent
0914c72c8b
commit
0c634e952b
@ -7755,10 +7755,12 @@ static void gen_loop_end_init(DisasContext *ctx)
|
||||
break;
|
||||
}
|
||||
|
||||
for (i = 0; !need && i < 6; i++) {
|
||||
if (is_alop_store(&ctx->alops[i])) {
|
||||
need = true;
|
||||
break;
|
||||
if (!need && ctx->loop_mode) {
|
||||
for (i = 0; i < 6; i++) {
|
||||
if (is_alop_store(&ctx->alops[i])) {
|
||||
need = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user