From owner-p4-projects@FreeBSD.ORG Fri Feb 27 18:54:12 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 835441065950; Fri, 27 Feb 2009 18:54:12 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED2B106594B; Fri, 27 Feb 2009 18:54:12 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id 5FACB8FC17; Fri, 27 Feb 2009 18:54:11 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 9E991240F3; Fri, 27 Feb 2009 19:54:09 +0100 (CET) Received: from carrot (unknown [IPv6:2001:700:300:3::184]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 1F74B240F2; Fri, 27 Feb 2009 19:54:09 +0100 (CET) Date: Fri, 27 Feb 2009 19:55:06 +0000 From: Ulf Lilleengen To: Oleksandr Tymoshenko Message-ID: <20090227195506.GA74274@carrot> References: <200902261742.n1QHgvYL013181@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902261742.n1QHgvYL013181@repoman.freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: Perforce Change Reviews Subject: Re: PERFORCE change 158337 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 18:54:16 -0000 On Thu, Feb 26, 2009 at 05:42:57PM +0000, Oleksandr Tymoshenko wrote: > http://perforce.freebsd.org/chv.cgi?CH=158337 > > Change 158337 by gonzo@gonzo_figaro on 2009/02/26 17:42:09 > > - AVR32 toolchain uses its own functions for 64-bit arithmetics. > To make linker happy we'll provide dumb wrappers around > __[u](div|mod)di3 functions. This should be done in assembler > though. > > Affected files ... > > .. //depot/projects/avr32/src/sys/conf/files.avr32#7 edit > .. //depot/projects/avr32/src/sys/libkern/avr32/muldi64.c#1 add > There seems to be something wrong after this change, like some operations are not performed correctly or something as it made printf output for numbers weird somehow. Instead of: CPU: AVR32B (ID 1, Rev 1) (130 MHz) Features: JAVA PC OCD SIMD DSP real memory = 31604736 (30 MB) avail memory = 30072832 (28 MB) it prints CPU: AVR32B (ID 1, Rev 1) (0 MHz) Features: JAVA PC OCD SIMD DSP real memory = 02 (00 MB) avail memory = 08 (08 MB) -- Ulf Lilleengen