diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-03-18 16:43:54 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-03-18 16:43:54 -0400 |
commit | 8d9e948652eb8381f1f376cbd0c9bc5e2947d150 (patch) | |
tree | 37c869b664053d019d5ff03374f6d825498ebd19 /src/math/x86_64/rintl.s | |
parent | afad262440d213633144d696b8fdda7a65bf26d1 (diff) | |
download | musl-8d9e948652eb8381f1f376cbd0c9bc5e2947d150.tar.gz musl-8d9e948652eb8381f1f376cbd0c9bc5e2947d150.tar.xz musl-8d9e948652eb8381f1f376cbd0c9bc5e2947d150.zip |
asm versions of some simple math functions for i386 and x86_64
these are functions that have direct fpu approaches to implementation without problematic exception or rounding issues. x86_64 lacks float/double versions because i'm unfamiliar with the necessary sse code for performing these operations.
Diffstat (limited to 'src/math/x86_64/rintl.s')
-rw-r--r-- | src/math/x86_64/rintl.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/x86_64/rintl.s b/src/math/x86_64/rintl.s new file mode 100644 index 00000000..64e663cd --- /dev/null +++ b/src/math/x86_64/rintl.s @@ -0,0 +1,6 @@ +.global rintl +.type rintl,@function +rintl: + fldt 8(%rsp) + frndint + ret |