This is an archive of the discontinued LLVM Phabricator instance.

Certain VEX instructions ignore the W-bit that shouldn'
AbandonedPublic

Authored by avt77 on Oct 19 2017, 7:26 AM.

Details

Summary

This patch should close Bug 11304 - [x86 disassembler] Certain VEX instructions ignore the W-bit that shouldn.
It is not the complete version of the patch: I want only to ask is it possible to make this fix in the given way? I suppose it's better to do it in *.td file(s) but I don't have any idea how to do it that's why I introduce this my approach. Please review and give me the answer: should I continue in this way or I should switch to *.td file(s). In the last case please give me a hint how to do it.

Diff Detail

Event Timeline

avt77 created this revision.Oct 19 2017, 7:26 AM
craig.topper edited edge metadata.Oct 21 2017, 11:20 PM

I've implemented a td based fix in r316285. Thanks for reminding me that this bug existed. It was much easier to fix after VEX_WIG was added to the td files earlier this year.

avt77 added a comment.EditedOct 23 2017, 12:43 AM

What is r316285? Could you give me the review link? I'd like to understand how you did it.
And BTW, could you re-review D38626? It's very small and simple.

avt77 abandoned this revision.Oct 23 2017, 2:42 AM

Craig implemented this issue in another way (see r316285)