• Eric Anholt's avatar
    Rewrite the byte swapping macros. · 563b6ee8
    Eric Anholt authored
    The clever pointer tricks were actually not working, and we were doing
    the byte-by-byte moves in general.  By just doing the memcpy and
    obvious byte swap code, we end up generating actual byte swap
    instructions, thanks to optimizing compilers.
    
             text	   data	    bss	    dec	    hex	filename
    before: 2240807	  51552	 132016	2424375	 24fe37	hw/xfree86/Xorg
    after:  2215167	  51552	 132016	2398735	 249a0f	hw/xfree86/Xorg
    Signed-off-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
    Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
    563b6ee8
Name
Last commit
Last update
..
dtrace Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
Xinput.xml Loading commit data...
Xserver-spec.xml Loading commit data...
c-extensions Loading commit data...
filter-xmlto.sh Loading commit data...
smartsched Loading commit data...