Author: tkreuzer
Date: Wed Dec 16 22:58:31 2009
New Revision: 44628
URL:
http://svn.reactos.org/svn/reactos?rev=44628&view=rev
Log:
implement _byteswap_ushort for arm
Modified:
trunk/reactos/include/crt/mingw32/intrin_arm.h
Modified: trunk/reactos/include/crt/mingw32/intrin_arm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/mingw32/intrin…
==============================================================================
--- trunk/reactos/include/crt/mingw32/intrin_arm.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/mingw32/intrin_arm.h [iso-8859-1] Wed Dec 16 22:58:31 2009
@@ -34,6 +34,11 @@
#define _ReturnAddress() (__builtin_return_address(0))
#define _ReadWriteBarrier() __sync_synchronize()
+
+__INTRIN_INLINE unsigned short _byteswap_ushort(unsigned short value)
+{
+ return __builtin_bswap32(value) >> 16;
+}
__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask)
{