[PATCH] D65529: [PowerPC] Use xxleqv to set all one vector IMM(-1).
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 11:59:10 PDT 2019
jsji created this revision.
jsji added reviewers: hfinkel, nemanjai, steven.zhang.
Herald added subscribers: llvm-commits, shchenz, MaskRay, kbarton, hiraditya.
Herald added a project: LLVM.
xxspltib/vspltisb are 3 cycle PM instructions,
xxleqv is 2 cycle ALU instruction.
We should use xxleqv to set all one vectors.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65529
Files:
llvm/lib/Target/PowerPC/P9InstrResources.td
llvm/lib/Target/PowerPC/PPCInstrFormats.td
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/build-vector-tests.ll
llvm/test/CodeGen/PowerPC/sat-add.ll
llvm/test/CodeGen/PowerPC/setcc-logic.ll
llvm/test/CodeGen/PowerPC/signbit-shift.ll
llvm/test/CodeGen/PowerPC/vselect-constants.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65529.212635.patch
Type: text/x-patch
Size: 10638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/f0a145eb/attachment.bin>
More information about the llvm-commits
mailing list