From d0565c1493964a3ea82f6d4455445d65ec7df72b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 16 Nov 2004 21:01:31 +0000 Subject: [PATCH] Remove 80386 support from libc. --- lib/libc/i386/net/htonl.S | 6 ------ lib/libc/i386/net/ntohl.S | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/libc/i386/net/htonl.S b/lib/libc/i386/net/htonl.S index 8c79bf63ba0..37f5c604965 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 c7fc6c3fef2..497f3007f5d 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