aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-10-08Merge pull request #1689 from juj/fix_gl_uniform_arraysjuj
Fix gl uniform arrays
2013-10-08Add a note that the previous commits shift the performance landscape to be ↵Jukka Jylänki
heavier towards initial glLinkProgram time instead of doing work lazily in glGetUniformLocation time, which would get complicated for arrays, structs and SoA scenarios.
2013-10-06make EM_ASM use strings on the heap, so it works in asm, and cache the ↵Alon Zakai
generated functions
2013-10-03remove unneeded EMIT_GENERATED_FUNCTIONSAlon Zakai
2013-10-03add missing Math_min definitionAlon Zakai
2013-10-03emit final missing returns in compiler itselfAlon Zakai
2013-10-02do not tack on .0 to Infinity or NaNAlon Zakai
2013-10-02do not remove '.' from floats in parseNumericalAlon Zakai
2013-10-02explicitly define setjmp helper varsAlon Zakai
2013-10-02fix misc library asm validationsAlon Zakai
2013-10-02overflow numbers directly in js compilerAlon Zakai
2013-10-02when function is actually void, do not capture it's output even if llvm ↵Alon Zakai
mistakenly bitcasts that way
2013-10-02optimize Math.x to Math_xAlon Zakai
2013-10-02if not running js opts, ensure a . in asmEnsureFloat immediatelyAlon Zakai
2013-10-02define legalized bitshift vars explicitlyAlon Zakai
2013-10-02add explicit var to indirectbrAlon Zakai
2013-10-02add explicit variable for invoke chunksAlon Zakai
2013-10-02add explicit vars for phi dependency breaksAlon Zakai
2013-10-02add explicit vars for illegal mathops and landingpadAlon Zakai
2013-10-02register phi variables in functionAlon Zakai
2013-10-02chunk label init with the restAlon Zakai
2013-10-02todoAlon Zakai
2013-10-02add final return in non-relooped asm.js outputAlon Zakai
2013-10-02remove newlines from function line results, simplify joining themAlon Zakai
2013-10-02remove inter-function indentationAlon Zakai
2013-10-02remove whitespace after switch loopAlon Zakai
2013-10-02remove whitespace in call argsAlon Zakai
2013-10-02remove unnecessary function param coercion parensAlon Zakai
2013-10-02remove whitespace in stack opsAlon Zakai
2013-10-02bigger var chunksAlon Zakai
2013-10-02remove whitespace in misc function stuffAlon Zakai
2013-10-02remove whitespace in assignmentsAlon Zakai
2013-10-02remove whitespace in switchAlon Zakai
2013-10-02remove whitespace in mathopsAlon Zakai
2013-10-02remove unnecessary whitespace in while(1)Alon Zakai
2013-10-02remove unnecessary whitespace in branchesAlon Zakai
2013-10-02COMPILER_FASTPATHS optionAlon Zakai
2013-10-02debugging aidAlon Zakai
2013-10-02fast-path simple icmpAlon Zakai
2013-10-02fix intertype of comparisons' last parameterAlon Zakai
2013-10-02align function tables in non-asm modeAlon Zakai
2013-10-02Merge pull request #1693 from sunfishcode/incomingAlon Zakai
Optimize alignment rounding.
2013-10-02Merge pull request #1666 from waywardmonkeys/add-mktempAlon Zakai
Add mktemp
2013-10-02Optimize alignment rounding.Dan Gohman
Replace x>>2<<2 and x>>3<<3 with x&-4 and x&-8, respectively, since an and is cheaper than two shifts.
2013-10-02comment on FUNCTION_POINTER_ALIGNMENTAlon Zakai
2013-10-02make function pointer aliasing configurableAlon Zakai
2013-10-02Fix the handling of uniform arrays in the GL interop layer. In GL, arrays of ↵Jukka Jylänki
uniforms need to have consecutive locations, i.e. array[x] is at location array[0] + x. The uniform mapping table mechanism in library_gl.js did not take into account that user could do int loc = getUniformLocation("array[0]") and then call glUniform3fv(loc+2, data). In the fix, uniforms are mapped so that arrays will be guaranteed to get consecutive locations.
2013-10-02Add -s CASE_INSENSITIVE_FS=1 linker option to allow VFS to lookup files in ↵Jukka Jylänki
case-insensitive mode.
2013-10-01optimize asm function table emittingAlon Zakai
2013-10-01fix C_STRUCT usage in sdlAlon Zakai