PERFORCE change 158337 for review

Ulf Lilleengen ulf.lilleengen at gmail.com
Fri Feb 27 10:54:16 PST 2009


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 at 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


More information about the p4-projects mailing list