|
Message-Id: <20200106165029.6232-1-amonakov@ispras.ru>
Date: Mon, 6 Jan 2020 19:50:29 +0300
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: [PATCH] math: move trivial x86-family sqrt functions to C
---
This does not touch i386 sqrt and sqrtf, which are non-trivial.
src/math/i386/sqrtl.c | 7 +++++++
src/math/i386/sqrtl.s | 5 -----
src/math/x86_64/sqrt.c | 7 +++++++
src/math/x86_64/sqrt.s | 4 ----
src/math/x86_64/sqrtf.c | 7 +++++++
src/math/x86_64/sqrtf.s | 4 ----
src/math/x86_64/sqrtl.c | 7 +++++++
src/math/x86_64/sqrtl.s | 5 -----
8 files changed, 28 insertions(+), 18 deletions(-)
create mode 100644 src/math/i386/sqrtl.c
delete mode 100644 src/math/i386/sqrtl.s
create mode 100644 src/math/x86_64/sqrt.c
delete mode 100644 src/math/x86_64/sqrt.s
create mode 100644 src/math/x86_64/sqrtf.c
delete mode 100644 src/math/x86_64/sqrtf.s
create mode 100644 src/math/x86_64/sqrtl.c
delete mode 100644 src/math/x86_64/sqrtl.s
View attachment "0003-math-move-trivial-x86-family-sqrt-functions-to-C.patch" of type "text/x-patch" (2066 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.