Re: [PATCH] ext4: improve str2hashbuf by processing 4-byte chunks

From: Andreas Schwab

Date: Fri Nov 21 2025 - 06:03:04 EST


On Nov 20 2025, Theodore Tso wrote:

> Secondly, it's not that a promotion happens before "any" arithmetic.
> If we add two 8-bit values together, promotion doesn't happen.

That is not true. Integer promotion is applied individually to each
operand independent of context.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."