[PATCH] D90441: [X86] Add support for vex, vex2, vex3, and evex for MASM
Pengfei Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 17 21:23:47 PST 2020
pengfei added a comment.
> 2. Delete IsPrefix parameter, and delete 'break', so that we won't check prefix again. I am not sure if this is right. Att format can allow two prefix and using the last one as the finally encoding prefix. I think this may not be the original intention of the design.
It allows more than two, right? like `{vex}{vex2}{vex3} instruction`. I think it should be a bug for att.
================
Comment at: llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:3079
+ if (ForcedVEXEncoding != VEXEncoding_Default) {
+ if (getLexer().isNot(AsmToken::Identifier))
+ return Error(Parser.getTok().getLoc(), "Expected identifier");
----------------
Do you need to eat the prefix here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90441/new/
https://reviews.llvm.org/D90441
More information about the cfe-commits
mailing list