This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Can _mm_crc32_u64() return a value that is bigger than MAX_UINT32?
- From: Eitan Azriel <eitan at zadarastorage dot com>
- To: gcc-help at gcc dot gnu dot org
- Cc: Alex Lyakas <alex at zadarastorage dot com>, hjl dot tools at gmail dot com
- Date: Mon, 12 Feb 2018 15:24:14 +0200
- Subject: Can _mm_crc32_u64() return a value that is bigger than MAX_UINT32?
- Authentication-results: sourceware.org; auth=none
Hi,
The signature of _mm_crc32_u64() is:
unsigned int64 _mm_crc32_u64 (
unsigned __int64 crc,
unsigned __int64 v
);
Why does it return int64, and not uint32? Shouldn't it return a valid CRC32
value?
Thanks,
Eitan