js/src/jsbuiltins.cpp
be90e8cf66b74f998ecf02015b13015f1587555b
created 2008-07-14 18:22 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - fix our aliasing idiocy by extending jsdpun, add Math.sqrt, add strict-aliasing to our Makefile.ref flags
b15aafddf015d59f3c364e29c713211b71e56c3e
created 2008-07-14 00:28 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - make JSOP_CALL builtin specialization data-driven
478add19377d5715175f4ef6ef9edab090067f8c
created 2008-07-12 00:03 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - add Math.cos and Math.pow to the specialized-call party, and add tests
f4a1671e5fb1169a312aad31cea9f40305986f5b
created 2008-07-11 23:04 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - I will remember that stacked values are not boxed.
26a4c733812df13f54f0ce769b7fbaec1b5fc6a9
created 2008-07-11 22:59 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - Specialized tracing of Math.sin, as a proof of concept. Doesn't quite work due to regalloc mismatch, but close!
34a01f96dff7613cb51e76bc150f43d4ce98b8f5
created 2008-07-11 11:40 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - Windows cares a lot more about where FASTCALL is; such a sensitive platform
b921df2b5ead96386f1a6fe7021a44fe9a3137b2
created 2008-07-10 08:40 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - fix include ordering for THREADSAFE build
dc043e4e6c34c5538ed0bdd0e235d2b94e4f5db5
created 2008-07-08 23:48 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Move builtin[] table in jsbuiltin.cpp
8374e34d597e56684f05628edb4f5c0bf8752e44
created 2008-07-06 15:55 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Move the type level from int/double to number. All traces start out as double in all slots, and denote and promote to/from int as needed. The FuncFilter optimizes on-trace casting and elininates redundant f->i-> chains. More optimization needed on this of course, and this code is now a bit slower than the previous integer-register use. However, this does solve the q += 2.5 issues. The heap access code does not properly cast yet and is likely unstable.
fcd3450f9272bba03d987ed0fe90040c2253a801
created 2008-07-06 11:19 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Merge.
a53c3daea0e8bce5abd06e13a810b60177cf5ba5
created 2008-07-06 10:59 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Added doubleToUint32 builtin and make tracker a template.
a2e3ea92df6516cb0f4f4f0dd04f49ee0cba5218
created 2008-07-06 13:58 -0400
pushed 2011-04-26 22:38 +0000
shaver shaver - fix builtin_UnboxInt32 signature and name shape_ins for debugging
859e409ef3796a8abd3e636595d06bb481e4d13d
created 2008-07-05 23:21 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Added support for semi-stable loop variables. Compiling for(...) q += 2.5; is ridiculously difficult because it flip-flops between int and double. Add support to promote integer values to doubles at the loop tail if at loop entry we expect a double. Since this isn't possible the other way around, we have to get luck that we catch a path into the loop where q is already double. For this we add 3 trigger points (10, 13, 37). We will try three times to record a trace at those iteration counts of a loop. If none succeed the loop is blacklisted. This probably needs more tuning down the road.
b5556367172da3d22140e614f878a8c05eee47fa
created 2008-07-05 22:04 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Add helpers for i->f and f->i conversion. The f->i path goes via builtin calls.
d23078399de1315e772b009814d1680b3edc51dc
created 2008-07-05 17:29 -0700
pushed 2011-04-26 22:38 +0000
Andreas Gal Andreas Gal - Added missing jsbuiltins.cpp
less more (0) tip