mirror of https://github.com/bochs-emu/Bochs
fixed copy-paste induced bug in ROR64
This commit is contained in:
parent
081b228635
commit
d39d896a77
|
@ -228,7 +228,7 @@ BX_CPP_INLINE Bit64u rol64(Bit64u v64, unsigned count)
|
|||
return (v64 << count) | (v64 >> (64 - count));
|
||||
}
|
||||
|
||||
BX_CPP_INLINE Bit32u ror64(Bit32u v64, unsigned count)
|
||||
BX_CPP_INLINE Bit64u ror64(Bit64u v64, unsigned count)
|
||||
{
|
||||
return (v64 >> count) | (v64 << (64 - count));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue