moved thread register saving to C in 64bits as well