Date: Sun, 19 May 2002 13:19:07 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/include atomic.h Message-ID: <200205192019.g4JKJ7r08249@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/05/19 13:19:07 PDT Modified files: sys/ia64/include atomic.h Log: Simplify IA64_CMPXCHG to avoid having braced-groups in expressions. As a minor positive side-effect, code at -O0 is more optimal. As a minor negative side-effect, certain boundary cases yield no better code than non-boundary cases. For example, atomic_set_acq_32(p, 0) does a useless logical OR with value 0. This was previously elimina- ted as part of if/while optimizations. Non-boundary cases yield identical code at -O1 and -O2. Revision Changes Path 1.6 +23 -21 src/sys/ia64/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?200205192019.g4JKJ7r08249>