search for: removefpel

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

Did you mean: removefile
2013 May 14
2
[LLVMdev] Queue implementation is being trapped
...rElement (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 library: *#define INT_TYPE* *#define TYPE char* *#define TYPED_NAME(x) i8_##x* *#include "queue_wrappers.h"* *#undef TYPE* *#undef TYPED_NAME*...
2013 May 14
0
[LLVMdev] Queue implementation is being trapped
...tribute__((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 library: > > *#define INT_TYPE* > > *#define TYPE char* > > *#define TYPED_NAME(x) i8_##x* > > *#in...