Home | History | Annotate | Download | only in include
History log of /src/sys/arch/arm/include/byte_swap.h
RevisionDateAuthorComments
 1.16  17-Jan-2017  rin remove unnecessary cast, KNF
 1.15  14-Jan-2017  martin branches: 1.15.2;
Avoid gcc warnings
 1.14  13-Jan-2017  christos elide conversion warning.
 1.13  28-Jan-2013  matt branches: 1.13.14; 1.13.18;
Use uint32_t for __asm to appease clang.
 1.12  05-Sep-2012  matt branches: 1.12.2;
Disable arm32 __asm for _byte_swap_u16_variable since gcc4.5 produces
decent code for it. Fixes PR/46898.
 1.11  20-Jul-2012  matt Use defined(_ARM_ARCH_[67])
 1.10  15-Jul-2012  matt Add BSWAP16 and BSWAP32 macros for use in assembly.
 1.9  12-Jul-2012  matt Use __builtin_constant_p so that we only emit asm when
the expression is not a constant.
 1.8  28-Apr-2008  martin branches: 1.8.18; 1.8.34; 1.8.40; 1.8.42;
Remove clause 3 and 4 from TNF licenses
 1.7  27-Apr-2008  matt Merge kernel changes in matt-armv6 to HEAD.
 1.6  30-Jan-2006  dsl branches: 1.6.50; 1.6.74; 1.6.76; 1.6.78;
Move all the stuff that detects bswapxx(constant) into the MI sys/bswap.h
Put the minimum to define the required inline assembler or C into the MD files.
NB: there may be some fallout from this!
 1.5  28-Dec-2005  perry branches: 1.5.2;
inline -> __inline
 1.4  24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.3  08-Nov-2002  thorpej branches: 1.3.2; 1.3.24;
Ensure that some integer constants are always unsigned.
 1.2  14-Aug-2002  thorpej branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
* Rename "word" -> 16, and "long" -> 32, as suggested by Ben Harris.
* Replace __byte_swap_32_variable() with a C version from Richard
Earnshaw that generates nearly identical assembly (and it would be
exactly identical with the addition of another peephole to GCC ARM
back-end).
 1.1  13-Aug-2002  thorpej 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.
 1.2.8.1  09-Nov-2002  bjh21 Catch up with -current.
 1.2.6.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.1  14-Aug-2002  jdolecek file byte_swap.h was added on branch kqueue on 2002-09-06 08:32:35 +0000
 1.2.4.2  30-Aug-2002  gehenna catch up with -current.
 1.2.4.1  14-Aug-2002  gehenna file byte_swap.h was added on branch gehenna-devsw on 2002-08-30 00:19:11 +0000
 1.2.2.3  11-Nov-2002  nathanw Catch up to -current
 1.2.2.2  19-Aug-2002  thorpej Partial (ARM only) sync with trunk -- significant performance improvements
for XScale-based systems.
 1.2.2.1  14-Aug-2002  thorpej file byte_swap.h was added on branch nathanw_sa on 2002-08-19 21:39:13 +0000
 1.3.24.1  21-Jun-2006  yamt sync with head.
 1.3.2.3  18-Nov-2002  he Pull up revision 1.2 (requested by thorpej in ticket #673):
Rename ``word'' -> 16 and ``long'' -> 32.
Replace __byte_swap_32_variable() with a C version that
generates nearly identical assembly.
 1.3.2.2  18-Nov-2002  he Pull up revision 1.1 (new, requested by thorpej in ticket #667):
Byte-swapping optimizations, enabled if compiling with GCC:
o Byte-swap 16-bit and 32-bit constants at compile-time
o Inline 16-bit and 32-bit variable byte-swaps
 1.3.2.1  08-Nov-2002  he file byte_swap.h was added on branch netbsd-1-6 on 2002-11-18 01:04:18 +0000
 1.5.2.1  01-Feb-2006  yamt sync with head.
 1.6.78.1  16-May-2008  yamt sync with head.
 1.6.76.1  18-May-2008  yamt sync with head.
 1.6.74.1  02-Jun-2008  mjf Sync with HEAD.
 1.6.50.2  29-Feb-2008  matt Rework establish_irq to take an intrsource.
Enable an interrupt after establishing it.
 1.6.50.1  28-Aug-2007  matt On ARMv6, expand bswap32/bswap16 to a "rev" or "rev16" instructions.
 1.8.42.2  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.8.42.1  01-Nov-2012  matt sync with netbsd-6-0-RELEASE.
 1.8.40.1  13-Sep-2012  riz Pull up following revision(s) (requested by martin in ticket #542):
sys/arch/arm/include/byte_swap.h: revision 1.12
Disable arm32 __asm for _byte_swap_u16_variable since gcc4.5 produces
decent code for it. Fixes PR/46898.
 1.8.34.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.34.1  30-Oct-2012  yamt sync with head
 1.8.18.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.12.2.2  03-Dec-2017  jdolecek update from HEAD
 1.12.2.1  25-Feb-2013  tls resync with head
 1.13.18.1  20-Mar-2017  pgoyette Sync with HEAD
 1.13.14.1  05-Feb-2017  skrll Sync with HEAD
 1.15.2.1  21-Apr-2017  bouyer Sync with HEAD

RSS XML Feed