forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvector.h
More file actions
34 lines (26 loc) · 1.32 KB
/
Copy pathvector.h
File metadata and controls
34 lines (26 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Support for the JS SIMD API proposal, https://github.com/johnmccutchan/ecmascript_simd
typedef float float32x4 __attribute__((__vector_size__(16)));
typedef unsigned int int32x4 __attribute__((__vector_size__(16)));
#ifdef __cplusplus
extern "C" {
#endif
unsigned int emscripten_float32x4_signmask(float32x4 x);
float32x4 emscripten_float32x4_min(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_max(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_sqrt(float32x4 a);
float32x4 emscripten_float32x4_lessThan(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_lessThanOrEqual(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_equal(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_greaterThanOrEqual(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_greaterThan(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_and(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_andNot(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_or(float32x4 a, float32x4 b);
float32x4 emscripten_float32x4_xor(float32x4 a, float32x4 b);
float32x4 emscripten_int32x4_bitsToFloat32x4(int32x4 a);
float32x4 emscripten_int32x4_toFloat32x4(int32x4 a);
int32x4 emscripten_float32x4_bitsToInt32x4(float32x4 a);
int32x4 emscripten_float32x4_toInt32x4(float32x4 a);
#ifdef __cplusplus
}
#endif