Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KernelFWholeProgram=On #165

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup text
Axel Heider committed Jul 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7490430a7b493cbe83659857a893ea871d998128
7 changes: 3 additions & 4 deletions include/util.h
Original file line number Diff line number Diff line change
@@ -148,10 +148,9 @@ long PURE str_to_long(const char *str);
* the implementation choices for the sizes of `unsigned int`. Instead, it
* appears that `si` always signifies a 32-bit argument and `di` always
* signifies a 64-bit argument. Tests with __builtin_clzl() on RISC-V have shown
* that if 'unsigned long' is 32 bits __builtin_clzl() uses __clzsi2() and if
* the type is 64 bits __builtin_clzl() uses __clzdi2(). Thus using the types
* uint32_t and uint64_t from stdint.h in the signatures below is considered the
* semantically correct way.
* than __clzsi2() is used if 'unsigned long' is 32 bits, and __clzdi2() if it
* is 64 bits.. Thus, using the types uint32_t and uint64_t from stdint.h in the
* signatures below is considered the semantically correct way.
* Note that we only emit actual function implementations for these functions if
* CONFIG_CLZ_32 etc. are set. Otherwise, the compiler's internal implementation
* may get used or compilation fails if there is no machine instruction.