intrin_x86: Don't test for __MSVCSRT__ when implementing _rotr and _rotl. gcc defines __MSVCSRT__ and "knows" these funtions, but doesn't implemnt them.

svn path=/trunk/; revision=41722
This commit is contained in:
Timo Kreuzer 2009-07-01 00:40:07 +00:00
parent fd848cadad
commit 8cb1238455

View file

@ -837,7 +837,6 @@ __INTRIN_INLINE unsigned short _rotl16(unsigned short value, unsigned char shift
return retval;
}
#ifndef __MSVCRT__
__INTRIN_INLINE unsigned int _rotl(unsigned int value, int shift)
{
unsigned long retval;
@ -851,7 +850,6 @@ __INTRIN_INLINE unsigned int _rotr(unsigned int value, int shift)
__asm__("rorl %b[shift], %k[retval]" : [retval] "=rm" (retval) : "[retval]" (value), [shift] "Nc" (shift));
return retval;
}
#endif
__INTRIN_INLINE unsigned char _rotr8(unsigned char value, unsigned char shift)
{