Subject: CVS commit: syssrc/sys/arch/arm/include
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 08/14/2002 01:41:37
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Aug 13 22:41:37 UTC 2002

Modified Files:
	syssrc/sys/arch/arm/include: Makefile bswap.h endian_machdep.h
Added Files:
	syssrc/sys/arch/arm/include: byte_swap.h

Log Message:
Byte-swapping optimizations, enabled if compiling with GCC:
* Byte-swap 16-bit and 32-bit constants at compile-time.
* Inline 16-bit and 32-bit variable byte-swaps.  These take 3 and 4
  insns, respectively, and inlining saves the minimum 6 cycle penalty
  to call/return from the byte swap function.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/arm/include/Makefile
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm/include/bswap.h
cvs rdiff -r0 -r1.1 syssrc/sys/arch/arm/include/byte_swap.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm/include/endian_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.