These are valid Jcc, but aren't based on the EFLAGS condition codes (Intel 64
and IA-32 Architetcures Software Developer's Manual Vol. 1, Appendix B). These
are covered in clang/test, but not llvm/test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360960
91177308-0d34-0410-b5e6-
96231b3b80d8
// Hack to skip "short" following Jcc.
if (isParsingIntelSyntax() &&
- (PatchedName == "jmp" ||
+ (PatchedName == "jmp" || PatchedName == "jc" || PatchedName == "jnc" ||
+ PatchedName == "jcxz" || PatchedName == "jexcz" ||
(PatchedName.startswith("j") &&
ParseConditionCode(PatchedName.substr(1)) != X86::COND_INVALID))) {
StringRef NextTok = Parser.getTok().getString();