bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can we revert "avoid 64-bit intrinsics on 32-bit Windows"?


From: Paul Eggert
Subject: Re: Can we revert "avoid 64-bit intrinsics on 32-bit Windows"?
Date: Tue, 06 Jan 2015 14:13:03 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 01/06/2015 10:29 AM, Gisle Vanem wrote:

According to:
  http://msdn.microsoft.com/en-us/library/fbxyd7zd.aspx

the requirement for '_BitScanReverse64' is ARM, x64. I.e. not x86.


Thanks for checking. Can you please try the attached patch (or the attached resulting versions) instead? The idea is to work around the problem in the MSVC-specific section. I can't easily check this myself, as I don't use MSVC. If there's a typo on the patch please feel free to fix it.

Attachment: count.diff
Description: Text Data

Attachment: count-trailing-zeros.h
Description: Text document

Attachment: count-leading-zeros.h
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]