pkarashchenko commented on code in PR #8634: URL: https://github.com/apache/nuttx/pull/8634#discussion_r1115393658
########## include/nuttx/compiler.h: ########## @@ -154,6 +154,11 @@ # define farcall_function __attribute__((long_call)) # endif +/* Branch prediction */ + +#define likely(x) __builtin_expect((x), 1) +#define unlikely(x) __builtin_expect((x), 0) Review Comment: It will not work this way :D -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org