From a31530e35596104efffd53951619a10a8240df5a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 10 Dec 2000 22:34:55 +0000 Subject: [PATCH] Update. * sysdeps/alpha/htonl.S: Fix a typo. 2000-12-10 Jakub Jelinek --- ChangeLog | 4 ++++ sysdeps/alpha/htonl.S | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b9aa659add..1f1de48c39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-12-10 Jakub Jelinek + + * sysdeps/alpha/htonl.S: Fix a typo. + 2000-12-10 Jakub Jelinek * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10. 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