Details
Details
- Reviewers
RKSimon AsafBadouh delena igorb - Commits
- rG716859aa644f: [Clang][bmi][intrinsics] Adding _mm_tzcnt_64 _mm_tzcnt_32 intrinsics to clang.
rC273401: [Clang][bmi][intrinsics] Adding _mm_tzcnt_64 _mm_tzcnt_32 intrinsics to clang.
rL273401: [Clang][bmi][intrinsics] Adding _mm_tzcnt_64 _mm_tzcnt_32 intrinsics to clang.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Headers/bmiintrin.h | ||
---|---|---|
296 ↗ | (On Diff #60821) | Why not just #define to __tzcnt_u32 like the (many) other duplicate tzcnt intrinsics we have: #define _mm_tzcnt_32(a) (__tzcnt_u32((a))) Same for _mm_tzcnt_64 Also, please can you copy/paste/edit the doxygen comment so that its properly documented? |
lib/Headers/bmiintrin.h | ||
---|---|---|
296 ↗ | (On Diff #61351) | We can't use #define Here. The mm_tzcnt_32(a) intrinsics is deferent from tzcnt_u32 in the return value. The mm_tzcnt_32 intrinsic return sign int while the tzcnt_u32 return unsign value. |