Alon Zakai
414f1dc849
option to provide type info at run time
2011-07-15 19:35:40 -07:00
max99x
1e8f828cb5
Removed errno global since it's implemented via __errno_location().
2011-07-14 18:53:57 +03:00
max99x
f1507e847d
Added errno and glibc-defined error codes; implemented strerror().
2011-07-14 01:46:44 +03:00
max99x
3c07ebaefd
Making the infinity test sign-agnostic (clang compatibility).
2011-07-13 23:34:00 +03:00
max99x
81c4df8f8b
Micro-improvement for the infinity test.
2011-07-13 23:32:26 +03:00
max99x
3159de633f
Fixed finite() and isinf(), added tests for it.
2011-07-13 23:25:44 +03:00
max99x
9ee300c190
Switched from argparse to optparse in emscripten.py, for older Python.
2011-07-13 22:30:29 +03:00
max99x
fcacb4c13c
Merge branch 'master' of github.com:max99x/emscripten
2011-07-13 21:44:19 +03:00
Alon Zakai
2a0f3ba466
fscanf
2011-07-12 07:43:52 -07:00
Alon Zakai
8f49ea85f5
clear errors for exceptions inside emscripten.py from test runner
2011-07-11 18:53:30 -07:00
Alon Zakai
6c101f3ad8
bindings generator cleanup
2011-07-09 19:24:20 -07:00
kripken
c79828f6b8
Merge pull request #47 from max99x/master
...
Emscripten.py rewrite
2011-07-09 10:28:19 -07:00
max99x
11e404d7a8
Polish for emscripten.py and its tests.
2011-07-09 20:14:00 +03:00
max99x
8ffd5c52ca
Merge remote-tracking branch 'upstream/master'
2011-07-08 12:53:20 +03:00
max99x
b84bb001de
Added hyperbolic math functions;
...
Fixed trailing zero stripping in formatString().
2011-07-08 11:46:20 +03:00
max99x
b5b48bab8b
Improved clock() test to verify time() <-> clock().
2011-07-08 09:14:26 +03:00
max99x
1bd1893888
* Added support for automatically determining llvm-gcc/clang data layout in emscripten.py.
...
* Added a dlmalloc linking test.
* Fixed double-evaling of JSON in emscripten.py when --dlmalloc is passed.
2011-07-08 08:39:31 +03:00
max99x
631e2dc9a4
Added a test for running emscripten.py straight on a .bc file.
2011-07-08 07:33:37 +03:00
max99x
9cfc7d9e9d
Added a test for unannotated LL.
2011-07-08 07:23:03 +03:00
max99x
f0bb154229
* Moved pick_llvm_opts() to tools/shared.py.
...
* Using pick_llvm_opts() instead of hardcoding -O3 in emscripten.py.
* Reassembling only when needed in emscripten.py.
2011-07-08 07:04:38 +03:00
Alon Zakai
1a599856b4
comment about test_cases
2011-07-07 17:58:35 -07:00
max99x
7dcdb044d3
Rewrite of emscripten.py:
...
* Uses option arguments instead of positional ones.
* Allows linking to dlmalloc.
* Accepts both .bc and .ll files and takes care of annotations.
* Allows running the LLVM optimization pass automatically.
* Updated test runner to use the new emscripten.py interface.
Refactoring:
* Moved settings.py to root folder. It no longer applies just to tests.
* Updated references to settings.py.
* Added an __init__.py to tools, so we don't have to hack around imports.
2011-07-07 12:24:09 +03:00
max99x
d94b2423ae
Added proper clock() test; fixed inverted clock() sign.
2011-07-07 07:34:16 +03:00
Alon Zakai
8e4dc2caa6
improved bindings generator
2011-07-06 20:50:04 -07:00
max99x
dedb83b9e1
Merge remote-tracking branch 'upstream/master'
2011-07-06 16:37:28 +03:00
max99x
13ac46b2c9
Fixed time.h timezone bug.
2011-07-06 16:36:35 +03:00
Alon Zakai
1aeee076cf
ensure binding functions are not DFE'd away
2011-07-04 12:17:06 -07:00
Alon Zakai
a4262aa2c9
support for llvm aliases
2011-07-04 11:51:22 -07:00
Alon Zakai
7653c3b900
initial work on bindings generator, using CppHeaderParser and ply. llvm-gcc only for now
2011-07-03 23:51:38 -07:00
max99x
a440e9845a
Merge remote-tracking branch 'upstream/master'
2011-07-03 07:42:26 +03:00
max99x
48a2a87eba
Implemented a large part of <time.h>.
2011-07-03 07:36:10 +03:00
max99x
5356a8857b
Implemented a little more of fstat(), getcwd();
...
Fixed minor Python test formatting mistake (test passes either way).
2011-07-03 07:34:23 +03:00
Alon Zakai
9104355625
normalize memops benchmark
2011-07-01 19:56:14 -07:00
Alon Zakai
1c1d291964
handle complex expressions in br. fixes issue 39
2011-07-01 07:51:10 -07:00
Alon Zakai
7d8e65edda
refactoring+cleanup, to add type info where it was missing. allows proper function indexing by type, and not recognizing the identifier. fixes issue 38
2011-06-30 18:30:50 -07:00
Alon Zakai
a326e6a1ec
backout previous broken commit
2011-06-29 20:28:57 -07:00
max99x
7cecdd0d94
Merge remote-tracking branch 'upstream/master'
2011-06-30 05:19:19 +03:00
Alon Zakai
0e9344a428
indexize external functions (for shared libraries, primarily), +some code cleanup around that. fixed issues 38
2011-06-29 19:16:08 -07:00
Alon Zakai
8fc2acdc4e
prevent silly overflow in memops benchmark, to make it more fair
2011-06-29 14:54:23 -07:00
max99x
dba00a5c7c
Minor polish:
...
* Removed auto-added `.js` from dynamically loaded libs.
* Removed redundant bit fiddling in _formatString. Uses unSign/reSign instead.
2011-06-29 11:25:15 +03:00
kripken
70edb25e68
Merge pull request #37 from max99x/master
...
Printf/_formatString polish
2011-06-28 18:26:18 -07:00
Alon Zakai
145c2f66d9
support for blockaddress/indirectbr. fixes issue 34
2011-06-28 18:24:06 -07:00
max99x
6fe80d00d6
Removed erroneous printf test cases that triggered GCC warnings.
2011-06-28 14:07:32 +03:00
max99x
126df9fa21
Added proper argument size support to _formatString/printf.
2011-06-28 13:34:23 +03:00
max99x
0ea0b71b34
Proper handling of unknown specifiers in _formatString/printf; minor refactor.
2011-06-28 09:32:11 +03:00
max99x
bef407f174
Properly padding infinity/NaN in _formatString/printf.
2011-06-28 09:03:24 +03:00
max99x
3a0e9450e8
Added support for %n in _formatString/printf.
2011-06-28 08:56:33 +03:00
Alon Zakai
7e39bae464
fix for just-broken poppler
2011-06-27 20:21:32 -07:00
max99x
26d16fbbca
Replaced brainded float formatting with a much cleaner (and more precise) version.
2011-06-28 03:42:53 +03:00
max99x
a0ac176b22
Fixed some strict mode problems; added test for -Infinity.
2011-06-27 21:23:46 +03:00