aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llprocessor.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llcommon/llprocessor.h
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llprocessor.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llprocessor.h b/linden/indra/llcommon/llprocessor.h
index fd9a5da..79dd1e8 100644
--- a/linden/indra/llcommon/llprocessor.h
+++ b/linden/indra/llcommon/llprocessor.h
@@ -40,6 +40,20 @@
40#define PROCESSOR_FREQUENCY_MEASURE_AVAILABLE 40#define PROCESSOR_FREQUENCY_MEASURE_AVAILABLE
41#endif 41#endif
42 42
43#if LL_MSVC && _M_X64
44# define LL_X86_64 1
45# define LL_X86 1
46#elif LL_MSVC && _M_IX86
47# define LL_X86 1
48#elif LL_GNUC && ( defined(__amd64__) || defined(__x86_64__) )
49# define LL_X86_64 1
50# define LL_X86 1
51#elif LL_GNUC && ( defined(__i386__) )
52# define LL_X86 1
53#elif LL_GNUC && ( defined(__powerpc__) || defined(__ppc__) )
54# define LL_PPC 1
55#endif
56
43 57
44typedef struct ProcessorExtensions 58typedef struct ProcessorExtensions
45{ 59{
@@ -71,6 +85,7 @@ typedef struct ProcessorExtensions
71 bool FXSR_FastStreamingSIMD_ExtensionsSaveRestore; 85 bool FXSR_FastStreamingSIMD_ExtensionsSaveRestore;
72 bool SSE_StreamingSIMD_Extensions; 86 bool SSE_StreamingSIMD_Extensions;
73 bool SSE2_StreamingSIMD2_Extensions; 87 bool SSE2_StreamingSIMD2_Extensions;
88 bool Altivec_Extensions;
74 bool SS_SelfSnoop; 89 bool SS_SelfSnoop;
75 bool HT_HyperThreading; 90 bool HT_HyperThreading;
76 unsigned int HT_HyterThreadingSiblings; 91 unsigned int HT_HyterThreadingSiblings;