From 8ee355155102ad7c2e473f179f4879c6e468f19e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 11 Apr 2001 19:57:49 +0000 Subject: Update. 2001-04-11 David Mosberger * sysdeps/ia64/htonl.S: Drop superfluous "alloc". * sysdeps/ia64/htons.S: Likewise. * sysdeps/ia64/memset.S: Add unwind directives. * sysdeps/ia64/strncpy.S: Likewise. * sysdeps/ia64/strcat.S: Likewise. * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous restore of ar.pfs. * sysdeps/ia64/strchr.S: Likewise. * sysdeps/ia64/memmove.S: Likewise. * sysdeps/ia64/memcpy.S: Likewise. * sysdeps/ia64/memcmp.S: Likewise. * sysdeps/ia64/memchr.S: Likewise. * sysdeps/ia64/strcmp.S: Likewise. * sysdeps/ia64/strlen.S: Likewise. * sysdeps/ia64/strcpy.S: Likewise. * sysdeps/ia64/strncmp.S: Likewise. --- sysdeps/ia64/htons.S | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sysdeps/ia64/htons.S') diff --git a/sysdeps/ia64/htons.S b/sysdeps/ia64/htons.S index fb5e66e458..74c9951f3b 100644 --- a/sysdeps/ia64/htons.S +++ b/sysdeps/ia64/htons.S @@ -1,5 +1,5 @@ /* Change byte order in 16-bit value. ia64 version. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Dan Pop @@ -20,14 +20,12 @@ #include -#undef ret ENTRY(htons) - alloc ret0 = ar.pfs, 1, 0, 0, 0 - shl in0 = in0, 48 + shl ret0 = r32, 48 ;; - mux1 ret0 = in0, @rev - br.ret.sptk.many b0 + mux1 ret0 = ret0, @rev + ret END(htons) weak_alias (htons, ntohs) -- cgit 1.4.1