[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: |
Thu, 08 Jan 2015 00:23:48 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
Gisle Vanem wrote:
These intrinsics should (must?) have '()' around them. Hence:
# pragma intrinsic (_BitScanReverse64)
etc.
Thanks, revised patch attached.
I'm not at Win64 (x86_amd64) to check the test-results.
Can you please test it sometime soon?
And maybe the 'ifndef _M_IX86' should be rewritten as:
'if defined(_M_X64) || defined(_M_AMD64)'.
That would complicate the code slightly, with no advantage that I can see.
intrinsics.diff
Description: Text Data