Date: Wed, 30 Jun 2010 01:40:25 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/gmon gmon.c Message-ID: <201006300140.o5U1ei4u021680@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2010-06-30 01:40:25 UTC
FreeBSD src repository
Modified files:
lib/libc/gmon gmon.c
Log:
SVN rev 209604 on 2010-06-30 01:40:25Z by marcel
On powerpc, calculate s_scale using the non-FP version previously
specific to hp300. Since FreeBSD does not support hp300, hp300 has
been removed from the condition altogether.
The FP version broke profiling on powerpc due to invalid results.
Casting to double instead of float resolved the issue, but with
Book-E not having a FP unit, the non-FP version looked preferrable.
Note that even on AIM hardware the FP version yielded an invalid
value for s_scale, so the problem is most likely with the compiler
or with the expression itself.
Revision Changes Path
1.24 +1 -1 src/lib/libc/gmon/gmon.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006300140.o5U1ei4u021680>
