thebolt00
Re:Data centers in space makes no sense
on Wednesday February 04, 2026 @02:38AM (#46882687)
It's linear to surface area, but 4th power to temperature.
Re:How do modern compilers choose which variables to put in registers?
on Monday February 17, 2025 @06:51AM (#43077914)
It actually depends on what flags you pass to clang, and for a good reason. 3 term lea uses "complex decoding" and thus has higher latency (and less possible execution ports) on intel arches before icelake. If you run clang -O2 -mtune=icelake-client or -mtune=znver3 (or later architectures) it will generate the single lea instruction.
As always in optimization choices it comes down to cost modelling and trade-offs.