Don't start new groups for numjobs=
[fio.git] / arch / arch.h
1 #ifndef ARCH_H
2 #define ARCH_H
3
4 enum {
5         arch_x86_64,
6         arch_i386,
7         arch_ppc,
8         arch_ia64,
9         arch_s390,
10         arch_alpha,
11         arch_sparc,
12         arch_sparc64,
13         arch_arm,
14 };
15
16 #if defined(__i386__)
17 #include "arch-x86.h"
18 #elif defined(__x86_64__)
19 #include "arch-x86_64.h"
20 #elif defined(__powerpc__) || defined(__powerpc64__)
21 #include "arch-ppc.h"
22 #elif defined(__ia64__)
23 #include "arch-ia64.h"
24 #elif defined(__alpha__)
25 #include "arch-alpha.h"
26 #elif defined(__s390x__) || defined(__s390__)
27 #include "arch-s390.h"
28 #elif defined(__sparc__)
29 #include "arch-sparc.h"
30 #elif defined(__sparc64__)
31 #include "arch-sparc64.h"
32 #elif defined(__arm__)
33 #include "arch-arm.h"
34 #else
35 #error "Unsupported arch"
36 #endif
37
38 #ifdef ARCH_HAVE_FFZ
39 #define ffz(bitmask)    arch_ffz(bitmask)
40 #else
41 #include "../lib/ffz.h"
42 #endif
43
44 #endif