From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18244.41883.240827.165049@cargo.ozlabs.ibm.com> Date: Thu, 22 Nov 2007 08:31:07 +1100 From: Paul Mackerras To: Geert Uytterhoeven Subject: Re: [PATCH] [POWERPC] Emulate isel (Integer Select) instruction In-Reply-To: References: <20071120175416.GA4389@loki.buserror.net> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.