[PATCH] D93108: [RISCV] Define vwadd/vwaddu/vwsub/vwsubu intrinsics.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 05:14:50 PST 2020
HsiangKai created this revision.
HsiangKai added reviewers: craig.topper, evandro, frasercrmck, luismarques, rogfer01.
Herald added subscribers: NickHung, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
HsiangKai requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.
Define vwadd/vwaddu/vwsub/vwsubu intrinsics and lower to V instructions.
In this patch, it demonstrates how to model widening vector instructions.
We work with @rogfer01 from BSC to come out this patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93108
Files:
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/lib/Target/RISCV/RISCVRegisterInfo.td
llvm/test/CodeGen/RISCV/rvv/vwadd.ll
llvm/test/CodeGen/RISCV/rvv/vwadd.w.ll
llvm/test/CodeGen/RISCV/rvv/vwaddu.ll
llvm/test/CodeGen/RISCV/rvv/vwaddu.w.ll
llvm/test/CodeGen/RISCV/rvv/vwsub.ll
llvm/test/CodeGen/RISCV/rvv/vwsub.w.ll
llvm/test/CodeGen/RISCV/rvv/vwsubu.ll
llvm/test/CodeGen/RISCV/rvv/vwsubu.w.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93108.311178.patch
Type: text/x-patch
Size: 305442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/03e46ec4/attachment-0001.bin>
More information about the llvm-commits
mailing list