Re: finding floating point use in the kernel

From: Chris Wedgwood
Date: Wed May 12 2004 - 13:31:36 EST


On Wed, May 12, 2004 at 01:02:45PM -0500, richard.coe@xxxxxxxxxx wrote:

> While trying to track down a problem with some floating point
> calculations, I wrote the following script. Perhaps someone can add
> it to the kernel Makefile to run when the Platform is I386.

As was just pointed out to me, this finds instructions which are never
executed (they are just part of alignment/padding) and decodes them
resulting in false positives.

Christoph pointed out -mm has -msoft-float which I think should be
sufficient to catch anything bad going on by accident.


--cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/