asm.js-ify some LLVM intrinsics

I altered some LLVM intrinsics into asm.js code, in order to avoid the asm.js to non-asm.js call overhead (this has sped up my code ~2% on Firefox Nightly)