summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* ensure proper literal type for popcnt resultsAlon Zakai2015-12-231-2/+2
|
* Add curly.JF Bastien2015-12-231-1/+2
|
* clz32: handle 0 as with ctzJF Bastien2015-12-231-1/+3
|
* bits: return 32 on ctz32/clz32 of 0 instead of -1JF Bastien2015-12-231-2/+2
|
* Merge pull request #41 from WebAssembly/use-bitsAlon Zakai2015-12-231-41/+9
|\ | | | | Use the new bit functions
| * Use the new bit functionsJF Bastien2015-12-231-41/+9
| |
* | handle indirect calls with no parent in asm2wasm #36Alon Zakai2015-12-231-1/+1
|/
* fix typoAlon Zakai2015-12-231-1/+1
|
* Merge pull request #39 from WebAssembly/bitsAlon Zakai2015-12-231-0/+107
|\ | | | | Portable bit functions
| * Portable bit functionsJF Bastien2015-12-231-0/+107
| | | | | | | | | | | | | | As discussed here: https://github.com/WebAssembly/binaryen/pull/34#discussion_r48379297 It's useful to have portable bit functions instead of relying on compiler builtins which aren't always portable.
* | Merge pull request #34 from AndrewScheidecker/windows-fixesAlon Zakai2015-12-234-68/+62
|\ \ | | | | | | Fix a few Windows/VS2013 compile errors
| * | Change colors.h to isolate and minimize code that isn't compiled on all ↵Andrew Scheidecker2015-12-231-65/+19
| | | | | | | | | | | | platforms
| * | Implement feedbackAndrew Scheidecker2015-12-232-7/+5
| | |
| * | Fix a few Windows/VS2013 compile errorsAndrew Scheidecker2015-12-234-15/+57
| | |
* | | emit tables in s2wasmAlon Zakai2015-12-231-4/+15
| |/ |/|
* | handle combined globals better in s2wasmAlon Zakai2015-12-231-7/+16
| |
* | fix s-parser handling of memory segments with 0sAlon Zakai2015-12-231-25/+38
| |
* | emit staticBump in metadataAlon Zakai2015-12-231-3/+6
| |
* | generalize commandline options and add global-base option for s2wasmAlon Zakai2015-12-233-13/+26
| |
* | refactor memory merging codeAlon Zakai2015-12-232-31/+48
| |
* | Output the symbol name.JF Bastien2015-12-231-0/+1
| |
* | Emit error message when an unknown symbol is foundJF Bastien2015-12-231-1/+5
| |
* | s2wasm const parsing fixesAlon Zakai2015-12-232-8/+18
|/
* misc minor s2wasm fixes for globalsAlon Zakai2015-12-221-3/+4
|
* fix parsing of large offsets in 32-bitAlon Zakai2015-12-221-1/+1
|
* s2wasm: support .int8 and .int16 dataJF Bastien2015-12-221-0/+10
| | | | This fixes a bunch of the torture test failures.
* visitStore in LowerInt64Alon Zakai2015-12-221-3/+20
|
* Fix / uniformize include guardsJF Bastien2015-12-2221-41/+91
|
* Merge pull request #28 from WebAssembly/wallAlon Zakai2015-12-229-32/+79
|\ | | | | Fix warnings found by GCC
| * Add curlies.JF Bastien2015-12-221-1/+2
| |
| * 32-bits are enough since this is an asm.js pointerJF Bastien2015-12-221-1/+1
| |
| * Add compiler-support.hJF Bastien2015-12-221-0/+38
| |
| * Fix warnings found by GCCJF Bastien2015-12-228-32/+40
| | | | | | | | | | | | My previous patch addressed all LLVM warnings, this one addresses all the GCC ones as well (mostly signed / unsigned mix). The patch also turns on -Wall -Werror.
* | load in LowerInt64Alon Zakai2015-12-221-0/+40
|/
* Restore getStr(), but dicard result.JF Bastien2015-12-221-1/+1
|
* Fix unused variable / function warnings.JF Bastien2015-12-223-13/+4
|
* Add missing virtual dtorJF Bastien2015-12-222-1/+2
| | | | Deleting a Pass* wasn't doing the right thing.
* Fix warning on mixing struct / classJF Bastien2015-12-221-4/+6
|
* Merge pull request #24 from WebAssembly/uninintAlon Zakai2015-12-221-1/+3
|\ | | | | Fix uninitialize variable warning
| * Fix uninitialize variable warningJF Bastien2015-12-221-1/+3
| |
* | Move command line to its own file.JF Bastien2015-12-222-50/+75
| |
* | s2wasm: add outfileJF Bastien2015-12-223-39/+100
|/ | | | Use some C++ in a few places. I'll propagate similar changes to the rest of the codebase later. I also need to turn off colors when outputting to a file (isatty on stdout doesn't do that with -o) but I'll do it in a separate PR because it'll touch more files.
* prepare for functions in LowerInt64Alon Zakai2015-12-211-0/+6
|
* getlocal and setlocal in LowerInt64Alon Zakai2015-12-211-3/+50
|
* start work on LowerInt64 passAlon Zakai2015-12-211-0/+110
|
* unaligned loads and stores in wasm2asmAlon Zakai2015-12-211-2/+85
|
* support load/store offsets in wasm2asmAlon Zakai2015-12-211-0/+6
|
* more escapingAlon Zakai2015-12-211-0/+10
|
* Merge pull request #22 from WebAssembly/fix-license-headersAlon Zakai2015-12-2132-31/+492
|\ | | | | Fix the license headers
| * Fix the license headersJF Bastien2015-12-2132-31/+492
| | | | | | | | This applies Apache 2.0 properly (as far as our lawyers have told me). We can do this early since all of the code was written by Alon Zakai.