Re:Apple CPU tricks: memory reordering, JavaScript support, ...
by danvk on Friday November 27, 2020 @07:53PM
(#25234083)
Can someone say more about the JavaScript optimization?
[ Parent
| on HN ]
Re:Apple CPU tricks: memory reordering, JavaScript support, ...
by tjalfi on Friday November 27, 2020 @08:45PM
(#25234385)
They might be referring to the ARM FJCVTZS instruction[0].
It speeds up converting JavaScript doubles to 32-bit integers.
[1] is the Webkit commit that added support for FJCVTZS, it was between a 0.5 to 2% speedup - that's a big win for a mature optimizer.