NetBSD Problem Report #45731

From www@NetBSD.org  Thu Dec 22 00:55:34 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 6CA7463DC68
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Dec 2011 00:55:34 +0000 (UTC)
Message-Id: <20111222005533.D70FA63C3DB@www.NetBSD.org>
Date: Thu, 22 Dec 2011 00:55:33 +0000 (UTC)
From: hitoshikoike@hotmail.com
Reply-To: hitoshikoike@hotmail.com
To: gnats-bugs@NetBSD.org
Subject: Upper 32-bit of r5,r7,r9 are not stored by vec_load_from_vreg()
X-Send-Pr-Version: www-1.0

>Number:         45731
>Category:       port-powerpc
>Synopsis:       Upper 32-bit of r5,r7,r9 are not stored by vec_load_from_vreg()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-powerpc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 22 01:00:01 +0000 2011
>Closed-Date:    Sun Sep 02 03:37:14 +0000 2012
>Last-Modified:  Sun Sep 02 03:37:14 +0000 2012
>Originator:     Hitoshi Koike
>Release:        Not a NetBSD user
>Organization:
Not a NetBSD user
>Environment:
Not applicable
>Description:
Looking at vec_load_from_vreg() function in http://ftp.netbsd.org/pub/NetBSD/misc/repositories/cvsroot/src/sys/arch/powerpc/booke/spe_subr.S,v and found the following suspicious lines.

---
		evmergelo %r19,%r8,%r19
	evldw %r6,(6 << 2)(%r3)
		evmergelo %r17,%r6,%r17
	evldw %r4,(4 << 2)(%r3)
		evmergelo %r15,%r4,%r15
---


>How-To-Repeat:
Unknown
>Fix:
Correct the lines like below.

---
		evmergelo %r9,%r8,%r9
	evldw %r6,(6 << 2)(%r3)
		evmergelo %r7,%r6,%r7
	evldw %r4,(4 << 2)(%r3)
		evmergelo %r5,%r4,%r5
---

>Release-Note:

>Audit-Trail:
From: "Matt Thomas" <matt@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45731 CVS commit: src/sys/arch/powerpc/booke
Date: Sun, 20 May 2012 06:17:28 +0000

 Module Name:	src
 Committed By:	matt
 Date:		Sun May 20 06:17:28 UTC 2012

 Modified Files:
 	src/sys/arch/powerpc/booke: spe_subr.S

 Log Message:
 Fix SPE loading typo as described in PR/45731


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/sys/arch/powerpc/booke/spe_subr.S

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45731 CVS commit: [netbsd-6] src/sys/arch/powerpc/booke
Date: Wed, 13 Jun 2012 19:42:56 +0000

 Module Name:	src
 Committed By:	riz
 Date:		Wed Jun 13 19:42:56 UTC 2012

 Modified Files:
 	src/sys/arch/powerpc/booke [netbsd-6]: spe_subr.S

 Log Message:
 Pull up following revision(s) (requested by matt in ticket #339):
 	sys/arch/powerpc/booke/spe_subr.S: revision 1.3
 Fix SPE loading typo as described in PR/45731


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.2.16.1 src/sys/arch/powerpc/booke/spe_subr.S

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 02 Sep 2012 03:37:14 +0000
State-Changed-Why:
fixed, thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.