hameeza ahmed via llvm-dev
2017-Oct-04 04:37 UTC
[llvm-dev] LOAD instruction source register selection
Hello, My implemented load is emitting following instruction P_128B_LOAD_DWORD R_0_R1024b_0, pimword ptr [rip + b] Here I want register R_0_R64b instead of rip where i need to make changes please help. My load implementation is follows: def P_128B_LOAD_DWORD : P_Data_Mov<0x0045, MRMSrcMem_P, (outs VRP_1024:$dst), (ins i1024mem:$src), "P_128B_LOAD_DWORD\t{$src, $dst|$dst, $src}", [(set VRP_1024:$dst, (v32i32 (load addr:$src)))], IIC_MOV_MEM>; please help. Thank You -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171004/94eb18b9/attachment.html>