]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/lazy-binding-reg-params/foo.h
dyld-46.12.tar.gz
[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__
16 typedef float vFloat __attribute__ ((__vector_size__ (16)));
17 #elif __ppc__ || __ppc64__
18 typedef vector float vFloat;
19 #endif
20
21 extern bool dovectortest(vFloat, vFloat, vFloat, vFloat, vFloat);
22