summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update spec tests and shift to putting the br_if condition at the end, as ↵Alon Zakai2016-02-084-13/+17
| | | | was just changed to in the spec
* Merge pull request #188 from WebAssembly/select_parseDerek Schuff2016-02-05134-1862/+1507
|\ | | | | Fix .s parser to accept new order of select operands
| * Fix .s parser to accept new order of select operandsDerek Schuff2016-02-05134-1862/+1507
|/ | | | Also update waterfall revision and LLVM-generated tests.
* Fix travis ASAN buildDerek Schuff2016-02-051-1/+2
| | | | | | Apparently ENV is something special for Travis and isn't just for setting environment variables. Instead manually export the variables in before_install.
* Merge pull request #183 from WebAssembly/asan_no_leakDerek Schuff2016-02-051-1/+1
|\ | | | | Suppress leak detection in ASan builder
| * Suppress leak detection in ASan builderDerek Schuff2016-02-051-1/+1
|/
* fix import parsingAlon Zakai2016-02-051-1/+1
|
* Update to build 2804JF Bastien2016-02-0533-950/+950
| | | | This updates a bunch of LLVM .s tests, but doesn't have any other fix (e.g. select). It'll make the next diff easier though.
* auto-update: pass --start when neededJF Bastien2016-02-051-2/+4
|
* Merge pull request #187 from WebAssembly/selectJF Bastien2016-02-0515-293/+305
|\ | | | | Fix select
| * Fix selectJF Bastien2016-02-0515-293/+305
|/ | | | | | | | | The ordering changed in: https://github.com/WebAssembly/spec/pull/221 Which changed the spec tests, breaking sexpr-wasm because it pulls in the spec tests. This was then fixed: https://github.com/WebAssembly/sexpr-wasm-prototype/commit/23dc368148fc7827a603e3853f5a40287eb9effe Which in turn breaks when binaryen feeds sexpr-wasm .wast files with the old select operand ordering. Note that this PR has new failures when running the torture tests in binaryen-shell: the order of evaluation is correct in binaryen-shell but isn't emitted properly by LLVM in the .s files. This will require another patch to fix LLVM.
* Merge pull request #182 from WebAssembly/startJF Bastien2016-02-0511-8/+121
|\ | | | | Support start
| * Review comments.JF Bastien2016-02-052-10/+11
| |
| * Support startJF Bastien2016-02-0511-10/+122
|/ | | | | | | | | | | | | | As spec'd in: https://github.com/WebAssembly/design/pull/495 And discussed in: https://github.com/WebAssembly/spec/issues/231 This will make it simpler and more uniform to add a start entry point. s2wasm is the right place to add start because it'll eventually need to do other basic setup, e.g. put code in start to setup the stack, as dschuff is doing in: https://github.com/WebAssembly/binaryen/pull/179 Or rather, the linker is the right place and s2wasm happens to act as our linker right now.
* Merge pull request #185 from WebAssembly/waterfall_updateAlon Zakai2016-02-043-91/+1
|\ | | | | Update waterfall build and revision
| * Update waterfall build and revisionDerek Schuff2016-02-043-91/+1
|/ | | | | This brings in the changes to pass --allocate-stack to s2wasm, and updates with a lot of new expected passing tests.
* Merge pull request #174 from mbebenita/fix-importAlon Zakai2016-02-041-9/+16
|\ | | | | Fix import parsing.
| * Formatting.Michael2016-02-041-3/+1
| |
| * Remove assert.Michael2016-02-031-1/+3
| |
| * Fix import parsing.Michael2016-02-031-8/+15
| |
* | commentAlon Zakai2016-02-041-0/+3
| |
* | Merge pull request #179 from WebAssembly/allocate_stackDerek Schuff2016-02-042-5/+40
|\ \ | | | | | | Allocate space for user stack at link time
| * | Add an option to allocate space for user stack at link timeDerek Schuff2016-02-042-5/+40
|/ / | | | | | | | | | | | | | | | | Currently s2wasm pre-allocates space for the special __stack_pointer variable but not for the actual stack, and __stack_pointer is null. On real systems the stack is allocated by the dynamic linker, thread runtime, or other toolchain/system-provided startup code. Since we don't have any of that in wasm yet, just add an option to allocate the stack in the linker for now, so we can continue to run single-file libc-free tests.
* | NFC: improve minSize rationaleJF Bastien2016-02-041-2/+4
| | | | | | | | As discussed in https://github.com/WebAssembly/binaryen/pull/167#issuecomment-179496231
* | Merge pull request #180 from WebAssembly/unsigned_binaryJF Bastien2016-02-041-40/+42
|\ \ | | | | | | Use unsigned types to evaluate i32 and i64 binary operators
| * | Use unsigned types to evaluate i32 and i64 binary operatorsDerek Schuff2016-02-041-40/+42
| | | | | | | | | | | | | | | | | | | | | Instead of defaulting to signed types and casting as necessary, use unsigned types. Explicitly make signed copies of them and us them where appropriate, avoiding lots of casting and improving readability. Avoids undefined behavior of signed overflow.
* | | Merge pull request #181 from WebAssembly/de_inlineDerek Schuff2016-02-031-3/+3
|\ \ \ | |/ / |/| | De-inline signed wrapper templates for bit manipulation functions
| * | De-inline signed wrapper templates for bit manipulation functionsDerek Schuff2016-02-031-3/+3
|/ / | | | | | | This fixes the clang build.
* | Merge pull request #178 from WebAssembly/fix_ambigAlon Zakai2016-02-031-2/+2
|\ \ | | | | | | Fix ambiguous constructor call with explicit cast
| * | Fix ambiguous constructor call with explicit castDerek Schuff2016-02-031-2/+2
|/ / | | | | | | Should fix the Travis build.
* | update spec testsAlon Zakai2016-02-031-0/+0
| |
* | Break and Return have unreachable typeAlon Zakai2016-02-033-6/+14
| |
* | Merge remote-tracking branch 'origin/improve-memory-trap'Alon Zakai2016-02-031-6/+14
|\ \
| * | Shell: improve memory trapJF Bastien2016-02-031-6/+14
| |/ | | | | | | | | This makes it easier to debug, the message looks like: [trap final > memory: 1 > 0]
* | fix gcc 4.8.2 breakage due to 66da1ee9cc70e3848c45745c21a244e54512fa9cAlon Zakai2016-02-031-9/+13
| |
* | Merge pull request #152 from WebAssembly/float-refactorAlon Zakai2016-02-038-91/+111
|\ \ | |/ |/| Float refactoring and nan comparison change
| * fix type of large constsAlon Zakai2016-02-031-2/+2
| |
| * fix nan comparisonsAlon Zakai2016-02-021-4/+4
| |
| * in assert tests, verify nans are identicalAlon Zakai2016-02-021-2/+15
| |
| * simplify interpreter int reinterpretingAlon Zakai2016-02-021-10/+2
| |
| * parse nans with all due careAlon Zakai2016-02-021-2/+2
| |
| * convert CopySign to use int bitsAlon Zakai2016-02-021-8/+4
| |
| * convert Neg to use int bitsAlon Zakai2016-02-021-4/+6
| |
| * convert Abs to use int bitsAlon Zakai2016-02-022-2/+15
| |
| * save int bits in Literals, only bitcast to float/double on explicit requestAlon Zakai2016-02-026-69/+73
| |
* | Merge pull request #170 from WebAssembly/bits-supportJF Bastien2016-02-035-132/+170
|\ \ | | | | | | Move bits.h to support/
| * | Move bits.h to support/JF Bastien2016-02-035-132/+170
| |/ | | | | | | Faster compiles.
* | Merge pull request #167 from WebAssembly/unalignedJF Bastien2016-02-031-27/+76
|\ \ | |/ |/| Shell: don't use unaligned memory
| * Shell: don't use unaligned memoryJF Bastien2016-02-031-27/+76
| |
* | update spec testsAlon Zakai2016-02-021-0/+0
| |