FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
opencv/cmake/checks/cpu_vsx.cpp at master · pythonmjs/opencv · GitHub
pythonmjs
/
opencv
Public
forked from
opencv/opencv
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
opencv
/
cmake
/
checks
/
cpu_vsx.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 211 Bytes
Breadcrumbs
opencv
/
cmake
/
checks
/
cpu_vsx.cpp
Copy path
File metadata and controls
12 lines (11 loc) · 211 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
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
;
}
Back
|
FazBrowse Home
|
New Git URL