On Thu, 11 Dec 2025 18:31:30 +0000, Kuan-Wei Chiu wrote:
> [ Upstream commit cbf164cd44e06c78938b4a4a4479d3541779c319 ]
>
> The original _bin2bcd() function used / 10 and % 10 operations for
> conversion. Although GCC optimizes these operations and does not generate
> division or modulus instructions, the new implementation reduces the
> number of mov instructions in the generated code for both x86-64 and ARM
> architectures.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] lib/bcd: optimize _bin2bcd() for improved performance
commit: 9ac621e671858bf0b80dd26b883f3781cc5acb34
--
Tom