Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 15:35:27 -0700 (PDT)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sparc64/include endian.h
Message-ID:  <200309302235.h8UMZR7C028727@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309302235.h8UMZR7C028727>