]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/lazy-binding-reg-params/foo.h
8b76407db6391c65902eb556d865f7c190149ed0
[apple/dyld.git] / unit-tests / test-cases / lazy-binding-reg-params / foo.h
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
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