The vast number of added instructions for SVE causes TableGen to fail with an assertion:
Assertion `Delta < 65536U && "disassembler decoding table too large!"'
This patch increases the number of supported decoder fix-ups.
Paths
| Differential D48937
[TableGen] Increase the number of supported decoder fix-ups. ClosedPublic Authored by sdesmalen on Jul 4 2018, 6:42 AM.
Details Summary The vast number of added instructions for SVE causes TableGen to fail with an assertion: Assertion `Delta < 65536U && "disassembler decoding table too large!"' This patch increases the number of supported decoder fix-ups.
Diff Detail Event TimelineComment Actions Thanks Sander! For context, we (in a slightly different part of Arm), started hitting this with the latest SVE patches combined with our downstream changes. I believe upstream llvm will start hitting the same problem once more 8.X/SVE patches are in. I tested this out and it fixes our build, but will increase the size of the decode table. Looking through, I think this looks OK. Just some comments to update.
This revision is now accepted and ready to land.Jul 4 2018, 7:10 AM Closed by commit rL336334: [TableGen] Increase the number of supported decoder fix-ups. (authored by s.desmalen). · Explain WhyJul 5 2018, 3:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 154101 test/TableGen/trydecode-emission.td
test/TableGen/trydecode-emission2.td
test/TableGen/trydecode-emission3.td
utils/TableGen/FixedLenDecoderEmitter.cpp
|
24-bit!