target: e2k: Fix uninit plu_result.reg bug.

This commit is contained in:
Denis Drakhnia 2020-12-05 14:52:38 +02:00 committed by Denis Drakhnia
parent 5017d6fa5d
commit 250a648edf
1 changed files with 2 additions and 1 deletions

View File

@ -103,8 +103,9 @@ void e2k_plu_execute(DisasContext *ctx)
}
for (i = 0; i < 3; i++) {
ctx->pl_results[i].reg = -1;
if (!bundle->pls_present[i]) {
ctx->pl_results[i].reg = -1;
continue;
}