TableGen -gen-disassembler extracts incorrect operand values for certain bit fields with an offset. The result is that disassembly silently fails with incorrect operand values. Bit assignments like:
Inst{7-0} = Foo{9-2}
are vulnerable to this problem.
Details
Details
- Reviewers
craig.topper
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Changes from previous patch:
- Use more succinct test file name "BitOffsetDecoder.td"
- Update test file comments to use "offset" instead of "shift"
Verified all tests pass.
Comment Actions
Operator error: uploaded old patch again. Here is the new patch with renamed regression test file.