This patch implements the function prototypes vec_extractl and vec_extracth in altivec.h to utilize the vector extract double element instructions introduced in Power10.
Details
- Reviewers
amyk lei steven.zhang - Group Reviewers
Restricted Project - Commits
- rGcce1b0e8919e: [PowerPC] Implement Vector Extract Low/High Order Builtins in LLVM/Clang
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
120 ms | linux > Polly.ScopInfo::Unknown Unit Message ("") |
Event Timeline
I think overall it LGTM and the indentation can be addressed when committing.
clang/lib/Headers/altivec.h | ||
---|---|---|
17082 | nit: space after this comment | |
17124 | nit: space after this comment | |
17156 | I know you said previously that having the function names in one way caused errors with clang format, but could we have the function names declared in the same way for consistency? |
clang-tidy: error: "AltiVec support not enabled" [clang-diagnostic-error]
not useful