]> git.saurik.com Git - apple/dyld.git/blame - unit-tests/test-cases/lazy-binding-reg-params/foo.h
dyld-353.2.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / lazy-binding-reg-params / foo.h
CommitLineData
d6f5f96d
A
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
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