Deutsch English Français Italiano |
<20241223000503.00006d1d@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c++ Subject: Re: constexpr is really very smart! Date: Mon, 23 Dec 2024 00:05:03 +0200 Organization: A noiseless patient Spider Lines: 24 Message-ID: <20241223000503.00006d1d@yahoo.com> References: <vjndub$2glcu$1@paganini.bofh.team> <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> <865xnbftyi.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sun, 22 Dec 2024 23:05:09 +0100 (CET) Injection-Info: dont-email.me; posting-host="926dab9d4a3a2406bd5e1e36cf72f405"; logging-data="868220"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199EEaPkMf7YvBxLPLJ9d5po/SJiJ52Ops=" Cancel-Lock: sha1:fG4wdzWAINUaYLhDrz8j1xQ87Vg= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) Bytes: 2148 On Sun, 22 Dec 2024 10:33:57 -0800 Tim Rentsch <tr.17687@z991.linuxsc.com> wrote: > Michael S <already5chosen@yahoo.com> writes: > > > On Fri, 20 Dec 2024 14:31:54 -0800 > > Tim Rentsch <tr.17687@z991.linuxsc.com> 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. > Did you see correction of James Kuyper? Under Linux it is called __rdtsc().