diff options
author | Li Rong Yi <esme.yi@ibm.com> | 2020-06-01 02:29:18 +0000 |
---|---|---|
committer | Eloring <onelirong@gmail.com> | 2020-06-01 02:30:27 +0000 |
commit | 3101601b54fbb8062c179e804974b9fb4e2b7c19 (patch) | |
tree | 3d8bc67454002451436eaebbf89ff0447d505c4c /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 216bad9a64ebfac51d36210738d2b9aa3de69511 (diff) | |
download | llvm-3101601b54fbb8062c179e804974b9fb4e2b7c19.zip llvm-3101601b54fbb8062c179e804974b9fb4e2b7c19.tar.gz llvm-3101601b54fbb8062c179e804974b9fb4e2b7c19.tar.bz2 |
[PowerPC] Exploit vabsd on P9
Summary: Exploit vabsd* for for absolute difference of vectors on P9,
for example:
void foo (char *restrict p, char *restrict q, char *restrict t)
{
for (int i = 0; i < 16; i++)
t[i] = abs (p[i] - q[i]);
}
this case should be matched to the HW instruction vabsdub.
Reviewed By: steven.zhang
Differential Revision: https://reviews.llvm.org/D80271
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions