target: e2k: Fix uninit plu_result.reg bug.

This commit is contained in:
Denis Drakhnia 2020-12-05 14:52:38 +02:00
parent a5a65eab53
commit a004e745e0

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;
}