Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/hpcmips/conf



Module Name:    src
Committed By:   tsutsui
Date:           Sat Jan 26 15:09:12 UTC 2008

Modified Files:
        src/sys/arch/hpcmips/conf: GENERIC TX3912 TX3922

Log Message:
Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.

The "-mips2" option seems to imply "-mdivide-traps" and
gcc4 with the option generates "teq" instruction on division ops,
but teq is not supported by TX39xx CPUs.

The problem is reported and the fix (-mdevide-breaks) is
provided by Risto Sainio. Tested on his PenCentra 200,
and also tested on Telios HC-AJ2 by nakayama@.

This should be pulled up to netbsd-4.


To generate a diff of this commit:
cvs rdiff -r1.198 -r1.199 src/sys/arch/hpcmips/conf/GENERIC
cvs rdiff -r1.67 -r1.68 src/sys/arch/hpcmips/conf/TX3912
cvs rdiff -r1.79 -r1.80 src/sys/arch/hpcmips/conf/TX3922

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




Home | Main Index | Thread Index | Old Index