Re: [RFC] x86: Disable traditional FPU instructions too

From: Andi Kleen
Date: Mon Jan 27 2014 - 12:02:26 EST


Jiri Kosina <jkosina@xxxxxxx> writes:

> On Mon, 27 Jan 2014, H. Peter Anvin wrote:
>
>> I don't think it'd hurt... although I think the above pretty much
>> requires that the code contain actual floating-point types to ever be
>> generated.
>
> Unfortunately using float-typed constants (such as 1EexpL) are enough for
> this to happen.

checkpatch would seem to be the right place to check for this?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/