7 Commits

Author SHA1 Message Date
vsariola
822cb7bac5 optimize(templates): replace fld / fmulp with a direct fmul 2021-03-27 16:35:58 +02:00
vsariola
763c4f5136 fix(templates): unison sample oscillators crashed on amd64 2021-03-24 23:49:14 +02:00
vsariola
0c2b1a3856 fix(templates): stereo oscillators were messing up WRK 2021-03-24 00:18:12 +02:00
vsariola
d2f4d5d851 optimize(templates): only include lfo if it's actually used 2021-03-21 12:06:58 +02:00
vsariola
248ca6e30b templates: optimize sources.asm size 2021-02-28 15:14:06 +02:00
Veikko Sariola
c02c5c3c3d fix(asm/wasm): oscillator phase was causing rounding errors once large enough
gopher had fixed this, but we foolishly removed it. reintroducing fix, although this could be optional only for those who really care. ultimate size optimizers could still want to get rid of it.
2020-12-30 21:19:27 +02:00
Veikko Sariola
e4490faa2e feat(compiler): Add support for targeting WebAssembly.
The working principle is similar as before with x86, but instead of outputting .asm, it outputs .wat. This can be compiled into .wasm by using the wat2wasm assembler.
2020-12-26 23:16:18 +02:00