mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[util] Fix tzcnt on ARM64 + Clang
This needed brackets around this conditional.
This commit is contained in:
parent
ab622760a0
commit
fa45e5838e
@ -104,7 +104,7 @@ namespace dxvk::bit {
|
||||
return _tzcnt_u64(n);
|
||||
#elif defined(DXVK_ARCH_X86_64) && defined(__BMI__)
|
||||
return __tzcnt_u64(n);
|
||||
#elif defined(DXVK_ARCH_X86_64) && defined(__GNUC__) || defined(__clang__)
|
||||
#elif defined(DXVK_ARCH_X86_64) && (defined(__GNUC__) || defined(__clang__))
|
||||
uint64_t res;
|
||||
uint64_t tmp;
|
||||
asm (
|
||||
|
Loading…
Reference in New Issue
Block a user