20 #ifndef RESID_SIDDEFS_H 21 #define RESID_SIDDEFS_H 24 #define RESID_INLINING 1 25 #define RESID_INLINE inline 26 #define RESID_BRANCH_HINTS 1 30 #define HAVE_BUILTIN_EXPECT 1 45 #if RESID_BRANCH_HINTS && HAVE_BUILTIN_EXPECT 46 #define likely(x) __builtin_expect(!!(x), 1) 47 #define unlikely(x) __builtin_expect(!!(x), 0) 50 #define unlikely(x) (x) 62 typedef unsigned int reg4;
63 typedef unsigned int reg8;
64 typedef unsigned int reg12;
65 typedef unsigned int reg16;
66 typedef unsigned int reg24;
68 typedef int cycle_count;
69 typedef short short_point[2];
70 typedef double double_point[2];
72 enum chip_model { MOS6581, MOS8580 };
74 enum sampling_method { SAMPLE_FAST, SAMPLE_INTERPOLATE,
75 SAMPLE_RESAMPLE, SAMPLE_RESAMPLE_FASTMEM };
81 #ifndef RESID_VERSION_CC 82 extern const char* resid_version_string;
84 const char* resid_version_string =
"1.0-pre2";
88 #endif // not RESID_SIDDEFS_H