Heidi Pan
adeaad098f
getting some initial set of x86 intrinsics mapped to JS SIMD ops; update existing SIMD code to use updated JS SIMD API (SIMD.type.op instead of SIMD.op & SIMD.opu32; int32x4 instead of uint32x4); bug fix: right type of withX() for int32x4 initialization; bug fix: splat(0) instead of zero() for int32x4 initialization
2013-11-26 14:59:02 -08:00
Heidi Pan
05de003154
getting some initial set of x86 intrinsics mapped to JS SIMD ops; update existing SIMD code to use updated JS SIMD API (SIMD.type.op instead of SIMD.op & SIMD.opu32; int32x4 instead of uint32x4); bug fix: right type of withX() for int32x4 initialization; bug fix: splat(0) instead of zero() for int32x4 initialization
2013-11-26 14:59:02 -08:00
Alon Zakai
a4e9c38c37
EM_ASM_INT and EM_ASM_DOUBLE, which allow input and output values from EM_ASM; fixes #1819
2013-11-17 10:20:45 -08:00
Alon Zakai
ecb9e4de28
mention inline asm() syntax in EM_ASM comment
2013-11-15 12:43:05 -08:00
Alon Zakai
4e21fffe3f
Merge branch 'regex-impl' of github.com:waywardmonkeys/emscripten into incoming
...
Conflicts:
tools/shared.py
2013-11-14 21:29:31 -08:00
Alon Zakai
b873dc778f
Merge branch 'incoming' into f32
...
Conflicts:
src/parseTools.js
src/preamble.js
2013-11-08 16:04:05 -08:00
Bruce Mitchener
ad1da1e668
Bump version & regen symbols for libcxx.
2013-11-07 16:08:19 +07:00
Bruce Mitchener
8a8f0348a1
Don't use atomic as that breaks our version of clang.
2013-11-07 16:08:02 +07:00
Bruce Mitchener
44af976a44
Update libcxx to 194185, 2013-11-07.
...
This brings C++14 support.
2013-11-07 16:07:18 +07:00
Alon Zakai
7f870cf9c3
Merge pull request #1748 from caiiiycuk/fix_sdl_colors
...
Fix SDL_SetColors && SDL_envets
2013-11-06 11:56:14 -08:00
Bruce Mitchener
eee1dad79e
regex implementation from musl.
2013-11-02 22:46:46 +07:00
Alon Zakai
3d48329892
Merge branch 'incoming' into f32
...
Conflicts:
src/parseTools.js
2013-11-01 18:26:58 -07:00
Alon Zakai
a4b5ac5a0b
begin to add emscripten_float32x4_signmask
2013-10-30 13:14:26 -07:00
Aleksander Guryanov
2247ff845f
Fix SDL_SetColors && SDL_envets
2013-10-30 18:18:29 +07:00
Alon Zakai
7c909b0db1
use double for emscripten_get_now, to not lose precision from performance.now etc.
2013-10-29 14:48:40 -07:00
Bruce Mitchener
5017df14db
Fix an issue with Boost compilation.
...
The issue is that when these macros are defined, libcxx
creates inline functions and so we end up with 2 separate
defintions of these functions (one inline in std and one
that is extern "C").
We undef these until libcxx is fixed. Without this,
some things can fail to compile correctly, like
Boost. Fixes issue #1716 .
2013-10-27 13:14:22 +07:00
Alon Zakai
634513d0c7
add vector.h
2013-10-18 13:00:49 -07:00
Alon Zakai
332325394c
make EM_ASM use strings on the heap, so it works in asm, and cache the generated functions
2013-10-06 17:44:06 -07:00
Bruce Mitchener
e197906fe1
Add iconv from musl.
2013-09-26 09:22:22 +07:00
Bruce Mitchener
894d13a4db
Add wprintf, swprintf, vswprintf, vfwprintf, etc.
2013-09-26 06:46:53 +07:00
Bruce Mitchener
7d58080e93
Add a lot of locale code.
2013-09-26 06:46:48 +07:00
Bruce Mitchener
baa4d38f13
Mark __assert_fail as _Noreturn.
...
This eliminates a performance regression caused in the box2d
benchmark by switching to the musl headers. Without this
being _Noreturn, clang / llvm generates much worse code involving
phis and extra loads.
2013-09-24 21:01:04 +07:00
Alon Zakai
1fc6762e31
emscripten_async_load_script
2013-09-13 15:13:30 -07:00
Bruce Mitchener
61c818d8da
Add compat sys/socketvar.h
...
This is required by xmlvm's hysock which is needed for the
benchmark.test_zzz_java_nbody test.
2013-09-13 10:11:51 -07:00
Bruce Mitchener
bf349b84d9
Don't define _POSIX_SHARED_MEMORY_OBJECTS.
...
This isn't implemented, so don't define it.
2013-09-13 10:11:32 -07:00
Alon Zakai
ed9596d393
headers readme
2013-09-13 10:07:03 -07:00
Bruce Mitchener
1dc5a8a5cd
Don't define _POSIX_SHARED_MEMORY_OBJECTS.
...
This isn't implemented, so don't define it.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
8f1db82f5a
Incorrect return type on a compat header.
...
This was exposed by the update to musl 0.9.13 which now has a
prototype for this function.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
733e6877d7
Update to musl-0.9.13 headers.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
4c3c7df30a
Correctly note musl provenance and differences.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
595d7eeae6
Change various 64 bit typedefs over to 32 bit.
...
This also removes all of the changes that were needed for those
typedefs to be 64 bit.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
b9c8b95795
gethostbyname_r update.
...
* gethostbyname_r is now the 6 arg version.
* Make enet use the right code path (this should be upstreamed).
* Add a compat header to make these declarations visible to all without
extra compilation flags.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
7b583fbae8
Emscripten requires different #s for stdio fds.
2013-09-13 10:07:03 -07:00
Bruce Mitchener
e06db69564
Add __va_copy as a compat/stdarg.h
2013-09-13 10:07:02 -07:00
Bruce Mitchener
d4400bfa41
Fix other.test_embind & other.test_static_link.
2013-09-13 10:07:02 -07:00
Bruce Mitchener
a9d0a7f981
Update to work with new libc headers.
2013-09-13 10:07:02 -07:00
Bruce Mitchener
5c6e1633d2
Update libc headers to use musl headers.
2013-09-13 10:07:02 -07:00
Alon Zakai
7ee8f9ba09
remove unnecessary -lSDL in sdl-config
2013-09-09 10:05:56 -07:00
Alon Zakai
a694963fb6
add sdl-config tool
2013-09-07 20:25:41 -07:00
Bruce Mitchener
e5f6f3a3d8
Use __EMSCRIPTEN__ rather than EMSCRIPTEN.
...
This was requested by someone upstream when I'd originally submitted
these changes and is more correct.
2013-09-06 12:19:24 +07:00
Alon Zakai
02cfae8fdd
fix gethostbyname_r types
2013-08-31 19:48:20 -07:00
Alon Zakai
a96b03e9c1
remove temporary enet fix, and define gethostbyname_r in a header, so that we can be sure at compilation time that it is used in the way it is expected to be (that function has more than one possible signature in various unixes)
2013-08-31 15:46:10 -07:00
ToadKing
42c0bcffe6
implement emscripten_get_canvas_size
2013-08-25 00:32:05 -04:00
Alon Zakai
c03324859d
EM_ASM option for nicer inline assembly
2013-08-23 10:29:55 -07:00
Alon Zakai
c4bd45a8f3
restore EMSCRIPTEN_KEEPALIVE, needed to prevent inlining, EXPORTED_FUNCTIONS is too late for that
2013-08-18 18:03:24 -07:00
Bruce Mitchener
10d1cb9f3e
Add compat headers, move some things to them.
...
This is groundwork for landing musl includes which remove
some of the deprecated functions or very old BSDisms.
2013-08-16 18:04:54 +07:00
Bruce Mitchener
6f894d481d
Update libcxx to revision 187959, 2013-08-08.
2013-08-09 09:53:12 +07:00
Alon Zakai
6c275bebb4
fix typo
2013-08-08 19:50:27 -07:00
Alon Zakai
470c131991
collect malloc defaults for emscripten, and do not try to trim
2013-08-08 18:13:50 -07:00
Alon Zakai
2bf16c8c1f
Merge pull request #1446 from yukoba/network-constants
...
Added constants to network headers.
2013-08-07 21:24:09 -07:00