Issue 168881
Summary [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow CRC32 intrinsics to be used in constexp
Labels good first issue, backend:X86, clang:frontend, clang:headers, constexpr, clang:bytecode
Assignees
Reporter RKSimon
    ```
unsigned int _mm_crc32_u8 (unsigned int crc, unsigned char v)
unsigned int _mm_crc32_u16 (unsigned int crc, unsigned short v)
unsigned int _mm_crc32_u32 (unsigned int crc, unsigned int v)
unsigned __int64 _mm_crc32_u64 (unsigned __int64 crc, unsigned __int64 v)
```
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=crc32

These should be implemented using the descriptions in the Intel Intrinsics documentation, and tested offline to confirm runtime and constexpr implementations match.

TEST_CONSTEXPR needs to be added to sse42-builtins.c
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to