1 #include <resources/processor.h>
2 #include <proto/processor.h>
6 #include "cpuspecific.h"
12 static const char *features
[] =
30 void PrintCPUSpecificInfo(ULONG i
, APTR ProcessorBase
)
33 BOOL flags
[FLAGS_NUM
];
34 struct TagItem tags
[FLAGS_NUM
+ 2] =
36 {GCIT_SelectedProcessor
, i
},
37 {GCIT_SupportsFPU
, (IPTR
)&flags
[0 ]},
38 {GCIT_SupportsMMX
, (IPTR
)&flags
[1 ]},
39 {GCIT_SupportsMMXEXT
, (IPTR
)&flags
[2 ]},
40 {GCIT_Supports3DNOW
, (IPTR
)&flags
[3 ]},
41 {GCIT_Supports3DNOWEXT
, (IPTR
)&flags
[4 ]},
42 {GCIT_SupportsSSE
, (IPTR
)&flags
[5 ]},
43 {GCIT_SupportsSSE2
, (IPTR
)&flags
[6 ]},
44 {GCIT_SupportsSSE3
, (IPTR
)&flags
[7 ]},
45 {GCIT_SupportsSSSE3
, (IPTR
)&flags
[8 ]},
46 {GCIT_SupportsSSE41
, (IPTR
)&flags
[9 ]},
47 {GCIT_SupportsSSE42
, (IPTR
)&flags
[10]},
48 {GCIT_SupportsSSE4A
, (IPTR
)&flags
[11]},
49 {GCIT_SupportsNoExecutionBit
, (IPTR
)&flags
[12]},
50 {GCIT_Supports64BitMode
, (IPTR
)&flags
[13]},
56 printf("\t\tFeatures: ");
58 for (i
= 0; i
< FLAGS_NUM
; i
++)
64 printf("%s ", features
[i
]);