diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-29 20:31:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-29 20:31:46 -0400 |
commit | 0e4a995213620630005a14f32c089879f7c0315e (patch) | |
tree | e5c584b6ceba8e24c312c67b82d59942d2bdc568 /src/math/x86_64/lrint.s | |
parent | aa859403886ed4b50da36e7fe101f7431856c004 (diff) | |
download | musl-0e4a995213620630005a14f32c089879f7c0315e.tar.gz musl-0e4a995213620630005a14f32c089879f7c0315e.tar.bz2 musl-0e4a995213620630005a14f32c089879f7c0315e.tar.xz musl-0e4a995213620630005a14f32c089879f7c0315e.zip |
new math asm (abs/rounding) for x86_64
untested
Diffstat (limited to 'src/math/x86_64/lrint.s')
-rw-r--r-- | src/math/x86_64/lrint.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/math/x86_64/lrint.s b/src/math/x86_64/lrint.s new file mode 100644 index 00000000..59b12038 --- /dev/null +++ b/src/math/x86_64/lrint.s @@ -0,0 +1,5 @@ +.global lrint +.type lrint,@function +lrint: + cvtsd2si @xmm0,%rax + ret |