[all-commits] [llvm/llvm-project] 95c7dd: Revert "[Hexagon] Don't build two halves of HVX ve...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Dec 30 08:13:45 PST 2021
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: 2021-12-30 (Thu, 30 Dec 2021)
Revert "[Hexagon] Don't build two halves of HVX vector in parallel"
This reverts commit ba07f300c6d67a2c6dde8eef216b7a77ac4600bb.
A build-vector sequence is made of pairs: rotate+insert. When constructing
a single vector, this results in a chain of 2*N instructions. The rotate
operation is a permute operation, but the insert uses a multiplication
resource: insert and rotate can execute in the same cycle, but obviously
they cannot operate on the same vector. The original halving idea is still
beneficial since it does allow for insert/rotate overlap, and for hiding
More information about the All-commits