fixed copy-paste induced bug in ROR64

This commit is contained in:
Stanislav Shwartsman 2023-10-08 08:08:56 +03:00
parent 081b228635
commit d39d896a77
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}