[llvm-dev] Naming clash: -DCLS=n and CLS in code
U.Mutlu via llvm-dev
llvm-dev at lists.llvm.org
Tue Jun 19 12:33:23 PDT 2018
Tim Northover via llvm-dev wrote on 06/19/2018 09:22 PM:
> On Tue, 19 Jun 2018 at 20:12, U.Mutlu <um at mutluit.com> wrote:
>> You can find more examples by searching for "DCLS getconf LEVEL1_DCACHE_LINESIZE".
>
> Frankly, it all looks like cargo-cult optimization flagomancy. I'd
> suggest you drop it, it's not magical I promise.
Hey, I'm working on optimization, and I know "it works".
Curious, have you ever heard of "false sharing" and "true sharing"
and what lies behind them?
Hint: it has todo with the cacheline and its size, and memory alignment etc...
No need to start a sideline discussion here.
Ciao
More information about the llvm-dev
mailing list