Displaying 2 results from an estimated 2 matches for "consumefpvalue".
Did you mean:
_consumefpvalue
2013 May 14
2
[LLVMdev] Queue implementation is being trapped
...Value)(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 library:
*#define INT_TYPE*
*#define TYPE char*
*#define TYPED_NAME(x) i8_##x*
*#include "queue_wra...
2013 May 14
0
[LLVMdev] Queue implementation is being trapped
...>
> * *
>
> *#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 c...