From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRs9-0000Ba-43 for qemu-devel@nongnu.org; Tue, 12 Jun 2012 10:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeRrv-0005QS-KG for qemu-devel@nongnu.org; Tue, 12 Jun 2012 10:15:04 -0400 Received: from mail-gh0-f173.google.com ([209.85.160.173]:34588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRrv-0005PV-DI for qemu-devel@nongnu.org; Tue, 12 Jun 2012 10:14:51 -0400 Received: by ghrr14 with SMTP id r14so3875413ghr.4 for ; Tue, 12 Jun 2012 07:14:49 -0700 (PDT) Sender: Richard Henderson Message-ID: <4FD74ED5.9010604@twiddle.net> Date: Tue, 12 Jun 2012 07:14:45 -0700 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] MIPS: Correct FCR0 initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Maciej W. Rozycki" Cc: qemu-devel@nongnu.org, Aurelien Jarno On 2012-06-07 18:04, Maciej W. Rozycki wrote: > I have verified this change with system emulation running the GDB test > suite for the mips-sde-elf target (o32, big endian, 24Kf CPU emulated), > there were 55 progressions and no regressions. > > Signed-off-by: Maciej W. Rozycki > --- > > Sent on behalf of Nathan, who's since left the company. Please apply. > > Maciej > > qemu-mips-fcr0.diff > Index: qemu-git-trunk/target-mips/translate.c > =================================================================== > --- qemu-git-trunk.orig/target-mips/translate.c 2012-06-04 05:35:53.245610241 +0100 > +++ qemu-git-trunk/target-mips/translate.c 2012-06-04 05:39:26.245563823 +0100 > @@ -12776,6 +12776,7 @@ void cpu_state_reset(CPUMIPSState *env) > env->CP0_SRSConf3 = env->cpu_model->CP0_SRSConf3; > env->CP0_SRSConf4_rw_bitmask = env->cpu_model->CP0_SRSConf4_rw_bitmask; > env->CP0_SRSConf4 = env->cpu_model->CP0_SRSConf4; > + env->active_fpu.fcr0 = env->cpu_model->CP1_fcr0; Reviewed-by: Richard Henderson r~