Re: [PATCH, resend] x86-64: improve insn scheduling in SAVE_ARGS_IRQ

From: H. Peter Anvin
Date: Fri Feb 24 2012 - 15:22:25 EST


On 02/24/2012 03:55 AM, Jan Beulich wrote:
> leaq -RBP(%rsp),%rdi /* arg1 for handler */
> - testl $3, CS(%rdi)
> + testl $3, CS-RBP(%rsi)
> je 1f

IIRC there is no imm8 version of testl; could this be a testb instead or
is that going to cause stalls on some platforms you think?

-hpa

--
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/