search for: adrspace

Displaying 3 results from an estimated 3 matches for "adrspace".

Did you mean: addrspace
2015 Mar 16
4
[LLVMdev] possible addrspacecast problem
...addrspace // BB_else %r1 = load float, float* p; %r = phi float [r0, BB_then], [r1, BB_else] will be transformed to %pm = addrspaacecast float* %p to float addrspacecast(m)* %r0 = load float addrspace(m)* %pm; %r1 = load float* p; %r = select i1 (p is in adrspace(m)) float %r0, float %r1 which is wrong as "%r0 = load float addrspace(m)* %pm" would be illegal if (p is in addrspace(m)) is false. If we agree that the answer to the above question is no, then fix is simple (fix diff is attached). I also have a small test to show the problem, simplif...
2014 Dec 05
6
[LLVMdev] instruction/intrinsic for segmented adressing
Hi, would like to use LLVM as backend for a compiler. One of the features I would like to implement is segment based addressing for position independent data. For some it may sound strange, for others the opposite. No need to write complex story. Imagine you have a custom alocator that manages an area of 1GB of memory. Your application uses a custom allocator to allocate memory inside this area,
2014 Dec 06
2
[LLVMdev] instruction/intrinsic for segmented adressing
...DR. > but this is the price you pay always for RISC vs. x86, or? Probably it is difficult to quantify but wonder if it would add more than 5% slowdown to an average program, especially long running server class application. > > > and now the obvious question: for aarch64, is there an adrspace(256) > > identical declaration for LLVM? > > Nope. That's what I meant by saying there's no direct control over > these features from LLVM. > wouldn't it make sense to add such an addressing instruction at LLVM IR level? I mean there were no similar requests? Do not kn...