FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
emscripten/tests/optimizer/simd.js at incoming · JavaScriptIOT/emscripten · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptIOT
/
emscripten
Public
forked from
emscripten-core/emscripten
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
emscripten
/
tests
/
optimizer
/
simd.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (15 loc) · 403 Bytes
Breadcrumbs
emscripten
/
tests
/
optimizer
/
simd.js
Copy path
File metadata and controls
16 lines (15 loc) · 403 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
13
14
15
function
a
(
x
,
y
)
{
x
=
SIMD_Int32x4_check
(
x
)
;
y
=
SIMD_Float32x4_check
(
y
)
;
var
z
=
SIMD_Float32x4
(
0
,
0
,
0
,
0
)
;
work
(
z
)
;
}
function
b
(
i
,
j
)
{
i
=
i
|
0
;
j
=
j
|
0
;
var
I
=
SIMD_Int32x4
(
0
,
0
,
0
,
0
)
,
k
=
0
;
I
=
SIMD_Int32x4_add
(
SIMD_Int32x4_splat
(
Math_fround
(
0
)
)
,
SIMD_Int32x4
(
0
,
1
,
2
,
3
)
)
;
k
=
i
+
(
j
<<
2
)
|
0
;
SIMD_Int32x4_store
(
HEAPU8
,
k
,
I
)
;
}
// EMSCRIPTEN_GENERATED_FUNCTIONS: ["a", "b"]
Back
|
FazBrowse Home
|
New Git URL