News for hackers. Stuff that matters.
Re:How much do amd64 microarchitecture levels help in Go? by rob74 on Tuesday June 09, 2026 @03:54AM (#48458003)
Ok, then it will be an explosion of binary size, if you have several code blocks optimized for each architecture level.
Re:How much do amd64 microarchitecture levels help in Go? by masklinn on Tuesday June 09, 2026 @04:49AM (#48458440)
These are usually pretty tight loops or constructs based on specific features.

An unspecialised popcnt is half the dozen instructions, for specialised versions it’s 4 implementations ranging from half a dozen to two dozen bytes.