Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64

From: Andi Kleen
Date: Fri Jan 21 2005 - 05:30:01 EST


> > +copyback_page:
> > + movq 24(%rax), %r9
> > + xorl %r8d, %r8d
> > +
>
> Are you sure %r8 and %r9 are caller-saved? I'd use low registers if I
> were you, they look nincer and generate shorter opcodes ;-).

They are.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/