Author: jgardou
Date: Sun Sep 25 18:35:52 2016
New Revision: 72803
URL:
http://svn.reactos.org/svn/reactos?rev=72803&view=rev
Log:
[SDK/GCC_INTRIN]
- Update __invlpg instrinsic for x86_64 compatibility
Modified:
trunk/reactos/sdk/include/crt/mingw32/intrin_x86.h
Modified: trunk/reactos/sdk/include/crt/mingw32/intrin_x86.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/crt/mingw32/in…
==============================================================================
--- trunk/reactos/sdk/include/crt/mingw32/intrin_x86.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/crt/mingw32/intrin_x86.h [iso-8859-1] Sun Sep 25 18:35:52
2016
@@ -1757,7 +1757,7 @@
__INTRIN_INLINE void __invlpg(void *Address)
{
- __asm__("invlpg %[Address]" : : [Address] "m" (*((unsigned char
*)(Address))) : "memory");
+ __asm__ __volatile__ ("invlpg (%[Address])" : : [Address] "b"
(Address) : "memory");
}