remove more __RINTERPOLATE__

parent 1c3b92ee
......@@ -215,8 +215,6 @@ extern int rinterpolate_debug;
* Compiler options
*************************************************************/
#ifdef __RINTERPOLATE__
/* do we want to try register variables? makes no difference with -O3 */
#ifndef register
#define register /* */
......@@ -243,25 +241,31 @@ extern int rinterpolate_debug;
#endif
#ifdef __GNUC__
#ifndef pure_function
# define pure_function __attribute__((pure))
#endif
#ifndef const_functions
# define const_function __attribute__((const))
#endif
#ifndef likely
# define likely(x) __builtin_expect(!!(x), 1)
#endif
#ifndef unlikely
# define unlikely(x) __builtin_expect(!!(x), 0)
#endif
#ifndef equally_likely
#if __GNUC__ >= 9
# define equally_likely(x) __builtin_expect_with_probability(!!(x),0,0.5)
#else
# define equally_likely(x) (x)
#endif
#endif
#endif //equally_likely
#ifndef prefetch
# define prefetch(...) __builtin_prefetch(__VA_ARGS__)
#endif
......@@ -302,8 +306,6 @@ extern int rinterpolate_debug;
# define const_function
#endif
#endif // __RINTERPOLATE__
/************************************************************
* rinterpolate's structures
************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment