I think you can save an instruction or two here by using CVTPD2DQ.