Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c++
Subject: Re: constexpr is really very smart!
Date: Sun, 22 Dec 2024 10:33:57 -0800
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <865xnbftyi.fsf@linuxsc.com>
References: <20241216112808.00003f74@yahoo.com> <86jzbyghdw.fsf@linuxsc.com> <20241218013342.0000518a@yahoo.com> <867c7whol9.fsf@linuxsc.com> <20241218220006.00003f8e@yahoo.com> <86v7vgf3tb.fsf@linuxsc.com> <20241219234549.00001902@yahoo.com> <86r062f0kl.fsf@linuxsc.com> <20241222001456.00007e84@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sun, 22 Dec 2024 19:33:57 +0100 (CET)
Injection-Info: dont-email.me; posting-host="51a4a5f37c195e1c534565157c1e4040"; logging-data="779267"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6DOzDYyvWuo6KEh/FCLteWbyWnu68e98="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:Oyzdbi+3RRe8PNL3OpkYG4KT+yk= sha1:HTa2xbpkIdD1T7hoVIK1Z6o4Zk8=
Xref: csiph.com comp.lang.c++:121288
Michael S writes:
> On Fri, 20 Dec 2024 14:31:54 -0800
> Tim Rentsch wrote:
>
>> Thank you for that. Sadly I am not able to run it because my
>> test environment is lacking _rdtsc(), and I haven't been able
>> to find out how to install it.
>
> Any x86-64 Linux should have _rdtsc() as inline function (or built-in)
> defined in x86intrin.h. No installation required.
Okay. As it turns out knowing that doesn't help me, but thank
you for the info. I'm taking this as a sign from heaven that
I should be spending my energies somewhere other than measuring
performance.