|
|
|
|
|
by the8472
2249 days ago
|
|
> I'm not sure that's true: rep movs is pretty fast these days. That's only true if you target skylake and newer. If you target generic x86_64 then compilers will only emit rep mov for long copies due to some CPUs having a high baseline cost for it. There's some linker magic that might get you some optimized version when you callq memcpy, but that doesn't help with inlined copies. |
|
Why exactly do you think seven-years-old is too-old, but five-years-old isn't?