Date: Tue, 12 Sep 2000 15:45:44 -0700 (PDT) From: Doug Rabson <dfr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include atomic.h Message-ID: <200009122245.PAA69821@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dfr         2000/09/12 15:45:44 PDT
  Modified files:
    sys/alpha/include    atomic.h 
  Log:
  * Redo the cmpset inlines to use one less register. This incidentally
    fixes a serious problem with the previous version where an input could
    have been placed in the same register as an output which would stop
    the inline from working properly.
  
  * Redo atomic_{set,clear,add,subtract}_{32,64} as inlines since the code
    sequence is shorter than the call sequence to the code in atomic.s.
    I will remove the functions from atomic.s after a grace period to allow
    people to rebuild kernel modules.
  
  Revision  Changes    Path
  1.4       +158 -24   src/sys/alpha/include/atomic.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009122245.PAA69821>
