mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
211 B
13 lines
211 B
7 years ago
|
# 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;
|
||
|
}
|