[Mips][msa] Added initial MSA support.
[oota-llvm.git] / lib / Target / Mips / MipsSubtarget.h
index bfb13bb48023c1a8df472c3722749b0acf532e45..21d6938adac7f815a4af07c05737afc5d0b69dc8 100644 (file)
@@ -113,6 +113,9 @@ protected:
   // compiled as Mips32
   bool Os16;
 
+  // HasMSA -- supports MSA ASE.
+  bool HasMSA;
+
   InstrItineraryData InstrItins;
 
   // The instance to the register info section object
@@ -182,6 +185,7 @@ public:
   bool inMicroMipsMode() const { return InMicroMipsMode; }
   bool hasDSP() const { return HasDSP; }
   bool hasDSPR2() const { return HasDSPR2; }
+  bool hasMSA() const { return HasMSA; }
   bool isLinux() const { return IsLinux; }
   bool useSmallSection() const { return UseSmallSection; }