asmjs
asmjs copied to clipboard
GCC asm.js backend, support files that can't go in the program repositories
I need a gba compiler.wasm, it's posible using this project to do it? Or only compile to wasm? [Sorry my bad English]
The asm.js port supports stack trampolines: it's quite easy since we can catch function calls to invalid addresses, then make sure those addresses actually point to data, not code, that...
The first step to remedying the problems pointed out at https://github.com/pipcet/asmjs/issues/7#issuecomment-287610816 is to allow gcc-generated code to call functions defined in the "ordinary" wasm ABI. I think it would be...
I think that this project emits a switch-in-a-loop pattern for control flow currently? If that's correct, then one option to make it fast could be to add a pass in...
I've been trying to get `-ffunction-sections` to work, particularly in combination with `--gc-sections`. The problem is there is no `.text` section. A simple program will produce assembly output (after macro...
The asm.js backend splits the 32-bit "PC" register into a 20-bit function index and a 12-bit relative PC, with some alleged support for functions spanning several 12-bit "pages". That's not...
Right now, wasm functions have the signature ```(int, int, int, int, int, int) -> int``` The arguments are: - callee `$dpc` (-1 for first call) - `$sp1` (= `$sp` +...