]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Print vectorization for altivec 6629/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 8 Oct 2018 06:33:32 +0000 (08:33 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 8 Oct 2018 06:33:32 +0000 (08:33 +0200)
source/base/utilities.cc

index baee0da0027a494e51cef9f02f49b7c71fc568be..659f82b45c995076c1f93a7b12d03ae6f74ded68 100644 (file)
@@ -810,7 +810,11 @@ namespace Utilities
           case 0:
             return "disabled";
           case 1:
+#ifdef __ALTIVEC__
+            return "AltiVec";
+#else
             return "SSE2";
+#endif
           case 2:
             return "AVX";
           case 3:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.