On 2014/02/18 07:21:24, Sven Panne wrote:
LGTM as a first step, too, but I think this should have Crankshaft support.

https://codereview.chromium.org/169783002/diff/130001/src/harmony-math.js
File src/harmony-math.js (right):


https://codereview.chromium.org/169783002/diff/130001/src/harmony-math.js#newcode157
src/harmony-math.js:157: function MathClz32(x) {
What TC39 seems to intend is basically exposing some form of intrinsics for processor intstructions. AFAICT "count leading zeroes" has HW support for all our platforms and boils down to a single CPU instructions, and I think this is
the expectation of people using such intrinsics. Therefore we should add
Crankshaft support, which shouldn't be too hard.

talked to dmitry about this offline. tahts essentially the plan.

https://codereview.chromium.org/169783002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to