Pārlūkot izejas kodu

Merge branch 'master' of https://git.winfor.ch/nicolas/Almond

Nicolas Winkler 6 gadi atpakaļ
vecāks
revīzija
c698e83415
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      libmandel/include/CpuGenerators.h

+ 5 - 0
libmandel/include/CpuGenerators.h

@@ -9,6 +9,7 @@ namespace mnd
     class CpuGeneratorDouble;
     class CpuGenerator128;
 
+#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86) 
     class CpuGeneratorSse2Float;
     class CpuGeneratorSse2Double;
 
@@ -17,6 +18,7 @@ namespace mnd
 
     class CpuGeneratorAvx512Float;
     class CpuGeneratorAvx512Double;
+#endif
 }
 
 
@@ -41,6 +43,8 @@ public:
 };
 
 
+
+#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86) 
 class mnd::CpuGeneratorSse2Float : public Generator
 {
 public:
@@ -81,5 +85,6 @@ class mnd::CpuGeneratorAvx512Double : public Generator
 public:
     virtual void generate(const MandelInfo& info, float* data);
 };
+#endif 
 
 #endif // MANDEL_CPUGENERATORS_H