Displaying 2 results from an estimated 2 matches for "ec8bee4f".
2016 Oct 12
2
Generate Register Indirect mode instruction
On 10/12/2016 3:15 PM, Alex Bradley wrote:
>
> Yes the result goes into memory. But the *address* of that destination
> memory location also needs to be loaded first into a register.
>
Your architecture has a single instruction for the following operation?
define void @foo(i32 **%a, i32**%b) {
entry:
%l1 = load i32*, i32** %a, align 4
%l2 = load i32, i32* %l1, align 4
%l3 =
2016 Oct 14
2
Generate Register Indirect mode instruction
...; (store %c, (add (load %a), (load %b)))
> becomes
> (ADD (ASSIGN R2, %c), (ASSIGN R0, %a), (ASSIGN R1, %b))
>
Yes. Exactly.
Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161014/ec8bee4f/attachment.html>