search for: mcsneed

Displaying 4 results from an estimated 4 matches for "mcsneed".

2016 Oct 15
5
How to remove memcpy
On Sat, Oct 15, 2016 at 04:01:36PM -0700, Mehdi Amini via llvm-dev wrote: > > > On Oct 15, 2016, at 3:56 PM, Wolfgang McSneed via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > Hi, > > > > I am hoping that someone can help me figure out how to prevent the insertion of "memcpy" from the assembly source. > > > > My target is an instruction set simulator that does...
2016 Oct 15
2
How to remove memcpy
On Sat, Oct 15, 2016 at 06:10:05PM -0500, Wolfgang McSneed wrote: > Thanks for your fast response! attached is the matrix_float.c file. Are you intentionally not using static (& const) arrays? The compiler has to use a copy to initialize a & b, given the size, it will use a memcpy from a read-only section for that. Joerg
2016 Oct 15
3
How to remove memcpy
Hi, I am hoping that someone can help me figure out how to prevent the insertion of "memcpy" from the assembly source. My target is an instruction set simulator that doesn't support this. Thank you for your valuable time. Wolf *Here are my compile commands:* $ clang -emit-llvm -fno-builtin -o3 --target=mips -S matrix_float.c -o vl_matrix_float.ll $ llc vl_matrix_float.ll *IR
2016 Oct 15
2
How to remove memcpy
Even with -ffreestanding LLVM generates memcpy/memset? Does this mean some passes do not honor this flag? If you really wanted to prevent libcalls, you could technically translate those memcpy/memset to loops in lowering. Kevin On Sat, Oct 15, 2016 at 4:10 PM, Wolfgang McSneed via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi Mehdi and Joerg, > > Thanks for your fast response! attached is the matrix_float.c file. > > Also - I should point out that I am using MIPS ISS. > > Thanks, > > Wolf > > Kind Regards, > > Wolf >...