diff options
author | Brandon <61314499+brandonxin@users.noreply.github.com> | 2025-09-15 04:21:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 09:21:05 +0000 |
commit | 50bcf6818e045a39eb21201f7c512e514476385e (patch) | |
tree | a14020f7fbd770582acd1a28a0e62ed3331741e0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d8c8c67dc5e1ac7f3a551750b9e21ec64ec5b283 (diff) | |
download | llvm-50bcf6818e045a39eb21201f7c512e514476385e.zip llvm-50bcf6818e045a39eb21201f7c512e514476385e.tar.gz llvm-50bcf6818e045a39eb21201f7c512e514476385e.tar.bz2 |
[X86][bytecode] Allow SSE/AVX BLEND imm intrinsics to be used in constexpr (#157776)
This marks the following builtins as constexpr, which allows their
corresponding intrinsics to be used in constexprs.
| Intrinsics | X86 Builtins | CPUID Flags | Header |
| -------------------- | --------------------------- | ----------- |
----------- |
| `_mm_blend_pd` | `__builtin_ia32_blendpd` | SSE4.1 | smmintrin.h |
| `_mm256_blend_pd` | `__builtin_ia32_blendpd256` | AVX | immintrin.h |
| `_mm_blend_ps` | `__builtin_ia32_blendps` | SSE4.1 | smmintrin.h |
| `_mm256_blend_ps` | `__builtin_ia32_blendps256` | AVX | immintrin.h |
| `_mm_blend_epi16` | `__builtin_ia32_pblendw128` | SSE4.1 | smmintrin.h
|
| `_mm256_blend_epi16` | `__builtin_ia32_pblendw256` | AVX2 |
immintrin.h |
| `_mm_blend_epi32` | `__builtin_ia32_pblendd128` | AVX2 | immintrin.h |
| `_mm256_blend_epi32` | `__builtin_ia32_pblendd256` | AVX2 |
immintrin.h |
Fixes #157065
---------
Co-authored-by: Timm Baeder <tbaeder@redhat.com>
Co-authored-by: Simon Pilgrim <llvm-dev@redking.me.uk>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions