[llvm-commits] mips16 patch 3 rev 1

reed kotler rkotler at mips.com
Mon May 21 13:48:39 PDT 2012


This patch adds a predicate to existing mips32 and mips64 so that those 
instruction encodings can be excluded during mips16 processing.

This revision fixes the issue raised by Jim Grosbach.

bool hasStandardEncoding() const { return !inMips16Mode(); }


When I add micro mips it will be

bool StandardEncoding() const { return !inMips16Mode()&&  !inMicroMipsMode(); }


No additional testing is needed other than to assure that there is no 
regression from this patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mips16_patch3
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120521/ec2a20f1/attachment.ksh>


More information about the llvm-commits mailing list