about summary refs log tree commit diff
path: root/sysdeps/ia64/htonl.S
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-24 11:35:04 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-24 11:40:08 -0300
commitbe930668eccf842d5a1a068a3e01b660d5bcb813 (patch)
tree1a859f3da01f4a0c5393f90d3977862f53de40ea /sysdeps/ia64/htonl.S
parent29ff5b5b7237c8560dafecd27bd809c80ae5338e (diff)
downloadglibc-be930668eccf842d5a1a068a3e01b660d5bcb813.tar.gz
glibc-be930668eccf842d5a1a068a3e01b660d5bcb813.tar.xz
glibc-be930668eccf842d5a1a068a3e01b660d5bcb813.zip
Remove all assembly optimizations for htonl and htons
The builtin bswap is already used if optimziation is enabled for
GCC 4.8+, so glibc symbols will be used in a very limited scenarios.

Also, gcc generated code is quite similar to all but ia64 and i386
htons.

Checked on alpha, i686, and ia64.
Diffstat (limited to 'sysdeps/ia64/htonl.S')
-rw-r--r--sysdeps/ia64/htonl.S29
1 files changed, 0 insertions, 29 deletions
diff --git a/sysdeps/ia64/htonl.S b/sysdeps/ia64/htonl.S
deleted file mode 100644
index 109802967d..0000000000
--- a/sysdeps/ia64/htonl.S
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Change byte order in 32-bit value.  ia64 version.
-   Copyright (C) 2000-2022 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <https://www.gnu.org/licenses/>.  */
-
-
-#include <sysdep.h>
-
-ENTRY(htonl)
-	shl	ret0 = r32, 32
-	;;
-	mux1	ret0 = ret0, @rev
-	ret
-END(htonl)
-
-weak_alias (htonl, ntohl)