For more details about these instructions, please refer to the latest ISE document: https://www.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Basic/Targets/X86.cpp | ||
---|---|---|
791 | Why do we need this line? |
clang/include/clang/Basic/BuiltinsX86.def | ||
---|---|---|
1330–1334 | Can we unify the builtins like AVXVNNI? e.g., change it to vx512ifma,avx512vl|avxifma | |
clang/lib/Headers/avxifmaintrin.h | ||
37 | Should we provide unified intrinsic _mm_madd52hi_epu64 like AVXVNNI? | |
llvm/test/CodeGen/X86/avx-ifma-intrinsics.ll | ||
3 | Use AVX,AVX-X86 etc. to reduce the duplicated check. | |
23 | I think we should expect VEX encoding here with comment EVEX TO VEX Compression encoding |
Address comments and update. THX for review:
Added llvm/test/CodeGen/X86/stack-folding-int-avx512ifma.ll and
llvm/test/CodeGen/X86/stack-folding-int-avxifma.ll.
clang/lib/Headers/avxifmaintrin.h | ||
---|---|---|
37 | Good reminding. You mean adding them in intrinsic guide, right? |
clang/lib/Headers/avxifmaintrin.h | ||
---|---|---|
37 | I mean define with macro first like this: https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/avx512vlvnniintrin.h#L38-L39 |
Can we unify the builtins like AVXVNNI? e.g., change it to vx512ifma,avx512vl|avxifma