Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ensure proper literal type for popcnt results | Alon Zakai | 2015-12-23 | 1 | -2/+2 |
| | |||||
* | Add curly. | JF Bastien | 2015-12-23 | 1 | -1/+2 |
| | |||||
* | clz32: handle 0 as with ctz | JF Bastien | 2015-12-23 | 1 | -1/+3 |
| | |||||
* | bits: return 32 on ctz32/clz32 of 0 instead of -1 | JF Bastien | 2015-12-23 | 1 | -2/+2 |
| | |||||
* | Merge pull request #41 from WebAssembly/use-bits | Alon Zakai | 2015-12-23 | 1 | -41/+9 |
|\ | | | | | Use the new bit functions | ||||
| * | Use the new bit functions | JF Bastien | 2015-12-23 | 1 | -41/+9 |
| | | |||||
* | | handle indirect calls with no parent in asm2wasm #36 | Alon Zakai | 2015-12-23 | 1 | -1/+1 |
|/ | |||||
* | fix typo | Alon Zakai | 2015-12-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #39 from WebAssembly/bits | Alon Zakai | 2015-12-23 | 1 | -0/+107 |
|\ | | | | | Portable bit functions | ||||
| * | Portable bit functions | JF Bastien | 2015-12-23 | 1 | -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-fixes | Alon Zakai | 2015-12-23 | 4 | -68/+62 |
|\ \ | | | | | | | Fix a few Windows/VS2013 compile errors | ||||
| * | | Change colors.h to isolate and minimize code that isn't compiled on all ↵ | Andrew Scheidecker | 2015-12-23 | 1 | -65/+19 |
| | | | | | | | | | | | | platforms | ||||
| * | | Implement feedback | Andrew Scheidecker | 2015-12-23 | 2 | -7/+5 |
| | | | |||||
| * | | Fix a few Windows/VS2013 compile errors | Andrew Scheidecker | 2015-12-23 | 4 | -15/+57 |
| | | | |||||
* | | | emit tables in s2wasm | Alon Zakai | 2015-12-23 | 1 | -4/+15 |
| |/ |/| | |||||
* | | handle combined globals better in s2wasm | Alon Zakai | 2015-12-23 | 1 | -7/+16 |
| | | |||||
* | | fix s-parser handling of memory segments with 0s | Alon Zakai | 2015-12-23 | 1 | -25/+38 |
| | | |||||
* | | emit staticBump in metadata | Alon Zakai | 2015-12-23 | 1 | -3/+6 |
| | | |||||
* | | generalize commandline options and add global-base option for s2wasm | Alon Zakai | 2015-12-23 | 3 | -13/+26 |
| | | |||||
* | | refactor memory merging code | Alon Zakai | 2015-12-23 | 2 | -31/+48 |
| | | |||||
* | | Output the symbol name. | JF Bastien | 2015-12-23 | 1 | -0/+1 |
| | | |||||
* | | Emit error message when an unknown symbol is found | JF Bastien | 2015-12-23 | 1 | -1/+5 |
| | | |||||
* | | s2wasm const parsing fixes | Alon Zakai | 2015-12-23 | 2 | -8/+18 |
|/ | |||||
* | misc minor s2wasm fixes for globals | Alon Zakai | 2015-12-22 | 1 | -3/+4 |
| | |||||
* | fix parsing of large offsets in 32-bit | Alon Zakai | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | s2wasm: support .int8 and .int16 data | JF Bastien | 2015-12-22 | 1 | -0/+10 |
| | | | | This fixes a bunch of the torture test failures. | ||||
* | visitStore in LowerInt64 | Alon Zakai | 2015-12-22 | 1 | -3/+20 |
| | |||||
* | Fix / uniformize include guards | JF Bastien | 2015-12-22 | 21 | -41/+91 |
| | |||||
* | Merge pull request #28 from WebAssembly/wall | Alon Zakai | 2015-12-22 | 9 | -32/+79 |
|\ | | | | | Fix warnings found by GCC | ||||
| * | Add curlies. | JF Bastien | 2015-12-22 | 1 | -1/+2 |
| | | |||||
| * | 32-bits are enough since this is an asm.js pointer | JF Bastien | 2015-12-22 | 1 | -1/+1 |
| | | |||||
| * | Add compiler-support.h | JF Bastien | 2015-12-22 | 1 | -0/+38 |
| | | |||||
| * | Fix warnings found by GCC | JF Bastien | 2015-12-22 | 8 | -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 LowerInt64 | Alon Zakai | 2015-12-22 | 1 | -0/+40 |
|/ | |||||
* | Restore getStr(), but dicard result. | JF Bastien | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | Fix unused variable / function warnings. | JF Bastien | 2015-12-22 | 3 | -13/+4 |
| | |||||
* | Add missing virtual dtor | JF Bastien | 2015-12-22 | 2 | -1/+2 |
| | | | | Deleting a Pass* wasn't doing the right thing. | ||||
* | Fix warning on mixing struct / class | JF Bastien | 2015-12-22 | 1 | -4/+6 |
| | |||||
* | Merge pull request #24 from WebAssembly/uninint | Alon Zakai | 2015-12-22 | 1 | -1/+3 |
|\ | | | | | Fix uninitialize variable warning | ||||
| * | Fix uninitialize variable warning | JF Bastien | 2015-12-22 | 1 | -1/+3 |
| | | |||||
* | | Move command line to its own file. | JF Bastien | 2015-12-22 | 2 | -50/+75 |
| | | |||||
* | | s2wasm: add outfile | JF Bastien | 2015-12-22 | 3 | -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 LowerInt64 | Alon Zakai | 2015-12-21 | 1 | -0/+6 |
| | |||||
* | getlocal and setlocal in LowerInt64 | Alon Zakai | 2015-12-21 | 1 | -3/+50 |
| | |||||
* | start work on LowerInt64 pass | Alon Zakai | 2015-12-21 | 1 | -0/+110 |
| | |||||
* | unaligned loads and stores in wasm2asm | Alon Zakai | 2015-12-21 | 1 | -2/+85 |
| | |||||
* | support load/store offsets in wasm2asm | Alon Zakai | 2015-12-21 | 1 | -0/+6 |
| | |||||
* | more escaping | Alon Zakai | 2015-12-21 | 1 | -0/+10 |
| | |||||
* | Merge pull request #22 from WebAssembly/fix-license-headers | Alon Zakai | 2015-12-21 | 32 | -31/+492 |
|\ | | | | | Fix the license headers | ||||
| * | Fix the license headers | JF Bastien | 2015-12-21 | 32 | -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. |