diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-08-25 16:46:34 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-08-25 16:46:34 -0700 |
commit | 65b14bcee2da7f56299357d1dab9f0ab986c2255 (patch) | |
tree | 2e7f47d06477f7a0526e0a6f1ebaa4c25441a0d1 /sysdeps/x86_64 | |
parent | e9f145cba8691a81dac379914bb3895360795a9b (diff) | |
download | glibc-65b14bcee2da7f56299357d1dab9f0ab986c2255.tar.gz glibc-65b14bcee2da7f56299357d1dab9f0ab986c2255.tar.xz glibc-65b14bcee2da7f56299357d1dab9f0ab986c2255.zip |
Optimize out duplicated scalbln code for x86-64.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/fpu/s_scalbln.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/s_scalbn.c | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/s_scalbln.c b/sysdeps/x86_64/fpu/s_scalbln.c new file mode 100644 index 0000000000..1009713fbc --- /dev/null +++ b/sysdeps/x86_64/fpu/s_scalbln.c @@ -0,0 +1,2 @@ +/* Nothing to do. This function is the same as scalbn. So we define an + alias. */ diff --git a/sysdeps/x86_64/fpu/s_scalbn.c b/sysdeps/x86_64/fpu/s_scalbn.c new file mode 100644 index 0000000000..74d34655ad --- /dev/null +++ b/sysdeps/x86_64/fpu/s_scalbn.c @@ -0,0 +1,9 @@ +#define scalbln __renamed_scalbln +#define __scalbln __renamed___scalbln + +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c> + +#undef scalbln +#undef __scalbln +strong_alias (__scalbn, __scalbln) +weak_alias (__scalbn, scalbln) |