don't write pi if we're not using writeDirect
inline assembly ftw.
Merge branch 'newatomics'
Merge branch 'master' of github.com:dlwh/puck