Ticket #46038: cpu.pp.c

File cpu.pp.c, 34.9 KB (added by entwicklung@…, 10 years ago)

preprocessed cpu.c

Line 
1# 1 "cpu.c"
2# 1 "<built-in>" 1
3# 1 "<built-in>" 3
4# 162 "<built-in>" 3
5# 1 "<command line>" 1
6# 1 "<built-in>" 2
7# 1 "cpu.c" 2
8# 34 "cpu.c"
9# 1 "../../config.h" 1
10# 35 "cpu.c" 2
11
12
13# 1 "./include/private/cpu.h" 1
14# 36 "./include/private/cpu.h"
15# 1 "../../include/FLAC/ordinals.h" 1
16# 56 "../../include/FLAC/ordinals.h"
17# 1 "/usr/bin/../lib/clang/4.2/include/stdint.h" 1 3 4
18# 33 "/usr/bin/../lib/clang/4.2/include/stdint.h" 3 4
19# 1 "/usr/include/stdint.h" 1 3 4
20# 20 "/usr/include/stdint.h" 3 4
21typedef signed char int8_t;
22
23
24
25
26typedef short int16_t;
27
28
29
30
31typedef int int32_t;
32
33
34
35
36typedef long long int64_t;
37
38
39
40
41typedef unsigned char uint8_t;
42
43
44
45
46typedef unsigned short uint16_t;
47
48
49
50
51typedef unsigned int uint32_t;
52
53
54
55
56typedef unsigned long long uint64_t;
57
58
59
60typedef int8_t int_least8_t;
61typedef int16_t int_least16_t;
62typedef int32_t int_least32_t;
63typedef int64_t int_least64_t;
64typedef uint8_t uint_least8_t;
65typedef uint16_t uint_least16_t;
66typedef uint32_t uint_least32_t;
67typedef uint64_t uint_least64_t;
68
69
70
71typedef int8_t int_fast8_t;
72typedef int16_t int_fast16_t;
73typedef int32_t int_fast32_t;
74typedef int64_t int_fast64_t;
75typedef uint8_t uint_fast8_t;
76typedef uint16_t uint_fast16_t;
77typedef uint32_t uint_fast32_t;
78typedef uint64_t uint_fast64_t;
79
80
81
82
83
84
85typedef long intptr_t;
86
87
88
89
90typedef unsigned long uintptr_t;
91
92
93
94
95
96
97
98typedef long int intmax_t;
99# 106 "/usr/include/stdint.h" 3 4
100typedef long unsigned int uintmax_t;
101# 34 "/usr/bin/../lib/clang/4.2/include/stdint.h" 2 3 4
102# 57 "../../include/FLAC/ordinals.h" 2
103
104typedef int8_t FLAC__int8;
105typedef uint8_t FLAC__uint8;
106
107typedef int16_t FLAC__int16;
108typedef int32_t FLAC__int32;
109typedef int64_t FLAC__int64;
110typedef uint16_t FLAC__uint16;
111typedef uint32_t FLAC__uint32;
112typedef uint64_t FLAC__uint64;
113
114
115
116typedef int FLAC__bool;
117
118typedef FLAC__uint8 FLAC__byte;
119# 37 "./include/private/cpu.h" 2
120
121
122# 1 "../../config.h" 1
123# 40 "./include/private/cpu.h" 2
124# 111 "./include/private/cpu.h"
125typedef enum {
126 FLAC__CPUINFO_TYPE_IA32,
127 FLAC__CPUINFO_TYPE_X86_64,
128 FLAC__CPUINFO_TYPE_UNKNOWN
129} FLAC__CPUInfo_Type;
130# 133 "./include/private/cpu.h"
131typedef struct {
132 FLAC__bool sse3;
133 FLAC__bool ssse3;
134 FLAC__bool sse41;
135 FLAC__bool sse42;
136 FLAC__bool avx;
137 FLAC__bool avx2;
138 FLAC__bool fma;
139} FLAC__CPUInfo_x86;
140
141
142typedef struct {
143 FLAC__bool use_asm;
144 FLAC__CPUInfo_Type type;
145
146
147
148 FLAC__CPUInfo_x86 x86;
149
150} FLAC__CPUInfo;
151
152void FLAC__cpu_info(FLAC__CPUInfo *info);
153# 38 "cpu.c" 2
154# 1 "/usr/include/stdlib.h" 1 3 4
155# 61 "/usr/include/stdlib.h" 3 4
156# 1 "/usr/include/Availability.h" 1 3 4
157# 141 "/usr/include/Availability.h" 3 4
158# 1 "/usr/include/AvailabilityInternal.h" 1 3 4
159# 142 "/usr/include/Availability.h" 2 3 4
160# 62 "/usr/include/stdlib.h" 2 3 4
161
162# 1 "/usr/include/_types.h" 1 3 4
163# 27 "/usr/include/_types.h" 3 4
164# 1 "/usr/include/sys/_types.h" 1 3 4
165# 32 "/usr/include/sys/_types.h" 3 4
166# 1 "/usr/include/sys/cdefs.h" 1 3 4
167# 417 "/usr/include/sys/cdefs.h" 3 4
168# 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4
169# 418 "/usr/include/sys/cdefs.h" 2 3 4
170# 494 "/usr/include/sys/cdefs.h" 3 4
171# 1 "/usr/include/sys/_posix_availability.h" 1 3 4
172# 495 "/usr/include/sys/cdefs.h" 2 3 4
173# 33 "/usr/include/sys/_types.h" 2 3 4
174# 1 "/usr/include/machine/_types.h" 1 3 4
175# 32 "/usr/include/machine/_types.h" 3 4
176# 1 "/usr/include/i386/_types.h" 1 3 4
177# 37 "/usr/include/i386/_types.h" 3 4
178typedef signed char __int8_t;
179
180
181
182typedef unsigned char __uint8_t;
183typedef short __int16_t;
184typedef unsigned short __uint16_t;
185typedef int __int32_t;
186typedef unsigned int __uint32_t;
187typedef long long __int64_t;
188typedef unsigned long long __uint64_t;
189
190typedef long __darwin_intptr_t;
191typedef unsigned int __darwin_natural_t;
192# 70 "/usr/include/i386/_types.h" 3 4
193typedef int __darwin_ct_rune_t;
194
195
196
197
198
199typedef union {
200 char __mbstate8[128];
201 long long _mbstateL;
202} __mbstate_t;
203
204typedef __mbstate_t __darwin_mbstate_t;
205
206
207typedef long int __darwin_ptrdiff_t;
208
209
210
211
212
213typedef long unsigned int __darwin_size_t;
214
215
216
217
218
219typedef __builtin_va_list __darwin_va_list;
220
221
222
223
224
225typedef int __darwin_wchar_t;
226
227
228
229
230typedef __darwin_wchar_t __darwin_rune_t;
231
232
233typedef int __darwin_wint_t;
234
235
236
237
238typedef unsigned long __darwin_clock_t;
239typedef __uint32_t __darwin_socklen_t;
240typedef long __darwin_ssize_t;
241typedef long __darwin_time_t;
242# 33 "/usr/include/machine/_types.h" 2 3 4
243# 34 "/usr/include/sys/_types.h" 2 3 4
244# 58 "/usr/include/sys/_types.h" 3 4
245struct __darwin_pthread_handler_rec
246{
247 void (*__routine)(void *);
248 void *__arg;
249 struct __darwin_pthread_handler_rec *__next;
250};
251struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; };
252struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; };
253struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; };
254struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; };
255struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
256struct _opaque_pthread_once_t { long __sig; char __opaque[8]; };
257struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; };
258struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; };
259struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; };
260# 94 "/usr/include/sys/_types.h" 3 4
261typedef __int64_t __darwin_blkcnt_t;
262typedef __int32_t __darwin_blksize_t;
263typedef __int32_t __darwin_dev_t;
264typedef unsigned int __darwin_fsblkcnt_t;
265typedef unsigned int __darwin_fsfilcnt_t;
266typedef __uint32_t __darwin_gid_t;
267typedef __uint32_t __darwin_id_t;
268typedef __uint64_t __darwin_ino64_t;
269
270typedef __darwin_ino64_t __darwin_ino_t;
271
272
273
274typedef __darwin_natural_t __darwin_mach_port_name_t;
275typedef __darwin_mach_port_name_t __darwin_mach_port_t;
276typedef __uint16_t __darwin_mode_t;
277typedef __int64_t __darwin_off_t;
278typedef __int32_t __darwin_pid_t;
279typedef struct _opaque_pthread_attr_t
280   __darwin_pthread_attr_t;
281typedef struct _opaque_pthread_cond_t
282   __darwin_pthread_cond_t;
283typedef struct _opaque_pthread_condattr_t
284   __darwin_pthread_condattr_t;
285typedef unsigned long __darwin_pthread_key_t;
286typedef struct _opaque_pthread_mutex_t
287   __darwin_pthread_mutex_t;
288typedef struct _opaque_pthread_mutexattr_t
289   __darwin_pthread_mutexattr_t;
290typedef struct _opaque_pthread_once_t
291   __darwin_pthread_once_t;
292typedef struct _opaque_pthread_rwlock_t
293   __darwin_pthread_rwlock_t;
294typedef struct _opaque_pthread_rwlockattr_t
295   __darwin_pthread_rwlockattr_t;
296typedef struct _opaque_pthread_t
297   *__darwin_pthread_t;
298typedef __uint32_t __darwin_sigset_t;
299typedef __int32_t __darwin_suseconds_t;
300typedef __uint32_t __darwin_uid_t;
301typedef __uint32_t __darwin_useconds_t;
302typedef unsigned char __darwin_uuid_t[16];
303typedef char __darwin_uuid_string_t[37];
304# 28 "/usr/include/_types.h" 2 3 4
305# 39 "/usr/include/_types.h" 3 4
306typedef int __darwin_nl_item;
307typedef int __darwin_wctrans_t;
308
309typedef __uint32_t __darwin_wctype_t;
310# 64 "/usr/include/stdlib.h" 2 3 4
311
312# 1 "/usr/include/sys/wait.h" 1 3 4
313# 79 "/usr/include/sys/wait.h" 3 4
314typedef enum {
315 P_ALL,
316 P_PID,
317 P_PGID
318} idtype_t;
319
320
321
322
323
324
325typedef __darwin_pid_t pid_t;
326
327
328
329
330typedef __darwin_id_t id_t;
331# 116 "/usr/include/sys/wait.h" 3 4
332# 1 "/usr/include/sys/signal.h" 1 3 4
333# 73 "/usr/include/sys/signal.h" 3 4
334# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
335# 74 "/usr/include/sys/signal.h" 2 3 4
336
337
338
339
340
341
342
343# 1 "/usr/include/machine/signal.h" 1 3 4
344# 32 "/usr/include/machine/signal.h" 3 4
345# 1 "/usr/include/i386/signal.h" 1 3 4
346# 39 "/usr/include/i386/signal.h" 3 4
347typedef int sig_atomic_t;
348# 55 "/usr/include/i386/signal.h" 3 4
349# 1 "/usr/include/i386/_structs.h" 1 3 4
350# 56 "/usr/include/i386/signal.h" 2 3 4
351# 33 "/usr/include/machine/signal.h" 2 3 4
352# 82 "/usr/include/sys/signal.h" 2 3 4
353# 148 "/usr/include/sys/signal.h" 3 4
354# 1 "/usr/include/sys/_structs.h" 1 3 4
355# 57 "/usr/include/sys/_structs.h" 3 4
356# 1 "/usr/include/machine/_structs.h" 1 3 4
357# 29 "/usr/include/machine/_structs.h" 3 4
358# 1 "/usr/include/i386/_structs.h" 1 3 4
359# 38 "/usr/include/i386/_structs.h" 3 4
360# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
361# 43 "/usr/include/mach/i386/_structs.h" 3 4
362struct __darwin_i386_thread_state
363{
364    unsigned int __eax;
365    unsigned int __ebx;
366    unsigned int __ecx;
367    unsigned int __edx;
368    unsigned int __edi;
369    unsigned int __esi;
370    unsigned int __ebp;
371    unsigned int __esp;
372    unsigned int __ss;
373    unsigned int __eflags;
374    unsigned int __eip;
375    unsigned int __cs;
376    unsigned int __ds;
377    unsigned int __es;
378    unsigned int __fs;
379    unsigned int __gs;
380};
381# 89 "/usr/include/mach/i386/_structs.h" 3 4
382struct __darwin_fp_control
383{
384    unsigned short __invalid :1,
385        __denorm :1,
386    __zdiv :1,
387    __ovrfl :1,
388    __undfl :1,
389    __precis :1,
390      :2,
391    __pc :2,
392
393
394
395
396
397    __rc :2,
398
399
400
401
402
403
404             :1,
405      :3;
406};
407typedef struct __darwin_fp_control __darwin_fp_control_t;
408# 147 "/usr/include/mach/i386/_structs.h" 3 4
409struct __darwin_fp_status
410{
411    unsigned short __invalid :1,
412        __denorm :1,
413    __zdiv :1,
414    __ovrfl :1,
415    __undfl :1,
416    __precis :1,
417    __stkflt :1,
418    __errsumm :1,
419    __c0 :1,
420    __c1 :1,
421    __c2 :1,
422    __tos :3,
423    __c3 :1,
424    __busy :1;
425};
426typedef struct __darwin_fp_status __darwin_fp_status_t;
427# 191 "/usr/include/mach/i386/_structs.h" 3 4
428struct __darwin_mmst_reg
429{
430 char __mmst_reg[10];
431 char __mmst_rsrv[6];
432};
433# 210 "/usr/include/mach/i386/_structs.h" 3 4
434struct __darwin_xmm_reg
435{
436 char __xmm_reg[16];
437};
438# 232 "/usr/include/mach/i386/_structs.h" 3 4
439struct __darwin_i386_float_state
440{
441 int __fpu_reserved[2];
442 struct __darwin_fp_control __fpu_fcw;
443 struct __darwin_fp_status __fpu_fsw;
444 __uint8_t __fpu_ftw;
445 __uint8_t __fpu_rsrv1;
446 __uint16_t __fpu_fop;
447 __uint32_t __fpu_ip;
448 __uint16_t __fpu_cs;
449 __uint16_t __fpu_rsrv2;
450 __uint32_t __fpu_dp;
451 __uint16_t __fpu_ds;
452 __uint16_t __fpu_rsrv3;
453 __uint32_t __fpu_mxcsr;
454 __uint32_t __fpu_mxcsrmask;
455 struct __darwin_mmst_reg __fpu_stmm0;
456 struct __darwin_mmst_reg __fpu_stmm1;
457 struct __darwin_mmst_reg __fpu_stmm2;
458 struct __darwin_mmst_reg __fpu_stmm3;
459 struct __darwin_mmst_reg __fpu_stmm4;
460 struct __darwin_mmst_reg __fpu_stmm5;
461 struct __darwin_mmst_reg __fpu_stmm6;
462 struct __darwin_mmst_reg __fpu_stmm7;
463 struct __darwin_xmm_reg __fpu_xmm0;
464 struct __darwin_xmm_reg __fpu_xmm1;
465 struct __darwin_xmm_reg __fpu_xmm2;
466 struct __darwin_xmm_reg __fpu_xmm3;
467 struct __darwin_xmm_reg __fpu_xmm4;
468 struct __darwin_xmm_reg __fpu_xmm5;
469 struct __darwin_xmm_reg __fpu_xmm6;
470 struct __darwin_xmm_reg __fpu_xmm7;
471 char __fpu_rsrv4[14*16];
472 int __fpu_reserved1;
473};
474
475
476struct __darwin_i386_avx_state
477{
478 int __fpu_reserved[2];
479 struct __darwin_fp_control __fpu_fcw;
480 struct __darwin_fp_status __fpu_fsw;
481 __uint8_t __fpu_ftw;
482 __uint8_t __fpu_rsrv1;
483 __uint16_t __fpu_fop;
484 __uint32_t __fpu_ip;
485 __uint16_t __fpu_cs;
486 __uint16_t __fpu_rsrv2;
487 __uint32_t __fpu_dp;
488 __uint16_t __fpu_ds;
489 __uint16_t __fpu_rsrv3;
490 __uint32_t __fpu_mxcsr;
491 __uint32_t __fpu_mxcsrmask;
492 struct __darwin_mmst_reg __fpu_stmm0;
493 struct __darwin_mmst_reg __fpu_stmm1;
494 struct __darwin_mmst_reg __fpu_stmm2;
495 struct __darwin_mmst_reg __fpu_stmm3;
496 struct __darwin_mmst_reg __fpu_stmm4;
497 struct __darwin_mmst_reg __fpu_stmm5;
498 struct __darwin_mmst_reg __fpu_stmm6;
499 struct __darwin_mmst_reg __fpu_stmm7;
500 struct __darwin_xmm_reg __fpu_xmm0;
501 struct __darwin_xmm_reg __fpu_xmm1;
502 struct __darwin_xmm_reg __fpu_xmm2;
503 struct __darwin_xmm_reg __fpu_xmm3;
504 struct __darwin_xmm_reg __fpu_xmm4;
505 struct __darwin_xmm_reg __fpu_xmm5;
506 struct __darwin_xmm_reg __fpu_xmm6;
507 struct __darwin_xmm_reg __fpu_xmm7;
508 char __fpu_rsrv4[14*16];
509 int __fpu_reserved1;
510 char __avx_reserved1[64];
511 struct __darwin_xmm_reg __fpu_ymmh0;
512 struct __darwin_xmm_reg __fpu_ymmh1;
513 struct __darwin_xmm_reg __fpu_ymmh2;
514 struct __darwin_xmm_reg __fpu_ymmh3;
515 struct __darwin_xmm_reg __fpu_ymmh4;
516 struct __darwin_xmm_reg __fpu_ymmh5;
517 struct __darwin_xmm_reg __fpu_ymmh6;
518 struct __darwin_xmm_reg __fpu_ymmh7;
519};
520# 402 "/usr/include/mach/i386/_structs.h" 3 4
521struct __darwin_i386_exception_state
522{
523 __uint16_t __trapno;
524 __uint16_t __cpu;
525 __uint32_t __err;
526 __uint32_t __faultvaddr;
527};
528# 422 "/usr/include/mach/i386/_structs.h" 3 4
529struct __darwin_x86_debug_state32
530{
531 unsigned int __dr0;
532 unsigned int __dr1;
533 unsigned int __dr2;
534 unsigned int __dr3;
535 unsigned int __dr4;
536 unsigned int __dr5;
537 unsigned int __dr6;
538 unsigned int __dr7;
539};
540# 454 "/usr/include/mach/i386/_structs.h" 3 4
541struct __darwin_x86_thread_state64
542{
543 __uint64_t __rax;
544 __uint64_t __rbx;
545 __uint64_t __rcx;
546 __uint64_t __rdx;
547 __uint64_t __rdi;
548 __uint64_t __rsi;
549 __uint64_t __rbp;
550 __uint64_t __rsp;
551 __uint64_t __r8;
552 __uint64_t __r9;
553 __uint64_t __r10;
554 __uint64_t __r11;
555 __uint64_t __r12;
556 __uint64_t __r13;
557 __uint64_t __r14;
558 __uint64_t __r15;
559 __uint64_t __rip;
560 __uint64_t __rflags;
561 __uint64_t __cs;
562 __uint64_t __fs;
563 __uint64_t __gs;
564};
565# 509 "/usr/include/mach/i386/_structs.h" 3 4
566struct __darwin_x86_float_state64
567{
568 int __fpu_reserved[2];
569 struct __darwin_fp_control __fpu_fcw;
570 struct __darwin_fp_status __fpu_fsw;
571 __uint8_t __fpu_ftw;
572 __uint8_t __fpu_rsrv1;
573 __uint16_t __fpu_fop;
574
575
576 __uint32_t __fpu_ip;
577 __uint16_t __fpu_cs;
578
579 __uint16_t __fpu_rsrv2;
580
581
582 __uint32_t __fpu_dp;
583 __uint16_t __fpu_ds;
584
585 __uint16_t __fpu_rsrv3;
586 __uint32_t __fpu_mxcsr;
587 __uint32_t __fpu_mxcsrmask;
588 struct __darwin_mmst_reg __fpu_stmm0;
589 struct __darwin_mmst_reg __fpu_stmm1;
590 struct __darwin_mmst_reg __fpu_stmm2;
591 struct __darwin_mmst_reg __fpu_stmm3;
592 struct __darwin_mmst_reg __fpu_stmm4;
593 struct __darwin_mmst_reg __fpu_stmm5;
594 struct __darwin_mmst_reg __fpu_stmm6;
595 struct __darwin_mmst_reg __fpu_stmm7;
596 struct __darwin_xmm_reg __fpu_xmm0;
597 struct __darwin_xmm_reg __fpu_xmm1;
598 struct __darwin_xmm_reg __fpu_xmm2;
599 struct __darwin_xmm_reg __fpu_xmm3;
600 struct __darwin_xmm_reg __fpu_xmm4;
601 struct __darwin_xmm_reg __fpu_xmm5;
602 struct __darwin_xmm_reg __fpu_xmm6;
603 struct __darwin_xmm_reg __fpu_xmm7;
604 struct __darwin_xmm_reg __fpu_xmm8;
605 struct __darwin_xmm_reg __fpu_xmm9;
606 struct __darwin_xmm_reg __fpu_xmm10;
607 struct __darwin_xmm_reg __fpu_xmm11;
608 struct __darwin_xmm_reg __fpu_xmm12;
609 struct __darwin_xmm_reg __fpu_xmm13;
610 struct __darwin_xmm_reg __fpu_xmm14;
611 struct __darwin_xmm_reg __fpu_xmm15;
612 char __fpu_rsrv4[6*16];
613 int __fpu_reserved1;
614};
615
616
617struct __darwin_x86_avx_state64
618{
619 int __fpu_reserved[2];
620 struct __darwin_fp_control __fpu_fcw;
621 struct __darwin_fp_status __fpu_fsw;
622 __uint8_t __fpu_ftw;
623 __uint8_t __fpu_rsrv1;
624 __uint16_t __fpu_fop;
625
626
627 __uint32_t __fpu_ip;
628 __uint16_t __fpu_cs;
629
630 __uint16_t __fpu_rsrv2;
631
632
633 __uint32_t __fpu_dp;
634 __uint16_t __fpu_ds;
635
636 __uint16_t __fpu_rsrv3;
637 __uint32_t __fpu_mxcsr;
638 __uint32_t __fpu_mxcsrmask;
639 struct __darwin_mmst_reg __fpu_stmm0;
640 struct __darwin_mmst_reg __fpu_stmm1;
641 struct __darwin_mmst_reg __fpu_stmm2;
642 struct __darwin_mmst_reg __fpu_stmm3;
643 struct __darwin_mmst_reg __fpu_stmm4;
644 struct __darwin_mmst_reg __fpu_stmm5;
645 struct __darwin_mmst_reg __fpu_stmm6;
646 struct __darwin_mmst_reg __fpu_stmm7;
647 struct __darwin_xmm_reg __fpu_xmm0;
648 struct __darwin_xmm_reg __fpu_xmm1;
649 struct __darwin_xmm_reg __fpu_xmm2;
650 struct __darwin_xmm_reg __fpu_xmm3;
651 struct __darwin_xmm_reg __fpu_xmm4;
652 struct __darwin_xmm_reg __fpu_xmm5;
653 struct __darwin_xmm_reg __fpu_xmm6;
654 struct __darwin_xmm_reg __fpu_xmm7;
655 struct __darwin_xmm_reg __fpu_xmm8;
656 struct __darwin_xmm_reg __fpu_xmm9;
657 struct __darwin_xmm_reg __fpu_xmm10;
658 struct __darwin_xmm_reg __fpu_xmm11;
659 struct __darwin_xmm_reg __fpu_xmm12;
660 struct __darwin_xmm_reg __fpu_xmm13;
661 struct __darwin_xmm_reg __fpu_xmm14;
662 struct __darwin_xmm_reg __fpu_xmm15;
663 char __fpu_rsrv4[6*16];
664 int __fpu_reserved1;
665 char __avx_reserved1[64];
666 struct __darwin_xmm_reg __fpu_ymmh0;
667 struct __darwin_xmm_reg __fpu_ymmh1;
668 struct __darwin_xmm_reg __fpu_ymmh2;
669 struct __darwin_xmm_reg __fpu_ymmh3;
670 struct __darwin_xmm_reg __fpu_ymmh4;
671 struct __darwin_xmm_reg __fpu_ymmh5;
672 struct __darwin_xmm_reg __fpu_ymmh6;
673 struct __darwin_xmm_reg __fpu_ymmh7;
674 struct __darwin_xmm_reg __fpu_ymmh8;
675 struct __darwin_xmm_reg __fpu_ymmh9;
676 struct __darwin_xmm_reg __fpu_ymmh10;
677 struct __darwin_xmm_reg __fpu_ymmh11;
678 struct __darwin_xmm_reg __fpu_ymmh12;
679 struct __darwin_xmm_reg __fpu_ymmh13;
680 struct __darwin_xmm_reg __fpu_ymmh14;
681 struct __darwin_xmm_reg __fpu_ymmh15;
682};
683# 751 "/usr/include/mach/i386/_structs.h" 3 4
684struct __darwin_x86_exception_state64
685{
686    __uint16_t __trapno;
687    __uint16_t __cpu;
688    __uint32_t __err;
689    __uint64_t __faultvaddr;
690};
691# 771 "/usr/include/mach/i386/_structs.h" 3 4
692struct __darwin_x86_debug_state64
693{
694 __uint64_t __dr0;
695 __uint64_t __dr1;
696 __uint64_t __dr2;
697 __uint64_t __dr3;
698 __uint64_t __dr4;
699 __uint64_t __dr5;
700 __uint64_t __dr6;
701 __uint64_t __dr7;
702};
703# 39 "/usr/include/i386/_structs.h" 2 3 4
704# 48 "/usr/include/i386/_structs.h" 3 4
705struct __darwin_mcontext32
706{
707 struct __darwin_i386_exception_state __es;
708 struct __darwin_i386_thread_state __ss;
709 struct __darwin_i386_float_state __fs;
710};
711
712
713struct __darwin_mcontext_avx32
714{
715 struct __darwin_i386_exception_state __es;
716 struct __darwin_i386_thread_state __ss;
717 struct __darwin_i386_avx_state __fs;
718};
719# 86 "/usr/include/i386/_structs.h" 3 4
720struct __darwin_mcontext64
721{
722 struct __darwin_x86_exception_state64 __es;
723 struct __darwin_x86_thread_state64 __ss;
724 struct __darwin_x86_float_state64 __fs;
725};
726
727
728struct __darwin_mcontext_avx64
729{
730 struct __darwin_x86_exception_state64 __es;
731 struct __darwin_x86_thread_state64 __ss;
732 struct __darwin_x86_avx_state64 __fs;
733};
734# 127 "/usr/include/i386/_structs.h" 3 4
735typedef struct __darwin_mcontext64 *mcontext_t;
736# 30 "/usr/include/machine/_structs.h" 2 3 4
737# 58 "/usr/include/sys/_structs.h" 2 3 4
738# 75 "/usr/include/sys/_structs.h" 3 4
739struct __darwin_sigaltstack
740{
741 void *ss_sp;
742 __darwin_size_t ss_size;
743 int ss_flags;
744};
745# 128 "/usr/include/sys/_structs.h" 3 4
746struct __darwin_ucontext
747{
748 int uc_onstack;
749 __darwin_sigset_t uc_sigmask;
750 struct __darwin_sigaltstack uc_stack;
751 struct __darwin_ucontext *uc_link;
752 __darwin_size_t uc_mcsize;
753 struct __darwin_mcontext64 *uc_mcontext;
754
755
756
757};
758# 218 "/usr/include/sys/_structs.h" 3 4
759typedef struct __darwin_sigaltstack stack_t;
760# 227 "/usr/include/sys/_structs.h" 3 4
761typedef struct __darwin_ucontext ucontext_t;
762# 149 "/usr/include/sys/signal.h" 2 3 4
763
764
765
766
767
768
769
770
771typedef __darwin_pthread_attr_t pthread_attr_t;
772
773
774
775
776typedef __darwin_sigset_t sigset_t;
777
778
779
780
781typedef __darwin_size_t size_t;
782
783
784
785
786typedef __darwin_uid_t uid_t;
787
788
789union sigval {
790
791 int sival_int;
792 void *sival_ptr;
793};
794
795
796
797
798
799struct sigevent {
800 int sigev_notify;
801 int sigev_signo;
802 union sigval sigev_value;
803 void (*sigev_notify_function)(union sigval);
804 pthread_attr_t *sigev_notify_attributes;
805};
806
807
808typedef struct __siginfo {
809 int si_signo;
810 int si_errno;
811 int si_code;
812 pid_t si_pid;
813 uid_t si_uid;
814 int si_status;
815 void *si_addr;
816 union sigval si_value;
817 long si_band;
818 unsigned long __pad[7];
819} siginfo_t;
820# 286 "/usr/include/sys/signal.h" 3 4
821union __sigaction_u {
822 void (*__sa_handler)(int);
823 void (*__sa_sigaction)(int, struct __siginfo *,
824         void *);
825};
826
827
828struct __sigaction {
829 union __sigaction_u __sigaction_u;
830 void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
831 sigset_t sa_mask;
832 int sa_flags;
833};
834
835
836
837
838struct sigaction {
839 union __sigaction_u __sigaction_u;
840 sigset_t sa_mask;
841 int sa_flags;
842};
843# 348 "/usr/include/sys/signal.h" 3 4
844typedef void (*sig_t)(int);
845# 365 "/usr/include/sys/signal.h" 3 4
846struct sigvec {
847 void (*sv_handler)(int);
848 int sv_mask;
849 int sv_flags;
850};
851# 384 "/usr/include/sys/signal.h" 3 4
852struct sigstack {
853 char *ss_sp;
854 int ss_onstack;
855};
856# 407 "/usr/include/sys/signal.h" 3 4
857void (*signal(int, void (*)(int)))(int);
858# 117 "/usr/include/sys/wait.h" 2 3 4
859# 1 "/usr/include/sys/resource.h" 1 3 4
860# 77 "/usr/include/sys/resource.h" 3 4
861# 1 "/usr/include/sys/_structs.h" 1 3 4
862# 100 "/usr/include/sys/_structs.h" 3 4
863struct timeval
864{
865 __darwin_time_t tv_sec;
866 __darwin_suseconds_t tv_usec;
867};
868# 78 "/usr/include/sys/resource.h" 2 3 4
869# 89 "/usr/include/sys/resource.h" 3 4
870typedef __uint64_t rlim_t;
871# 151 "/usr/include/sys/resource.h" 3 4
872struct rusage {
873 struct timeval ru_utime;
874 struct timeval ru_stime;
875# 162 "/usr/include/sys/resource.h" 3 4
876 long ru_maxrss;
877
878 long ru_ixrss;
879 long ru_idrss;
880 long ru_isrss;
881 long ru_minflt;
882 long ru_majflt;
883 long ru_nswap;
884 long ru_inblock;
885 long ru_oublock;
886 long ru_msgsnd;
887 long ru_msgrcv;
888 long ru_nsignals;
889 long ru_nvcsw;
890 long ru_nivcsw;
891
892
893};
894# 222 "/usr/include/sys/resource.h" 3 4
895struct rlimit {
896 rlim_t rlim_cur;
897 rlim_t rlim_max;
898};
899# 245 "/usr/include/sys/resource.h" 3 4
900int getpriority(int, id_t);
901
902int getiopolicy_np(int, int) __attribute__((visibility("default")));
903
904int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" );
905int getrusage(int, struct rusage *);
906int setpriority(int, id_t, int);
907
908int setiopolicy_np(int, int, int) __attribute__((visibility("default")));
909
910int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" );
911# 118 "/usr/include/sys/wait.h" 2 3 4
912# 193 "/usr/include/sys/wait.h" 3 4
913# 1 "/usr/include/machine/endian.h" 1 3 4
914# 35 "/usr/include/machine/endian.h" 3 4
915# 1 "/usr/include/i386/endian.h" 1 3 4
916# 99 "/usr/include/i386/endian.h" 3 4
917# 1 "/usr/include/sys/_endian.h" 1 3 4
918# 124 "/usr/include/sys/_endian.h" 3 4
919# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
920# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
921# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
922# 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
923static __inline__
924__uint16_t
925_OSSwapInt16(
926    __uint16_t _data
927)
928{
929    return ((_data << 8) | (_data >> 8));
930}
931
932static __inline__
933__uint32_t
934_OSSwapInt32(
935    __uint32_t _data
936)
937{
938
939    return __builtin_bswap32(_data);
940
941
942
943
944}
945
946
947static __inline__
948__uint64_t
949_OSSwapInt64(
950    __uint64_t _data
951)
952{
953    return __builtin_bswap64(_data);
954}
955# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
956# 125 "/usr/include/sys/_endian.h" 2 3 4
957# 100 "/usr/include/i386/endian.h" 2 3 4
958# 36 "/usr/include/machine/endian.h" 2 3 4
959# 194 "/usr/include/sys/wait.h" 2 3 4
960
961
962
963
964
965
966
967union wait {
968 int w_status;
969
970
971
972 struct {
973
974  unsigned int w_Termsig:7,
975    w_Coredump:1,
976    w_Retcode:8,
977    w_Filler:16;
978
979
980
981
982
983
984
985 } w_T;
986
987
988
989
990
991 struct {
992
993  unsigned int w_Stopval:8,
994    w_Stopsig:8,
995    w_Filler:16;
996
997
998
999
1000
1001
1002 } w_S;
1003};
1004# 255 "/usr/include/sys/wait.h" 3 4
1005pid_t wait(int *) __asm("_" "wait" );
1006pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" );
1007
1008int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" );
1009
1010
1011pid_t wait3(int *, int, struct rusage *);
1012pid_t wait4(pid_t, int *, int, struct rusage *);
1013# 66 "/usr/include/stdlib.h" 2 3 4
1014
1015# 1 "/usr/include/alloca.h" 1 3 4
1016# 36 "/usr/include/alloca.h" 3 4
1017void *alloca(size_t);
1018# 68 "/usr/include/stdlib.h" 2 3 4
1019# 81 "/usr/include/stdlib.h" 3 4
1020typedef __darwin_ct_rune_t ct_rune_t;
1021
1022
1023
1024
1025typedef __darwin_rune_t rune_t;
1026
1027
1028
1029
1030
1031
1032typedef __darwin_wchar_t wchar_t;
1033
1034
1035
1036typedef struct {
1037 int quot;
1038 int rem;
1039} div_t;
1040
1041typedef struct {
1042 long quot;
1043 long rem;
1044} ldiv_t;
1045
1046
1047typedef struct {
1048 long long quot;
1049 long long rem;
1050} lldiv_t;
1051# 134 "/usr/include/stdlib.h" 3 4
1052extern int __mb_cur_max;
1053# 145 "/usr/include/stdlib.h" 3 4
1054void abort(void) __attribute__((__noreturn__));
1055int abs(int) __attribute__((__const__));
1056int atexit(void (*)(void));
1057double atof(const char *);
1058int atoi(const char *);
1059long atol(const char *);
1060
1061long long
1062  atoll(const char *);
1063
1064void *bsearch(const void *, const void *, size_t,
1065     size_t, int (*)(const void *, const void *));
1066void *calloc(size_t, size_t);
1067div_t div(int, int) __attribute__((__const__));
1068void exit(int) __attribute__((__noreturn__));
1069void free(void *);
1070char *getenv(const char *);
1071long labs(long) __attribute__((__const__));
1072ldiv_t ldiv(long, long) __attribute__((__const__));
1073
1074long long
1075  llabs(long long);
1076lldiv_t lldiv(long long, long long);
1077
1078void *malloc(size_t);
1079int mblen(const char *, size_t);
1080size_t mbstowcs(wchar_t * , const char * , size_t);
1081int mbtowc(wchar_t * , const char * , size_t);
1082int posix_memalign(void **, size_t, size_t) __attribute__((visibility("default")));
1083void qsort(void *, size_t, size_t,
1084     int (*)(const void *, const void *));
1085int rand(void);
1086void *realloc(void *, size_t);
1087void srand(unsigned);
1088double strtod(const char *, char **) __asm("_" "strtod" );
1089float strtof(const char *, char **) __asm("_" "strtof" );
1090long strtol(const char *, char **, int);
1091long double
1092  strtold(const char *, char **) ;
1093
1094long long
1095  strtoll(const char *, char **, int);
1096
1097unsigned long
1098  strtoul(const char *, char **, int);
1099
1100unsigned long long
1101  strtoull(const char *, char **, int);
1102
1103int system(const char *) __asm("_" "system" );
1104size_t wcstombs(char * , const wchar_t * , size_t);
1105int wctomb(char *, wchar_t);
1106
1107
1108void _Exit(int) __attribute__((__noreturn__));
1109long a64l(const char *);
1110double drand48(void);
1111char *ecvt(double, int, int *, int *);
1112double erand48(unsigned short[3]);
1113char *fcvt(double, int, int *, int *);
1114char *gcvt(double, int, char *);
1115int getsubopt(char **, char * const *, char **);
1116int grantpt(int);
1117
1118char *initstate(unsigned, char *, size_t);
1119
1120
1121
1122long jrand48(unsigned short[3]);
1123char *l64a(long);
1124void lcong48(unsigned short[7]);
1125long lrand48(void);
1126char *mktemp(char *);
1127int mkstemp(char *);
1128long mrand48(void);
1129long nrand48(unsigned short[3]);
1130int posix_openpt(int);
1131char *ptsname(int);
1132int putenv(char *) __asm("_" "putenv" );
1133long random(void);
1134int rand_r(unsigned *);
1135
1136char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN");
1137
1138
1139
1140unsigned short
1141 *seed48(unsigned short[3]);
1142int setenv(const char *, const char *, int) __asm("_" "setenv" );
1143
1144void setkey(const char *) __asm("_" "setkey" );
1145
1146
1147
1148char *setstate(const char *);
1149void srand48(long);
1150
1151void srandom(unsigned);
1152
1153
1154
1155int unlockpt(int);
1156
1157int unsetenv(const char *) __asm("_" "unsetenv" );
1158
1159
1160
1161
1162
1163
1164
1165# 1 "/usr/include/machine/types.h" 1 3 4
1166# 35 "/usr/include/machine/types.h" 3 4
1167# 1 "/usr/include/i386/types.h" 1 3 4
1168# 80 "/usr/include/i386/types.h" 3 4
1169typedef unsigned char u_int8_t;
1170
1171
1172
1173
1174typedef unsigned short u_int16_t;
1175
1176
1177
1178
1179typedef unsigned int u_int32_t;
1180
1181
1182
1183
1184typedef unsigned long long u_int64_t;
1185
1186
1187typedef int64_t register_t;
1188# 114 "/usr/include/i386/types.h" 3 4
1189typedef u_int64_t user_addr_t;
1190typedef u_int64_t user_size_t;
1191typedef int64_t user_ssize_t;
1192typedef int64_t user_long_t;
1193typedef u_int64_t user_ulong_t;
1194typedef int64_t user_time_t;
1195typedef int64_t user_off_t;
1196
1197
1198
1199
1200
1201
1202
1203typedef u_int64_t syscall_arg_t;
1204# 36 "/usr/include/machine/types.h" 2 3 4
1205# 256 "/usr/include/stdlib.h" 2 3 4
1206
1207
1208typedef __darwin_dev_t dev_t;
1209
1210
1211
1212
1213typedef __darwin_mode_t mode_t;
1214
1215
1216
1217u_int32_t
1218  arc4random(void);
1219void arc4random_addrandom(unsigned char * , int );
1220void arc4random_buf(void * , size_t ) __attribute__((visibility("default")));
1221void arc4random_stir(void);
1222u_int32_t
1223  arc4random_uniform(u_int32_t ) __attribute__((visibility("default")));
1224
1225int atexit_b(void (^)(void)) __attribute__((visibility("default")));
1226void *bsearch_b(const void *, const void *, size_t,
1227     size_t, int (^)(const void *, const void *)) __attribute__((visibility("default")));
1228
1229
1230
1231char *cgetcap(char *, const char *, int);
1232int cgetclose(void);
1233int cgetent(char **, char **, const char *);
1234int cgetfirst(char **, char **);
1235int cgetmatch(const char *, const char *);
1236int cgetnext(char **, char **);
1237int cgetnum(char *, const char *, long *);
1238int cgetset(const char *);
1239int cgetstr(char *, const char *, char **);
1240int cgetustr(char *, const char *, char **);
1241
1242int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated,visibility("default")));
1243char *devname(dev_t, mode_t);
1244char *devname_r(dev_t, mode_t, char *buf, int len);
1245char *getbsize(int *, long *);
1246int getloadavg(double [], int);
1247const char
1248 *getprogname(void);
1249
1250int heapsort(void *, size_t, size_t,
1251     int (*)(const void *, const void *));
1252
1253int heapsort_b(void *, size_t, size_t,
1254     int (^)(const void *, const void *)) __attribute__((visibility("default")));
1255
1256int mergesort(void *, size_t, size_t,
1257     int (*)(const void *, const void *));
1258
1259int mergesort_b(void *, size_t, size_t,
1260     int (^)(const void *, const void *)) __attribute__((visibility("default")));
1261
1262void psort(void *, size_t, size_t,
1263     int (*)(const void *, const void *)) __attribute__((visibility("default")));
1264
1265void psort_b(void *, size_t, size_t,
1266     int (^)(const void *, const void *)) __attribute__((visibility("default")));
1267
1268void psort_r(void *, size_t, size_t, void *,
1269     int (*)(void *, const void *, const void *)) __attribute__((visibility("default")));
1270
1271void qsort_b(void *, size_t, size_t,
1272     int (^)(const void *, const void *)) __attribute__((visibility("default")));
1273
1274void qsort_r(void *, size_t, size_t, void *,
1275     int (*)(void *, const void *, const void *));
1276int radixsort(const unsigned char **, int, const unsigned char *,
1277     unsigned);
1278void setprogname(const char *);
1279int sradixsort(const unsigned char **, int, const unsigned char *,
1280     unsigned);
1281void sranddev(void);
1282void srandomdev(void);
1283void *reallocf(void *, size_t);
1284
1285long long
1286  strtoq(const char *, char **, int);
1287unsigned long long
1288  strtouq(const char *, char **, int);
1289
1290extern char *suboptarg;
1291void *valloc(size_t);
1292# 39 "cpu.c" 2
1293# 1 "/usr/include/memory.h" 1 3 4
1294# 36 "/usr/include/memory.h" 3 4
1295# 1 "/usr/include/string.h" 1 3 4
1296# 80 "/usr/include/string.h" 3 4
1297void *memchr(const void *, int, size_t);
1298int memcmp(const void *, const void *, size_t);
1299void *memcpy(void *, const void *, size_t);
1300void *memmove(void *, const void *, size_t);
1301void *memset(void *, int, size_t);
1302char *strcat(char *, const char *);
1303char *strchr(const char *, int);
1304int strcmp(const char *, const char *);
1305int strcoll(const char *, const char *);
1306char *strcpy(char *, const char *);
1307size_t strcspn(const char *, const char *);
1308char *strerror(int) __asm("_" "strerror" );
1309size_t strlen(const char *);
1310char *strncat(char *, const char *, size_t);
1311int strncmp(const char *, const char *, size_t);
1312char *strncpy(char *, const char *, size_t);
1313char *strpbrk(const char *, const char *);
1314char *strrchr(const char *, int);
1315size_t strspn(const char *, const char *);
1316char *strstr(const char *, const char *);
1317char *strtok(char *, const char *);
1318size_t strxfrm(char *, const char *, size_t);
1319# 114 "/usr/include/string.h" 3 4
1320char *strtok_r(char *, const char *, char **);
1321# 126 "/usr/include/string.h" 3 4
1322int strerror_r(int, char *, size_t);
1323char *strdup(const char *);
1324void *memccpy(void *, const void *, int, size_t);
1325# 140 "/usr/include/string.h" 3 4
1326char *stpcpy(char *, const char *);
1327char *stpncpy(char *, const char *, size_t) __attribute__((visibility("default")));
1328char *strndup(const char *, size_t) __attribute__((visibility("default")));
1329size_t strnlen(const char *, size_t) __attribute__((visibility("default")));
1330char *strsignal(int sig);
1331# 155 "/usr/include/string.h" 3 4
1332typedef __darwin_ssize_t ssize_t;
1333
1334
1335
1336void *memmem(const void *, size_t, const void *, size_t) __attribute__((visibility("default")));
1337void memset_pattern4(void *, const void *, size_t) __attribute__((visibility("default")));
1338void memset_pattern8(void *, const void *, size_t) __attribute__((visibility("default")));
1339void memset_pattern16(void *, const void *, size_t) __attribute__((visibility("default")));
1340
1341char *strcasestr(const char *, const char *);
1342char *strnstr(const char *, const char *, size_t);
1343size_t strlcat(char *, const char *, size_t);
1344size_t strlcpy(char *, const char *, size_t);
1345void strmode(int, char *);
1346char *strsep(char **, const char *);
1347
1348
1349void swab(const void * , void * , ssize_t);
1350
1351
1352
1353
1354
1355
1356
1357
1358# 1 "/usr/include/strings.h" 1 3 4
1359# 74 "/usr/include/strings.h" 3 4
1360int bcmp(const void *, const void *, size_t) ;
1361void bcopy(const void *, void *, size_t) ;
1362void bzero(void *, size_t) ;
1363char *index(const char *, int) ;
1364char *rindex(const char *, int) ;
1365
1366
1367int ffs(int);
1368int strcasecmp(const char *, const char *);
1369int strncasecmp(const char *, const char *, size_t);
1370
1371
1372
1373
1374
1375int ffsl(long) __attribute__((visibility("default")));
1376int fls(int) __attribute__((visibility("default")));
1377int flsl(long) __attribute__((visibility("default")));
1378
1379
1380
1381# 1 "/usr/include/string.h" 1 3 4
1382# 95 "/usr/include/strings.h" 2 3 4
1383# 181 "/usr/include/string.h" 2 3 4
1384# 190 "/usr/include/string.h" 3 4
1385# 1 "/usr/include/secure/_string.h" 1 3 4
1386# 32 "/usr/include/secure/_string.h" 3 4
1387# 1 "/usr/include/secure/_common.h" 1 3 4
1388# 33 "/usr/include/secure/_string.h" 2 3 4
1389# 58 "/usr/include/secure/_string.h" 3 4
1390static __inline void *
1391__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
1392{
1393  return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
1394}
1395
1396
1397
1398
1399
1400
1401static __inline void *
1402__inline_memmove_chk (void *__dest, const void *__src, size_t __len)
1403{
1404  return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
1405}
1406
1407
1408
1409
1410
1411
1412static __inline void *
1413__inline_memset_chk (void *__dest, int __val, size_t __len)
1414{
1415  return __builtin___memset_chk (__dest, __val, __len, __builtin_object_size (__dest, 0));
1416}
1417
1418
1419
1420
1421
1422
1423static __inline char *
1424__inline_strcpy_chk (char * __dest, const char * __src)
1425{
1426  return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
1427}
1428
1429
1430
1431
1432
1433
1434
1435static __inline char *
1436__inline_stpcpy_chk (char *__dest, const char *__src)
1437{
1438  return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
1439}
1440
1441
1442
1443
1444
1445
1446static __inline char *
1447__inline_stpncpy_chk (char * __dest, const char * __src,
1448        size_t __len)
1449{
1450  return __builtin___stpncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
1451}
1452
1453
1454
1455
1456
1457
1458
1459static __inline char *
1460__inline_strncpy_chk (char * __dest, const char * __src,
1461        size_t __len)
1462{
1463  return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
1464}
1465
1466
1467
1468
1469
1470
1471static __inline char *
1472__inline_strcat_chk (char * __dest, const char * __src)
1473{
1474  return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
1475}
1476
1477
1478
1479
1480
1481
1482
1483static __inline char *
1484__inline_strncat_chk (char * __dest, const char * __src,
1485        size_t __len)
1486{
1487  return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
1488}
1489# 191 "/usr/include/string.h" 2 3 4
1490# 37 "/usr/include/memory.h" 2 3 4
1491# 40 "cpu.c" 2
1492# 66 "cpu.c"
1493static void disable_avx(FLAC__CPUInfo *info)
1494{
1495 info->x86.avx = 0;
1496 info->x86.avx2 = 0;
1497 info->x86.fma = 0;
1498}
1499# 99 "cpu.c"
1500static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
1501static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;
1502static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000;
1503static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000;
1504# 143 "cpu.c"
1505void FLAC__cpu_info(FLAC__CPUInfo *info)
1506{
1507# 341 "cpu.c"
1508 FLAC__bool x86_osxsave = 0;
1509 (void) x86_osxsave;
1510 ((__builtin_object_size (info, 0) != (size_t) -1) ? __builtin___memset_chk (info, 0, sizeof(*info), __builtin_object_size (info, 0)) : __inline_memset_chk (info, 0, sizeof(*info)));
1511 info->type = FLAC__CPUINFO_TYPE_X86_64;
1512# 390 "cpu.c"
1513 info->use_asm = 0;
1514# 400 "cpu.c"
1515}
1516
1517
1518
1519
1520
1521
1522
1523# 1 "/usr/bin/../lib/clang/4.2/include/cpuid.h" 1 3 4
1524# 28 "/usr/bin/../lib/clang/4.2/include/cpuid.h" 3 4
1525static inline int __get_cpuid (unsigned int level, unsigned int *eax,
1526                               unsigned int *ebx, unsigned int *ecx,
1527                               unsigned int *edx) {
1528    asm("cpuid" : "=a"(*eax), "=b" (*ebx), "=c"(*ecx), "=d"(*edx) : "0"(level));
1529    return 1;
1530}
1531# 408 "cpu.c" 2
1532
1533
1534FLAC__uint32 FLAC__cpu_have_cpuid_x86(void)
1535{
1536
1537 return 1;
1538# 443 "cpu.c"
1539}
1540
1541void FLAC__cpu_info_x86(FLAC__uint32 level, FLAC__uint32 *eax, FLAC__uint32 *ebx, FLAC__uint32 *ecx, FLAC__uint32 *edx)
1542{
1543# 462 "cpu.c"
1544 FLAC__uint32 ext = level & 0x80000000;
1545 __cpuid(ext, *eax, *ebx, *ecx, *edx);
1546 if (*eax < level) {
1547  *eax = *ebx = *ecx = *edx = 0;
1548  return;
1549 }
1550 __cpuid_count(level, 0, *eax, *ebx, *ecx, *edx);
1551
1552
1553
1554}
1555
1556FLAC__uint32 FLAC__cpu_xgetbv_x86(void)
1557{
1558
1559
1560
1561 FLAC__uint32 lo, hi;
1562 asm volatile (".byte 0x0f, 0x01, 0xd0" : "=a"(lo), "=d"(hi) : "c" (0));
1563 return lo;
1564
1565
1566
1567}