3 ms·
Virtual functions yield a lot of indirect branches. Virtual functions are a foundational part of object oriented designs. FP registers have gotten much larger
by llm_nerd 3y ago
Virtual functions yield a lot of indirect branches. Virtual functions are a foundational part of object oriented designs.
FP registers have gotten much larger than the normal types that people store. e.g. 128, 256, 512-bit registers. A normal double floating point (pretty much the largest normally used floating point representation) occupies 64-bits, while a normal int64 occupies, unsurprisingly, the same 64-bits. But we're getting the mega registers specifically because there are a lot of multiple-four-singles at once, and so on, SIMD functions.