Skip to content

Commit 1377f2d

Browse files
r-a-sattarovSupSuper
authored andcommitted
src/Engine/Zoom.cpp: updated Zoom::haveSSE2 check for e2k
1 parent 9548b39 commit 1377f2d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/Engine/Zoom.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,12 @@ bool Zoom::haveSSE2()
634634
{
635635
#ifdef __GNUC__
636636
unsigned int CPUInfo[4] = {0, 0, 0, 0};
637-
#if (__i386__ || __x86_64__)
638-
__get_cpuid(1, CPUInfo, CPUInfo+1, CPUInfo+2, CPUInfo+3);
639-
#elif (__e2k__)
637+
#if (__e2k__) // e2k - MCST Elbrus 2000 architecture
640638
#ifdef __SSE2__
641639
CPUInfo[3] = 0x04000000;
642640
#endif
641+
#else // i386/x86_64
642+
__get_cpuid(1, CPUInfo, CPUInfo+1, CPUInfo+2, CPUInfo+3);
643643
#endif
644644
#elif _WIN32
645645
int CPUInfo[4];

0 commit comments

Comments
 (0)