asm versions of some simple math functions for i386 and x86_64