]>
Commit | Line | Data |
---|---|---|
d6f5f96d A |
1 | #include <stdbool.h> // fprintf(), NULL |
2 | ||
3 | ||
4 | extern | |
5 | #if __i386__ | |
6 | __attribute__((regparm(3))) | |
7 | #endif | |
8 | bool dointtest(int p1, int p2, int p3, int p4, int p5); | |
9 | ||
10 | #if __ppc__ || __ppc64__ | |
11 | extern bool dofloattest(double,double,double,double,double,double,double,double,double,double,double,double,double); | |
12 | #endif | |
13 | ||
14 | ||
39a8cd10 A |
15 | #if __i386__ || __x86_64__ || __ppc__ || __ppc64__ |
16 | ||
17 | #if __i386__ || __x86_64__ | |
18 | typedef float vFloat __attribute__ ((__vector_size__ (16))); | |
19 | #elif __ppc__ || __ppc64__ | |
20 | typedef __vector float vFloat; | |
21 | #endif | |
d6f5f96d | 22 | |
39a8cd10 | 23 | extern bool dovectortest(vFloat, vFloat, vFloat, vFloat, vFloat); |
d6f5f96d | 24 | |
39a8cd10 | 25 | #endif |