[Tinyos-devel] nesC 1.2.5 available
David Gay
dgay42 at gmail.com
Mon Jun 5 17:05:50 PDT 2006
>From sourceforge, as usual. There should be an rpm coming to
www.tinyos.net soon (Kristin, can you do this?)
Changes in nesC 1.2.5
=====================
- nescc-mig now generates C (ncg has supported C since 1.1.2)
- add __builtin_offsetof keyword to make recent gcc's happy,
and update the gcc-specific asm syntax to reflect recent
gcc changes
- allow types defined in interface files to be used immediately in generic
interface arguments (e.g., interface Timer<TMilli>, where TMilli is
defined in Timer.nc)
- updates to automatic inlining - code should be slightly smaller
- @spontaneous() attribute is automatically added to the __nesc_XXX
functions used by the compiler
- atomic optimisation (experimental): if you specify -fnesc-optimize-atomic,
two optimisations are performed:
o outermost atomics call __nesc_disable/enable_interrupt, which can assume
that interrupts are initially enabled
o "simple" atomic statements have no overhead (interrupts are not disabled)
simple atomic statements are those:
- with no accesses to shared state
- or, at most one access to one byte of shared state
- bug fixes
--
David Gay
david.e.gay at intel.com
More information about the Tinyos-devel
mailing list