1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Added support for VSX

This commit is contained in:
Sayed Adel
2017-10-02 22:54:31 +00:00
parent 2a2537725a
commit d077778074
13 changed files with 1042 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
# if defined(__VSX__)
# include <altivec.h>
# else
# error "VSX is not supported"
# endif
int main()
{
__vector float testF = vec_splats(0.f);
testF = vec_madd(testF, testF, testF);
return 0;
}