• Re: constexpr is really very smart!

    From James Kuyper@3:633/280.2 to All on Sun Dec 22 09:37:52 2024
    On 12/21/24 17:14, Michael S wrote:
    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.

    On my x86-64 Linux system, that header (indirectly) declares __rdtsc(),
    but not _rdtsc.


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)