diff options
| author | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2022-10-10 15:52:38 -0700 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2022-10-14 14:13:18 -0700 |
| commit | 705e77abed0b0fb7c6ab268866d3f841838eaf97 (patch) | |
| tree | dd9e499361d80cf30da0ca815d9818017158ed0f /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | 16cf666bb7f574bc56cc0a5caf859de7c1c22704 (diff) | |
| download | llvm-705e77abed0b0fb7c6ab268866d3f841838eaf97.zip llvm-705e77abed0b0fb7c6ab268866d3f841838eaf97.tar.gz llvm-705e77abed0b0fb7c6ab268866d3f841838eaf97.tar.bz2 | |
[Hexagon] Lower funnel shifts for HVX
HVX v62+ has bidirectional shifts, which do not mask the shift amount to
the bit width. Instead, the shift amount is sign-extended from the log(BW)
bit value, and a negative value causes a shift in the other direction.
For the shift amount being -log(BW), this reversed shift will shift all
bits out, inserting 0s or sign bits depending on the type and direction.
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
