cvs commit: src/sys/sparc64/include endian.h

Maxime Henrion mux at FreeBSD.org
Tue Sep 30 15:35:29 PDT 2003


mux         2003/09/30 15:35:27 PDT

  FreeBSD src repository

  Modified files:
    sys/sparc64/include  endian.h 
  Log:
  Allow the compiler to micro-optimize byte swapping functions by
  evaluating them at compile time rather than at run time.  As for x86
  and amd64, this requires GCC and it's enabled only if __OPTIMIZE__ is
  defined (ie, if at least -O is used).
  
  Reviewed by:    jake
  
  Revision  Changes    Path
  1.13      +24 -15    src/sys/sparc64/include/endian.h


More information about the cvs-src mailing list