[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52E69464.4010705@zytor.com>
Date: Mon, 27 Jan 2014 09:16:20 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Andi Kleen <andi@...stfloor.org>, Jiri Kosina <jkosina@...e.cz>
CC: Borislav Petkov <bp@...en8.de>, Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Michael Matz <matz@...e.de>, Michal Hocko <mhocko@...e.cz>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] x86: Disable traditional FPU instructions too
On 01/27/2014 09:01 AM, Andi Kleen wrote:
> Jiri Kosina <jkosina@...e.cz> 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?
>
Ideally gcc should have a -no-float option...
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists