[PATCH] [POWERPC] Emulate isel (Integer Select) instruction

Paul Mackerras paulus at samba.org
Thu Nov 22 08:31:07 EST 2007


Geert Uytterhoeven writes:

> @@ -721,31 +729,38 @@ static int emulate_instruction(struct pt
>  
>  	/* Emulate the mfspr rD, PVR. */
>  	if ((instword & INST_MFSPR_PVR_MASK) == INST_MFSPR_PVR) {
> +		WARN_EMULATE("mfpvr");

mfpvr is a bit different from the others in that it is actually a
privileged instruction, so I don't think it helps to warn about it.

Also, I think the warnings should be optional.

Paul.



More information about the Linuxppc-dev mailing list