Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 19:55:06 +0000
From:      Ulf Lilleengen <ulf.lilleengen@gmail.com>
To:        Oleksandr Tymoshenko <gonzo@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   Re: PERFORCE change 158337 for review
Message-ID:  <20090227195506.GA74274@carrot>
In-Reply-To: <200902261742.n1QHgvYL013181@repoman.freebsd.org>
References:  <200902261742.n1QHgvYL013181@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090227195506.GA74274>