e2k: allow qplog for elbrus-v7 in alc2/alc5

This commit is contained in:
Denis Drakhnia 2024-01-12 11:58:48 +02:00
parent bd5206f3dd
commit 72519cd0d2
1 changed files with 2 additions and 1 deletions

View File

@ -6382,7 +6382,8 @@ static void decode_alop(Alop *alop, AlesFlag ales_present)
break;
case ALOP_LCMBQ0:
case ALOP_LCMBQ1:
if (is_chan_0134(alop->chan) && ctx->version >= 5) {
if ((is_chan_0134(alop->chan) && ctx->version >= 5) ||
(is_chan_25(alop->chan) && ctx->version >= 7)) {
alop->format = ALOPF21;
alop->op = alop->ales.opc2 == ALOP_LCMBQ0 ? OP_QPLOG_0x00 : OP_QPLOG_0x80;
alop->args = ARGS_PPPP;