[llvm-commits] [patch] add MIPS64 SubTraget and stubs support to LLVM.
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Mon Sep 19 11:09:58 PDT 2011
Hi,
On Mon, Sep 19, 2011 at 2:35 AM, Liu <proljc at gmail.com> wrote:
> Hi all
>
> I've add mips64 SubTarget and stubs support to llvm. Please review and checkin.
Overall looks good, please fix the space alignment here:
+ if ((TheTriple.getArch() == Triple::mips) ||
+ (TheTriple.getArch() == Triple::mips64))
Here:
+ TargetRegistry::RegisterMCInstPrinter(TheMips64Target,
+ createMipsMCInstPrinter);
+ TargetRegistry::RegisterMCInstPrinter(TheMips64elTarget,
+ createMipsMCInstPrinter);
And here:
+def FeatureMips64 : SubtargetFeature<"mips64", "MipsArchVersion",
+ "Mips64", "Mips64 ISA Support",
+ [FeatureGP64Bit, FeatureFP64Bit,
+ FeatureCondMov, FeatureBitCount]>;
--
Bruno Cardoso Lopes
http://www.brunocardoso.cc
More information about the llvm-commits
mailing list