Use __GNUC_PREREQ for detecting __builtin_expect #579

pull real-or-random wants to merge 1 commits into bitcoin-core:master from real-or-random:builtin-expect changing 2 files +1 −7
  1. real-or-random commented at 10:49 AM on December 17, 2018: contributor

    No description provided.

  2. Use __GNUC_PREREQ for detecting __builtin_expect c663397f46
  3. real-or-random cross-referenced this on Dec 17, 2018 from issue Fix autoconf check for __builtin_expect by real-or-random
  4. sipa commented at 6:21 PM on January 17, 2019: contributor

    utACK c663397f46152e96c548ba392858c730e132dd7a

  5. real-or-random commented at 10:23 AM on February 4, 2019: contributor

    By the way, checking for (3,0) is correct because

  6. jonasnick commented at 10:30 AM on February 4, 2019: contributor

    utACK c663397f46152e96c548ba392858c730e132dd7a

    Replacing #define EXPECT(x,c) __builtin_expect((x),(c)) with #define EXPECT(x,c) (x) works too.

  7. sipa merged this on Feb 4, 2019
  8. sipa closed this on Feb 4, 2019

  9. sipa referenced this in commit b408c6a8b2 on Feb 4, 2019

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 14:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me