News for hackers. Stuff that matters.
Re:How the JVM compares strings on x86 using pcmpestri by BeeOnRope on Sunday January 07, 2018 @02:42PM (#16092251)
They are implemented in different ways, depending on the instrinsic.

Many are implemented in the in-memory intermediate SSA (?) representation the JVM uses for its JIT, so they essentially get compiled down to assembly at the same time as the surrounding bytecode.

Some are implemented as jumps to various native methods, which in turn might be implemented in C++ or assembly. Most intrinsics are available on most platforms: only some of the hand-coded assembly versions are less likely to have wide support.

There are no comments on this comment yet.