https://bugs.kde.org/show_bug.cgi?id=372794

--- Comment #1 from Julian Seward <jsew...@acm.org> ---
Ach, the logic there that verifies whether the instruction decode is
valid, is wrong.  Try this:

change

     // Paranoia ..
     vassert(szBlg2 <= 3);
     if (szBlg2 < 3) { vassert(tt2 == 16/*invalid*/); }
                else { vassert(tt2 <= 14); }
     if (isLoad) { vassert(dd == 16/*invalid*/); }
            else { vassert(dd <= 14); }
     // If we're still good even after all that, generate the IR.

by wrapping "if (gate) { .. }" around it:

if (gate) {
     // Paranoia ..
     vassert(szBlg2 <= 3);
     if (szBlg2 < 3) { vassert(tt2 == 16/*invalid*/); }
                else { vassert(tt2 <= 14); }
     if (isLoad) { vassert(dd == 16/*invalid*/); }
            else { vassert(dd <= 14); }
     // If we're still good even after all that, generate the IR.
}

This isn't a proper fix, though.  Can you use objdump to find the insn
it is failing on?  I'll need that to test it properly.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to