Liu winter via llvm-dev
2017-May-26 04:30 UTC
[llvm-dev] How to implement memory-memory instructions?
Hi, Implementation of a load-store architecture should be quite straightforward as we are able to refer several backend. For now, I am planning to implement a backend on which instructions could take memory address as operand, for example, 'cadd [a], [b], [c]', where a, b, and c are memory address. I am wondering if there is an existing backend I could refer to to implement such memory-memory instructions. If not, is there any recommendation for this implementation? It is very appreciated if there is any help. Thank you. Yours, Winter -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170526/7b6ff970/attachment.html>
Friedman, Eli via llvm-dev
2017-May-26 17:23 UTC
[llvm-dev] How to implement memory-memory instructions?
On 5/25/2017 9:30 PM, Liu winter via llvm-dev wrote:> > Hi, > > > Implementation of a load-store architecture should be quite > straightforward as we are able to refer several backend. For now, I am > planning to implement a backend on which instructions could take > memory address as operand, for example, 'cadd [a], [b], [c]', where a, > b, and c are memory address. I am wondering if there is an existing > backend I could refer to to implement such memory-memory instructions. > If not, is there any recommendation for this implementation? It is > very appreciated if there is any help. Thank you.x86 has instructions like this; see http://lists.llvm.org/pipermail/llvm-dev/2016-October/105946.html . -Eli -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170526/2504feaa/attachment.html>