reduce probability hint for is_memtag_enabled

This commit is contained in:
Daniel Micay 2024-10-12 03:17:44 -04:00
parent e86192e7fe
commit 6402e2b0d4
2 changed files with 11 additions and 9 deletions

2
util.h
View file

@ -9,7 +9,9 @@
#define noreturn __attribute__((noreturn))
#define likely(x) __builtin_expect(!!(x), 1)
#define likely51(x) __builtin_expect_with_probability(!!(x), 1, 0.51)
#define unlikely(x) __builtin_expect(!!(x), 0)
#define unlikely51(x) __builtin_expect_with_probability(!!(x), 0, 0.51)
#define min(x, y) ({ \
__typeof__(x) _x = (x); \