about summary refs log tree commit diff
path: root/sysdeps/ia64/htonl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/htonl.S')
-rw-r--r--sysdeps/ia64/htonl.S10
1 files changed, 4 insertions, 6 deletions
diff --git a/sysdeps/ia64/htonl.S b/sysdeps/ia64/htonl.S
index 79be96baad..cc6677515c 100644
--- a/sysdeps/ia64/htonl.S
+++ b/sysdeps/ia64/htonl.S
@@ -1,5 +1,5 @@
 /* Change byte order in 32-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 <Dan.Pop@cern.ch>
 
@@ -20,14 +20,12 @@
 
 
 #include <sysdep.h>
-#undef ret
 
 ENTRY(htonl)
-	alloc	ret0 = ar.pfs, 1, 0, 0, 0
-	shl	in0 = in0, 32
+	shl	ret0 = r32, 32
 	;;
-	mux1	ret0 = in0, @rev
-	br.ret.sptk.many b0
+	mux1	ret0 = ret0, @rev
+	ret
 END(htonl)
 
 weak_alias (htonl, ntohl)