mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add flags and feature bits for mips dsp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -92,6 +92,9 @@ protected:
|
||||
// InMips16 -- can process Mips16 instructions
|
||||
bool InMips16Mode;
|
||||
|
||||
// HasDSP, HasDSPR2 -- supports DSP ASE.
|
||||
bool HasDSP, HasDSPR2;
|
||||
|
||||
// IsAndroid -- target is android
|
||||
bool IsAndroid;
|
||||
|
||||
@@ -134,6 +137,8 @@ public:
|
||||
bool isNotSingleFloat() const { return !IsSingleFloat; }
|
||||
bool hasVFPU() const { return HasVFPU; }
|
||||
bool inMips16Mode() const { return InMips16Mode; }
|
||||
bool hasDSP() const { return HasDSP; }
|
||||
bool hasDSPR2() const { return HasDSPR2; }
|
||||
bool isAndroid() const { return IsAndroid; }
|
||||
bool isLinux() const { return IsLinux; }
|
||||
bool useSmallSection() const { return UseSmallSection; }
|
||||
|
Reference in New Issue
Block a user