Displaying 3 results from an estimated 3 matches for "__custom_operation".
2007 Aug 02
1
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...ttern matching in the
> code generator than as an intrinsic.
>
Need for variable arguments is that we don't know beforehand
which custom operations we support. So practically we just
give operation name and 1 or more parameters depending
how many parameters custom operation has.
e.g. __custom_operation("addsub", a, b, c)
In lowering of intrinsic function we check from the processor,
which type of parameters our current processor has for operation
named "addsub" and write corresponding native code.
>> Is there need to make changes to llvm-gcc for supporting new GCCBuilti...
2007 Aug 02
0
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
On Wed, 1 Aug 2007, [UTF-8] Mikael Lepist? wrote:
>> def MOVNTPSmr : PSI<0x2B, MRMDestMem, (outs), (ins i128mem:$dst,
>> VR128:$src),
>> "movntps {$src, $dst|$dst, $src}",
>> [(int_x86_sse_movnt_ps addr:$dst, VR128:$src)]>;
>>
>> There is corresponding code in llvm-gcc to tell GCC how to handle this
>> builtin. Is this what you're
2007 Aug 01
2
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
Chris Lattner wrote:
> On Tue, 31 Jul 2007, [ISO-8859-1] Mikael Lepist� wrote:
>> I was talking with aKor in #llvm how we could implement custom operation
>> support for our ASIP architecture. We came into solution that the best
>> way would be to write new custom operation intrinsic and optimization
>> pass for raising certain type of function calls to those intrinsics