summaryrefslogtreecommitdiff
path: root/config/sysdeps/cycles.h
blob: eac039ea65fc21ee5af7e60143d6a64291bf2c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _jack_sysdep_cycles_h_
#define _jack_sysdep_cycles_h_

#if defined(__i386__)
    
/* technically, i386 doesn't have a cycle counter, but
   running JACK on a real i386 seems like a ridiculuous
   target and gcc defines this for the entire x86 family
   including the [456]86 that do have the counter.
*/

#include <config/cpu/i386/cycles.h>

#elif defined(__x86_64)

#include <config/cpu/i486/cycles.h>

#elif defined(__powerpc__) || defined(__ppc__)   /* linux and OSX gcc use different tokens */

#include <config/cpu/powerpc/cycles.h>

#else

#include <config/cpu/generic/cycles.h>

#endif /* processor selection */

#endif /* _jack_sysdep_cycles_h_ */