3 ms·
That seems a little hyperbolic. Jazelle DBX is an example of "optimized for X language". This instruction disproportionately helps dynamic languages that conve
by hajile 8y ago
That seems a little hyperbolic. Jazelle DBX is an example of "optimized for X language".
This instruction disproportionately helps dynamic languages that convert between int and float (of which JS is definitely most popular), but basically every program that does casting from float to int stands to benefit. That's much better design in my opinion.
- pm215 8y agoThe insn is definitely js-specific though. The architecture has int-float conversion insns already which work fine for the purposes of almost all languages (dynamic or not); but js requires some specific oddball semantics which this new insn provides. There are some details in this 2016 blogpost -- https://community.arm.com/processors/b/blog/posts/armv8-a-architecture-2016-additions https://community.arm.com/processors/b/blog/posts/armv8-a-ar...