[llvm-commits] Mips assembler implementation patch

Carl Norum carl at lytro.com
Thu Aug 30 10:07:00 PDT 2012


Works great here - I needed to add "mfc0" for my project, so I've attached that patch-to-your-patch here.    This patch is my first attempt at doing anything in a tablegen file, so a good look by someone more experienced will be much appreciated!

I also get these two warnings when building with your patch:

> lib/Target/Mips/AsmParser/MipsAsmParser.cpp:407:13: warning: 
>       unused variable 'MnemLower' [-Wunused-variable]
>   StringRef MnemLower = Mnemonic.lower();
>             ^
> lib/Target/Mips/AsmParser/MipsAsmParser.cpp:597:9: warning: 
>       unused variable 'E' [-Wunused-variable]
>   SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1);
>         ^
> 2 warnings generated.

I didn't address those with the patch in my attachment, though.

-- Carl




On Aug 27, 2012, at 7:41 AM, "Medic, Vladimir" <vmedic at mips.com> wrote:

> Hi all,
> please find attached the patch that implements Mips assembler for basic instruction set. The instruction set supported can be found in test files that are the part of this patch. Looking forward to your comments and remarks.
> 
> Kind regards
> 
> Vladimir
> 
> P.S.
> I have sent this patch last week but got delivery failure from mails system. I apologize if this is a duplicate. 
> <MipsAssemblerImplementation.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120830/46a9f1f8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-m-ft-c-02-instructions.patch
Type: application/octet-stream
Size: 3290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120830/46a9f1f8/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120830/46a9f1f8/attachment-0001.html>


More information about the llvm-commits mailing list