On 02/07/2010 03:35 PM, Alexander Graf wrote:
It's technically implementation dependent but I don't know of an implementation that doesn't sign extend.Hrm, would gpr = (s64)(s32)gpr; work? :)
Yes. Integer promotion does guarantee sign extension. Regards, Anthony Liguori
Alex
-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html