This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49428] Wrong FP calculation that yields 0.0.
- From: "ecologicyborg at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 14:31:31 +0000
- Subject: [Bug c/49428] Wrong FP calculation that yields 0.0.
- Auto-submitted: auto-generated
- References: <bug-49428-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49428
--- Comment #2 from ecologicyborg at gmail dot com 2011-06-16 14:31:28 UTC ---
2011/6/16 rguenth at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49428
>
> Richard Guenther <rguenth at gcc dot gnu.org> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |RESOLVED
> Resolution| |INVALID
>
> --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org>
> 2011-06-16 08:51:35 UTC ---
> Well, properly return uint64_t from rdtsc ... otherwise you only get the
> lower bits.
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Thanks Richard Guentner, damn my error due to that i did rewrite rdtsc
because
extern "C" was not recognized by the C compiler. Damn, damn.