projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f0f3c
)
- Fix a warning in 1st of April's implementation of _rotl function.
author
Aleksey Bragin
<aleksey@reactos.org>
Fri, 30 May 2008 12:10:28 +0000
(12:10 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Fri, 30 May 2008 12:10:28 +0000
(12:10 +0000)
svn path=/trunk/; revision=33767
reactos/include/psdk/intrin_x86.h
patch
|
blob
|
history
diff --git
a/reactos/include/psdk/intrin_x86.h
b/reactos/include/psdk/intrin_x86.h
index
6aa7be4
..
58c9d40
100644
(file)
--- a/
reactos/include/psdk/intrin_x86.h
+++ b/
reactos/include/psdk/intrin_x86.h
@@
-684,7
+684,7
@@
static __inline__ __attribute__((always_inline)) unsigned short _rotl16(const un
static __inline__ __attribute__((always_inline)) unsigned short _rotl(const unsigned long value, const unsigned char shift)
{
unsigned short retval;
- __asm__("roll %b[shift], %
w
[retval]" : [retval] "=rm" (retval) : "[retval]" (value), [shift] "Nc" (shift));
+ __asm__("roll %b[shift], %
k
[retval]" : [retval] "=rm" (retval) : "[retval]" (value), [shift] "Nc" (shift));
return retval;
}
#endif