Adding the intrinsic makes sense to me. Having the intrinsic would allow us to generate inline code like GCC does for MIPS when the 'synci' instruction is available. http://llvm-reviews.chandlerc.com/D3084