mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
9511b4c8fa
commit
e89ebdcb87
Notes:
git
2020-03-11 16:43:36 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
3 changed files with 5 additions and 5 deletions
|
@ -230,7 +230,7 @@ static inline unsigned int
|
|||
nlz_int32(uint32_t x)
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__AVX2__)
|
||||
/* Note: It seems there is no such tihng like __LZCNT__ predefined in MSVC.
|
||||
/* Note: It seems there is no such thing like __LZCNT__ predefined in MSVC.
|
||||
* AMD CPUs have had this instruction for decades (since K10) but for
|
||||
* Intel, Haswell is the oldest one. We need to use __AVX2__ for maximum
|
||||
* safety. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue