search for: addfpel

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

Did you mean: addfile
2013 May 14
2
[LLVMdev] Queue implementation is being trapped
...nt (channel, (void*)elem);}* * * * TYPE* __attribute__((noinline))* * TYPED_NAME(consumePtrValue)(int channel)* * {return (TYPE*) Q->removePtrElement (channel);}* * * *#ifdef FP_TYPE* * void __attribute__((noinline))* * TYPED_NAME(produceFPValue)(int channel, TYPE elem)* * {Q->addFPElement (channel, (double)elem);}* * * * TYPE __attribute__((noinline))* * TYPED_NAME(consumeFPValue)(int channel)* * {return (TYPE) Q->removeFPElement (channel);}* *#endif* *}* In order to define a set of functions for a type, I can simply insert the following lines on my original libra...
2013 May 14
0
[LLVMdev] Queue implementation is being trapped
...line))* > > * TYPED_NAME(consumePtrValue)(int channel)* > > * {return (TYPE*) Q->removePtrElement (channel);}* > > * * > > *#ifdef FP_TYPE* > > * void __attribute__((noinline))* > > * TYPED_NAME(produceFPValue)(int channel, TYPE elem)* > > * {Q->addFPElement (channel, (double)elem);}* > > * > * > > * TYPE __attribute__((noinline))* > > * TYPED_NAME(consumeFPValue)(int channel)* > > * {return (TYPE) Q->removeFPElement (channel);}* > > *#endif* > > *}* > > > In order to define a set of functions...