mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
13 lines
211 B
C++
13 lines
211 B
C++
# 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;
|
|
}
|