diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-12 04:39:00 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-12 04:39:00 +0000 |
| commit | 54936a45a573ce6bd6876086300461f50948efb9 (patch) | |
| tree | 6948b45a6c4b6cab0ab69434e21cacb40af087b3 /config/coreboot/macbook21 | |
| parent | 19e0249a8ab30a566e828a37c1be65c1e2ea6c4b (diff) | |
util/spkmodem-recv: don't use modulus on decode
it's slow on older compilers/systems that don't optimise.
instead, we branch (cheaper) and just do an above or
equal comparison), resetting appropriately or subtracting.
should yield an actually useful performance gain, on older
systems. a bit theoretical on modern systems, which optimise
well (modern compilers will produce assembly code much like
what the new C code is doing)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/macbook21')
0 files changed, 0 insertions, 0 deletions
