Date: Wed, 8 Apr 2009 19:06:47 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/include endian.h src/sys/i386/include endian.h Message-ID: <200904081907.n38J7vnN015367@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-04-08 19:06:47 UTC
FreeBSD src repository
Modified files:
sys/amd64/include endian.h
sys/i386/include endian.h
Log:
SVN rev 190853 on 2009-04-08 19:06:47Z by ed
Implement __bswap16() without using inline assembly.
Most compilers nowadays (including GCC) are smart enough to know what's
going on and generate more efficient code anyway.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
Revision Changes Path
1.9 +1 -22 src/sys/amd64/include/endian.h
1.42 +1 -22 src/sys/i386/include/endian.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904081907.n38J7vnN015367>
