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)
62typedef unsigned int reg4;
63typedef unsigned int reg8;
64typedef unsigned int reg12;
65typedef unsigned int reg16;
66typedef unsigned int reg24;
68typedef int cycle_count;
69typedef short short_point[2];
70typedef double double_point[2];
72enum chip_model { MOS6581, MOS8580 };
74enum sampling_method { SAMPLE_FAST, SAMPLE_INTERPOLATE,
75 SAMPLE_RESAMPLE, SAMPLE_RESAMPLE_FASTMEM };
81#ifndef RESID_VERSION_CC
82extern const char* resid_version_string;
84const char* resid_version_string =
"1.0-pre2";