HomePhabricator

Use __GNUC_PREREQ for detecting __builtin_expect

Description

Use GNUC_PREREQ for detecting builtin_expect

Summary: This is a backport of secp256k1's PR579

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4973

Details

Provenance
Tim Ruffing <crypto@timruffing.de>Authored on Dec 17 2018, 10:46
deadalnixCommitted on Jan 17 2020, 15:44
FabienPushed on Jan 17 2020, 15:59
Reviewer
Restricted Project
Differential Revision
D4973: Use __GNUC_PREREQ for detecting __builtin_expect
Parents
rSTAGINGbaaa4fa3e1d8: Add $(COMMON_LIB) to exhaustive tests to fix ARM asm build
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/15601