]> git.ipfire.org Git - thirdparty/gcc.git/commit
LibF7: Use paper-pencil method for sqrt instead of Newton-Raphson iteration.
authorGeorg-Johann Lay <avr@gjlay.de>
Sun, 12 Nov 2023 14:55:40 +0000 (15:55 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Sun, 12 Nov 2023 15:03:47 +0000 (16:03 +0100)
commitdd316bd2f44276f53e20905eb3d020b046ee5779
tree0f60bc04a5f8ae99f79f54984ca56a3ff5a0211b
parent28d9e033a8e95c024e27cb495db610aac37a0f88
LibF7: Use paper-pencil method for sqrt instead of Newton-Raphson iteration.

libgcc/config/avr/libf7/
* libf7-asm.sx (sqrt_approx): Rewrite.
* libf7.c (f7_sqrt): Use it instead of sqrt_worker.
(sqrt_worker): Remove.
libgcc/config/avr/libf7/libf7-asm.sx
libgcc/config/avr/libf7/libf7.c