search for: bit_concat

Displaying 2 results from an estimated 2 matches for "bit_concat".

2007 Mar 31
0
[LLVMdev] About implementing new intrinsic
...PR1297 (http://llvm.org/PR1297) I am about to make this happen. There are certain kinds of intrinsics that want to have a function body generated for them if a target or code generator cannot handle the intrinsic natively. For example, the company I work for has targets that know how to do a "bit_concat". That is, take two integers of any width and concatenate them into a longer integer. Most other targets, however, don't know how to do this natively. In such cases the intrinsic for "bit_concat" is lowered to an internal function that does the necessary shift/or implementation....
2007 Mar 31
6
[LLVMdev] About implementing new intrinsic
Hi, I want to implement a new intrinsic in llvm that will denote a parallel section within a function. I followed the documentation for extending llvm (http://llvm.org/docs/ExtendingLLVM.html) but there is something about the working mechanism that is not clear for me. 1. Why do we have to add support for the C backend? Is this only necessary to transform the llvm assembly (bytecode) into C code