The “special javascript instructions” are a single instruction that’s only impact is removing a perf advantage intel has due to JS exposing x86 specific sentinels to the web.
The only thing it does is remove a branch in arm64 where the various JITs have to do:
Int value = (int)some double;
If (flags) value = x86 sentinel
Whereas x86 systems don’t have a branch by definition.
The only thing it does is remove a branch in arm64 where the various JITs have to do:
Whereas x86 systems don’t have a branch by definition.That is all the “special instruction” does.