Re: [PATCH] mxcsr patch for i386 & x86-64

From: Linus Torvalds
Date: Tue May 04 2004 - 14:28:17 EST




On Tue, 4 May 2004, Linus Torvalds wrote:
>
> Right now you export a function that does just a simple mask operation,
> and quite frankly, that just seems to make it less clear what the code is
> doing. So who not get rid of that "set_fpu_mxcsr()" function, and just
> replace all the "0xffbf" uses with "mxcsr_feature_mask"?

I also note that the x86-64 version of has "mxcsr" as "unsigned short" in
set_fpu_mxcsr(). I'd have expected these changes to make it possible to
have feature bits in the high 16 bits too, no?

Linus
-
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/