1 --- printflocal.h.orig 2009-11-12 13:40:46.000000000 -0800
2 +++ printflocal.h 2009-11-12 23:06:25.000000000 -0800
4 * $FreeBSD: src/lib/libc/stdio/printflocal.h,v 1.3 2009/03/02 04:07:58 das Exp $
8 + * Defining here VECTORS for all files that include this header (<rdar://problem/8466056>)
13 * Flags used during conversion.
16 #define PTRDIFFT 0x800 /* ptrdiff_t */
17 #define INTMAXT 0x1000 /* intmax_t */
18 #define CHARINT 0x2000 /* print char using int format */
20 +#define VECTOR 0x4000 /* Altivec or SSE vector */
24 * Macros for converting digits to letters and vice versa
26 /* Size of the static argument table. */
27 #define STATIC_ARG_TBL_SIZE 8
30 +typedef __attribute__ ((vector_size(16))) unsigned char VECTORTYPE;
33 +#endif /* __SSE2__ */
39 @@ -87,6 +97,21 @@ union arg {
44 + VECTORTYPE vectorarg;
45 + unsigned char vuchararg[16];
46 + signed char vchararg[16];
47 + unsigned short vushortarg[8];
48 + signed short vshortarg[8];
49 + unsigned int vuintarg[4];
50 + signed int vintarg[4];
53 + double vdoublearg[2];
54 + unsigned long long vulonglongarg[2];
55 + long long vlonglongarg[2];
60 /* Handle positional parameters. */