[libc-commits] [PATCH] D111554: [libc] automemcpy README and main include file
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Oct 11 08:40:40 PDT 2021
gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added a project: libc-project.
gchatelet requested review of this revision.
"automemcpy: A framework for automatic generation of fundamental memory operations"
This patch implements the concepts presented in the paper, the overall approach is the following:
- Makes use of constraint programming to model the implementation of a memory function (memcpy, memset, memcmp, bzero, bcmp).
- Generate the code for all valid implementations
- Compile the implementations and benchmark them on a set of machines. The benchmark makes use of representative distributions for the function's arguments.
- Analyze the result and pick "the best" performing function according to the specific environement.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10219 bytes
Desc: not available
More information about the libc-commits