Home
last modified time | relevance | path

Searched refs:X86SSELevel (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86Subtarget.cpp191 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 …]
DX86Subtarget.h58 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()
DX86GenSubtargetInfo.inc173 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;
DX86.td40 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/
DX86Subtarget.h69 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()
DX86.td58 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",
DX86Subtarget.cpp218 DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel in initSubtargetFeatures()
234 X86SSELevel = NoSSE; in initializeEnvironment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86Subtarget.h90 X86SSEEnum X86SSELevel = NoSSE; variable
538 bool hasSSE1() const { return X86SSELevel >= SSE1; } in hasSSE1()
539 bool hasSSE2() const { return X86SSELevel >= SSE2; } in hasSSE2()
540 bool hasSSE3() const { return X86SSELevel >= SSE3; } in hasSSE3()
541 bool hasSSSE3() const { return X86SSELevel >= SSSE3; } in hasSSSE3()
542 bool hasSSE41() const { return X86SSELevel >= SSE41; } in hasSSE41()
543 bool hasSSE42() const { return X86SSELevel >= SSE42; } in hasSSE42()
544 bool hasAVX() const { return X86SSELevel >= AVX; } in hasAVX()
545 bool hasAVX2() const { return X86SSELevel >= AVX2; } in hasAVX2()
546 bool hasAVX512() const { return X86SSELevel >= AVX512F; } in hasAVX512()
DX86.td61 def FeatureSSE1 : SubtargetFeature<"sse", "X86SSELevel", "SSE1",
66 def FeatureSSE2 : SubtargetFeature<"sse2", "X86SSELevel", "SSE2",
69 def FeatureSSE3 : SubtargetFeature<"sse3", "X86SSELevel", "SSE3",
72 def FeatureSSSE3 : SubtargetFeature<"ssse3", "X86SSELevel", "SSSE3",
75 def FeatureSSE41 : SubtargetFeature<"sse4.1", "X86SSELevel", "SSE41",
78 def FeatureSSE42 : SubtargetFeature<"sse4.2", "X86SSELevel", "SSE42",
116 def FeatureAVX : SubtargetFeature<"avx", "X86SSELevel", "AVX",
119 def FeatureAVX2 : SubtargetFeature<"avx2", "X86SSELevel", "AVX2",
128 def FeatureAVX512 : SubtargetFeature<"avx512f", "X86SSELevel", "AVX512F",
DX86Subtarget.cpp262 LLVM_DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel in initSubtargetFeatures()
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenSubtargetInfo.inc16686 if (Bits[X86::FeatureAVX] && X86SSELevel < AVX) X86SSELevel = AVX;
16687 if (Bits[X86::FeatureAVX2] && X86SSELevel < AVX2) X86SSELevel = AVX2;
16688 if (Bits[X86::FeatureAVX512] && X86SSELevel < AVX512F) X86SSELevel = AVX512F;
16754 if (Bits[X86::FeatureSSE1] && X86SSELevel < SSE1) X86SSELevel = SSE1;
16755 if (Bits[X86::FeatureSSE2] && X86SSELevel < SSE2) X86SSELevel = SSE2;
16756 if (Bits[X86::FeatureSSE3] && X86SSELevel < SSE3) X86SSELevel = SSE3;
16758 if (Bits[X86::FeatureSSE41] && X86SSELevel < SSE41) X86SSELevel = SSE41;
16759 if (Bits[X86::FeatureSSE42] && X86SSELevel < SSE42) X86SSELevel = SSE42;
16761 if (Bits[X86::FeatureSSSE3] && X86SSELevel < SSSE3) X86SSELevel = SSSE3;