summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-10 22:34:55 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-10 22:34:55 +0000
commita31530e35596104efffd53951619a10a8240df5a (patch)
treeaaa9708642dcc1699d02de253af975cebce203df
parentadc85e2f59df1a3bf72ca0337b8b24540868cff0 (diff)
downloadglibc-a31530e35596104efffd53951619a10a8240df5a.tar.gz
glibc-a31530e35596104efffd53951619a10a8240df5a.tar.xz
glibc-a31530e35596104efffd53951619a10a8240df5a.zip
Update.
	* sysdeps/alpha/htonl.S: Fix a typo.

2000-12-10  Jakub Jelinek  <jakub@redhat.com>
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/alpha/htonl.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b9aa659add..1f1de48c39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
 
+	* sysdeps/alpha/htonl.S: Fix a typo.
+
+2000-12-10  Jakub Jelinek  <jakub@redhat.com>
+
 	* sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
 
 2000-12-10  Andreas Jaeger  <aj@suse.de>
diff --git a/sysdeps/alpha/htonl.S b/sysdeps/alpha/htonl.S
index 2358861300..193986e7c3 100644
--- a/sysdeps/alpha/htonl.S
+++ b/sysdeps/alpha/htonl.S
@@ -33,7 +33,7 @@ ENTRY(htonl)
 	inslh	a0, 7, t0	# t0 = 0000000000AABBCC
 	inswl	a0, 3, t1	# t1 = 000000CCDD000000
 	or	t1, t0, t1	# t1 = 000000CCDDAABBCC
-	sll	t1, 16, t2	# t2 = 0000000000CCDDAA
+	srl	t1, 16, t2	# t2 = 0000000000CCDDAA
 	zapnot	t1, 0x0A, t0	# t0 = 00000000DD00BB00
 	zapnot	t2, 0x05, t3	# t3 = 0000000000CC00AA
 	addl	t0, t3, v0	# v0 = ssssssssDDCCBBAA