2 ms·
> The code that generates this, MacroAssembler::string_compare in macroAssembler_x86.cpp is well-documented for the curious. I was expecting that this would be
by saagarjha 9y ago
> The code that generates this, MacroAssembler::string_compare in macroAssembler_x86.cpp is well-documented for the curious.
I was expecting that this would be some C++ code, or maybe inline assembly, but it turns out it's just a bunch of macros that are a thin layer over assembly instructions. Is this done for portability, to abstract over differing instruction names on different architectures?