diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-02-17 05:13:35 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-02-17 05:13:35 +0000 |
commit | 1b9c77be95f844b8201a1851eeb3f9f3209c1c55 (patch) | |
tree | 47c3b26c009469a5407aa051462554f810f6d0aa /sys/dev/mii/tqphy.c | |
parent | 99b2438fd3a62108daa02ad1a489aed8e973447e (diff) |
Reimplement bn_sqr_comba{4,8}().
Use bignum primitives rather than the current mess of macros.The sqr_add_c
macro gets replaced with bn_mulw_addtw(), while the sqr_add_c2 macro gets
replaced with bn_mul2_mulw_addtw().
The variables in the comba functions have also been reordered, so that the
patterns are easier to understand - the compiler can take care of
optimising the inputs and outputs to avoid register moves.
ok tb@
Diffstat (limited to 'sys/dev/mii/tqphy.c')
0 files changed, 0 insertions, 0 deletions