mirror of https://github.com/Nonannet/copapy.git
12 lines
322 B
C
12 lines
322 B
C
#if defined(__GNUC__)
|
|
#define NOINLINE __attribute__((noinline))
|
|
#define STENCIL_START_EX(funcname) \
|
|
__asm__ __volatile__( \
|
|
".global stencil_start_" #funcname "\n" \
|
|
"stencil_start_" #funcname ":\n" \
|
|
)
|
|
#define STENCIL_START(funcname)
|
|
#else
|
|
#define NOINLINE
|
|
#define STENCIL_START(funcname)
|
|
#endif |