Re: [Mingw-w64-public] __faststorefence and mingw-w64 philosophy

2013-06-13 Thread dw
I think we should ignore that somebody uses -mno-sse for x64. First this would be clearly an ABI-breakage, due SSE is mandatory in calling-convention. Agreed. TIL: x64 uses SSE features for passing parameters (for example using XMM0 for floating point). There is a similar question for

Re: [Mingw-w64-public] __faststorefence and mingw-w64 philosophy

2013-06-04 Thread Kai Tietz
2013/6/4 dw limegreenso...@yahoo.com: I think option #3 is that one I prefer too. Just one thing about SSE-instruction. For 64-bit we can assume that SSE has to be present in any case. Just for 32-bit we should check in headers for the __SSE__ macro, and in the intrinsic-function

Re: [Mingw-w64-public] __faststorefence and mingw-w64 philosophy

2013-06-03 Thread Kai Tietz
2013/6/3 dw limegreenso...@yahoo.com: So, a question about __faststorefence. The current implementation in winnt.h is incorrect. I have 3 alternates to propose, and which one is best depends on the goals of the mingw-w64 project. One approach is just do what MSVC does. However, there's

Re: [Mingw-w64-public] __faststorefence and mingw-w64 philosophy

2013-06-03 Thread dw
I think option #3 is that one I prefer too. Just one thing about SSE-instruction. For 64-bit we can assume that SSE has to be present in any case. Just for 32-bit we should check in headers for the __SSE__ macro, and in the intrinsic-function (none-inline) we should default to none-SSE

[Mingw-w64-public] __faststorefence and mingw-w64 philosophy

2013-06-02 Thread dw
So, a question about __faststorefence. The current implementation in winnt.h is incorrect. I have 3 alternates to propose, and which one is best depends on the goals of the mingw-w64 project. One approach is just do what MSVC does. However, there's also something to be said for generate