Searched refs:X86SSELevel (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86Subtarget.cpp | 191 if ((EDX >> 23) & 1) { X86SSELevel = MMX; ToggleFeature(X86::FeatureMMX); } in AutoDetectSubtargetFeatures() 192 if ((EDX >> 25) & 1) { X86SSELevel = SSE1; ToggleFeature(X86::FeatureSSE1); } in AutoDetectSubtargetFeatures() 193 if ((EDX >> 26) & 1) { X86SSELevel = SSE2; ToggleFeature(X86::FeatureSSE2); } in AutoDetectSubtargetFeatures() 194 if (ECX & 0x1) { X86SSELevel = SSE3; ToggleFeature(X86::FeatureSSE3); } in AutoDetectSubtargetFeatures() 195 if ((ECX >> 9) & 1) { X86SSELevel = SSSE3; ToggleFeature(X86::FeatureSSSE3);} in AutoDetectSubtargetFeatures() 196 if ((ECX >> 19) & 1) { X86SSELevel = SSE41; ToggleFeature(X86::FeatureSSE41);} in AutoDetectSubtargetFeatures() 197 if ((ECX >> 20) & 1) { X86SSELevel = SSE42; ToggleFeature(X86::FeatureSSE42);} in AutoDetectSubtargetFeatures() 278 , X86SSELevel(NoMMXSSE) in X86Subtarget() 336 if (!HasAVX && X86SSELevel < SSE2) { in X86Subtarget() 337 X86SSELevel = SSE2; in X86Subtarget() [all …]
|
D | X86Subtarget.h | 58 X86SSEEnum X86SSELevel; variable 172 bool hasMMX() const { return X86SSELevel >= MMX; } in hasMMX() 173 bool hasSSE1() const { return X86SSELevel >= SSE1; } in hasSSE1() 174 bool hasSSE2() const { return X86SSELevel >= SSE2; } in hasSSE2() 175 bool hasSSE3() const { return X86SSELevel >= SSE3; } in hasSSE3() 176 bool hasSSSE3() const { return X86SSELevel >= SSSE3; } in hasSSSE3() 177 bool hasSSE41() const { return X86SSELevel >= SSE41; } in hasSSE41() 178 bool hasSSE42() const { return X86SSELevel >= SSE42; } in hasSSE42()
|
D | X86GenSubtargetInfo.inc | 173 if ((Bits & X86::FeatureMMX) != 0 && X86SSELevel < MMX) X86SSELevel = MMX; 177 if ((Bits & X86::FeatureSSE1) != 0 && X86SSELevel < SSE1) X86SSELevel = SSE1; 178 if ((Bits & X86::FeatureSSE2) != 0 && X86SSELevel < SSE2) X86SSELevel = SSE2; 179 if ((Bits & X86::FeatureSSE3) != 0 && X86SSELevel < SSE3) X86SSELevel = SSE3; 181 if ((Bits & X86::FeatureSSE41) != 0 && X86SSELevel < SSE41) X86SSELevel = SSE41; 182 if ((Bits & X86::FeatureSSE42) != 0 && X86SSELevel < SSE42) X86SSELevel = SSE42; 183 if ((Bits & X86::FeatureSSSE3) != 0 && X86SSELevel < SSSE3) X86SSELevel = SSSE3;
|
D | X86.td | 40 def FeatureMMX : SubtargetFeature<"mmx","X86SSELevel", "MMX", 42 def FeatureSSE1 : SubtargetFeature<"sse", "X86SSELevel", "SSE1", 47 def FeatureSSE2 : SubtargetFeature<"sse2", "X86SSELevel", "SSE2", 50 def FeatureSSE3 : SubtargetFeature<"sse3", "X86SSELevel", "SSE3", 53 def FeatureSSSE3 : SubtargetFeature<"ssse3", "X86SSELevel", "SSSE3", 56 def FeatureSSE41 : SubtargetFeature<"sse41", "X86SSELevel", "SSE41", 59 def FeatureSSE42 : SubtargetFeature<"sse42", "X86SSELevel", "SSE42",
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.h | 69 X86SSEEnum X86SSELevel; variable 382 bool hasSSE1() const { return X86SSELevel >= SSE1; } in hasSSE1() 383 bool hasSSE2() const { return X86SSELevel >= SSE2; } in hasSSE2() 384 bool hasSSE3() const { return X86SSELevel >= SSE3; } in hasSSE3() 385 bool hasSSSE3() const { return X86SSELevel >= SSSE3; } in hasSSSE3() 386 bool hasSSE41() const { return X86SSELevel >= SSE41; } in hasSSE41() 387 bool hasSSE42() const { return X86SSELevel >= SSE42; } in hasSSE42() 388 bool hasAVX() const { return X86SSELevel >= AVX; } in hasAVX() 389 bool hasAVX2() const { return X86SSELevel >= AVX2; } in hasAVX2() 390 bool hasAVX512() const { return X86SSELevel >= AVX512F; } in hasAVX512()
|
D | X86.td | 58 def FeatureSSE1 : SubtargetFeature<"sse", "X86SSELevel", "SSE1", 63 def FeatureSSE2 : SubtargetFeature<"sse2", "X86SSELevel", "SSE2", 66 def FeatureSSE3 : SubtargetFeature<"sse3", "X86SSELevel", "SSE3", 69 def FeatureSSSE3 : SubtargetFeature<"ssse3", "X86SSELevel", "SSSE3", 72 def FeatureSSE41 : SubtargetFeature<"sse4.1", "X86SSELevel", "SSE41", 75 def FeatureSSE42 : SubtargetFeature<"sse4.2", "X86SSELevel", "SSE42", 113 def FeatureAVX : SubtargetFeature<"avx", "X86SSELevel", "AVX", 116 def FeatureAVX2 : SubtargetFeature<"avx2", "X86SSELevel", "AVX2", 119 def FeatureAVX512 : SubtargetFeature<"avx512f", "X86SSELevel", "AVX512F",
|
D | X86Subtarget.cpp | 218 DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel in initSubtargetFeatures() 234 X86SSELevel = NoSSE; in initializeEnvironment()
|