summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/net
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-11-16 21:01:31 +0000
committerjhb <jhb@FreeBSD.org>2004-11-16 21:01:31 +0000
commit34e5c90f972ce49f81d7b71386e66508fe086081 (patch)
tree12e693492c54a7ad364e321b20ee6115cf047c4c /lib/libc/i386/net
parent59f4aaaef08d97e11805b862c9c1a8647150006c (diff)
downloadFreeBSD-src-34e5c90f972ce49f81d7b71386e66508fe086081.zip
FreeBSD-src-34e5c90f972ce49f81d7b71386e66508fe086081.tar.gz
Remove 80386 support from libc.
Diffstat (limited to 'lib/libc/i386/net')
-rw-r--r--lib/libc/i386/net/htonl.S6
-rw-r--r--lib/libc/i386/net/ntohl.S6
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/libc/i386/net/htonl.S b/lib/libc/i386/net/htonl.S
index 8c79bf6..37f5c60 100644
--- a/lib/libc/i386/net/htonl.S
+++ b/lib/libc/i386/net/htonl.S
@@ -46,11 +46,5 @@ __FBSDID("$FreeBSD$");
.set CNAME(htonl),CNAME(__htonl)
ENTRY(__htonl)
movl 4(%esp),%eax
-#ifdef I386_CPU
- xchgb %al,%ah
- roll $16,%eax
- xchgb %al,%ah
-#else
bswap %eax
-#endif
ret
diff --git a/lib/libc/i386/net/ntohl.S b/lib/libc/i386/net/ntohl.S
index c7fc6c3..497f300 100644
--- a/lib/libc/i386/net/ntohl.S
+++ b/lib/libc/i386/net/ntohl.S
@@ -46,11 +46,5 @@ __FBSDID("$FreeBSD$");
.set CNAME(ntohl),CNAME(__ntohl)
ENTRY(__ntohl)
movl 4(%esp),%eax
-#ifdef I386_CPU
- xchgb %al,%ah
- roll $16,%eax
- xchgb %al,%ah
-#else
bswap %eax
-#endif
ret
OpenPOWER on IntegriCloud