aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/htonl.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-10 22:34:40 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-10 22:34:40 +0000
commit02bfc2835e896c850a958bd06387e33706f437c5 (patch)
treeb60d58a01e969ba393b5a43dbb34da4a8b7d8284 /sysdeps/alpha/htonl.S
parente102bd25d37a05b381c3f997e1fbf291c2621790 (diff)
downloadglibc-02bfc2835e896c850a958bd06387e33706f437c5.tar
glibc-02bfc2835e896c850a958bd06387e33706f437c5.tar.gz
glibc-02bfc2835e896c850a958bd06387e33706f437c5.tar.bz2
glibc-02bfc2835e896c850a958bd06387e33706f437c5.zip
Fix a typo.
Diffstat (limited to 'sysdeps/alpha/htonl.S')
-rw-r--r--sysdeps/alpha/htonl.S2
1 files changed, 1 insertions, 1 deletions
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