llvm-6502/lib/Target/X86/AsmParser
Daniel Dunbar c918d6043b MC/X86: Add "support" for matching ATT style mnemonic prefixes.
- The idea is that when a match fails, we just try to match each of +'b', +'w',
   +'l'. If exactly one matches, we assume this is a mnemonic prefix and accept
   it. If all match, we assume it is width generic, and take the 'l' form.

 - This would be a horrible hack, if it weren't so simple. Therefore it is an
   elegant solution! Chris gets the credit for this particular elegant
   solution. :)

 - Next step to making this more robust is to have the X86 matcher generate the
   mnemonic prefix information. Ideally we would also compute up-front exactly
   which mnemonic to attempt to match, but this may require more custom code in
   the matcher than is really worth it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103012 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-04 16:12:42 +00:00
..
CMakeLists.txt Update CMake build. 2010-01-23 04:01:37 +00:00
Makefile Fix LLVM build when the user specifies CPPFLAGS on the make command line. 2010-03-12 21:42:14 +00:00
X86AsmLexer.cpp pass stringref by value instead of by const& 2010-02-09 00:34:28 +00:00
X86AsmParser.cpp MC/X86: Add "support" for matching ATT style mnemonic prefixes. 2010-05-04 16:12:42 +00:00