]> git.saurik.com Git - apple/dyld.git/blame_incremental - unit-tests/test-cases/lazy-binding-reg-params/foo.h
dyld-360.14.tar.gz
[apple/dyld.git] / unit-tests / test-cases / lazy-binding-reg-params / foo.h
... / ...
CommitLineData
1#include <stdbool.h> // fprintf(), NULL
2
3
4extern
5#if __i386__
6__attribute__((regparm(3)))
7#endif
8bool dointtest(int p1, int p2, int p3, int p4, int p5);
9
10#if __ppc__ || __ppc64__
11extern bool dofloattest(double,double,double,double,double,double,double,double,double,double,double,double,double);
12#endif
13
14
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
22
23 extern bool dovectortest(vFloat, vFloat, vFloat, vFloat, vFloat);
24
25#endif