We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29be49c commit 4ad2a6cCopy full SHA for 4ad2a6c
Eigen/src/Core/arch/AltiVec/PacketMath.h
@@ -30,7 +30,13 @@ namespace internal {
30
#ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS
31
#define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 32
32
#endif
33
-
+
34
+// power9 yaya, not equal
35
+#ifndef vec_cmpne
36
+# define vec_not(a) vec_nor(a, a)
37
+# define vec_cmpne(a, b) vec_not(vec_cmpeq(a, b))
38
+#endif
39
40
typedef __vector float Packet4f;
41
typedef __vector int Packet4i;
42
typedef __vector unsigned int Packet4ui;
0 commit comments