asm32/64 math implementations