Messages in this thread | | | Date | Tue, 29 Apr 2014 22:19:17 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] mbcache: LLVMLinux: Remove double calculation from mbcache |
| |
On 04/29/2014 06:13 PM, H. Peter Anvin wrote: > I suspect this will generate FP instructions on x86 which will corrupt user space state. This is thus a critical bug!!
It looks like at least x86-64 gcc does the evaluation at compile time and there aren't any fp instructions left in the code. However, it should still be fixed.
-hpa
| |