diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-09-16 15:48:01 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-09-18 14:06:40 +0200 |
commit | f72e2cff13aefe305fc8fc6afe4f43626e4ad88c (patch) | |
tree | 74749428a27a76b5ddd724e66892c4de6e9c2e7e /scripts/extract-fwblobs | |
parent | a9f859b516ac98c06b0d24e691fceab32a9665d5 (diff) |
compiler_types: Add __assume macro
Make the statement attribute "assume" with a new __assume macro available.
The assume attribute is used to indicate that a certain condition is
assumed to be true. Compilers may or may not use this indication to
generate optimized code. If this condition is violated at runtime, the
behavior is undefined.
Note that the clang documentation states that optimizers may react
differently to this attribute, and this may even have a negative
performance impact. Therefore this attribute should be used with care.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions