On 3/10/25 09:08, Richard Henderson wrote:
On 3/9/25 21:58, Pierrick Bouvier wrote:
For now, they are duplicate of the same macros in cpu-all.h that we
eliminate in next commit.
Keep code readable by not defining them with macros, but simply their
implementation.
Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
Why do you want these in bswap.h, rather than tswap.h?
They're target swaps, after all.
r~
No preference on that, I simply added them to the same file than their
explicit endianness variant. Would you prefer the endianness agnostic
variant to be in tswap.h instead?