summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authordrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-09 14:22:10 +0000
committerdrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-09 14:22:10 +0000
commit865812bf75d27473d32386711289e7a14832da31 (patch)
tree602b5169923319f3a07641e93d8f934b27d2c271 /libstdc++-v3/src
parent5cf7e051674826c62b2d70c98530387013309834 (diff)
downloadppe42-gcc-865812bf75d27473d32386711289e7a14832da31.tar.gz
ppe42-gcc-865812bf75d27473d32386711289e7a14832da31.zip
gcc/
* config/i386/cpuid.h: Define signature_*_e[bcd]x macros for matching results of level 0 calls to __cpuid to processor manufacturers. * config/i386/driver-i386.c (vendor_signatures): Removed. (processor_signatures): Removed. (host_detect_local_cpu): Replace uses of now-removed SIG_* constants with the new signature_*_ebx constants. libstdc++-v3/ * src/c++11/random.cc (random_device::_M_init): Use new macro signature_INTEL_ebx to check for Intel processors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/c++11/random.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/src/c++11/random.cc b/libstdc++-v3/src/c++11/random.cc
index f5ee9f4fa61..3b05318ea4c 100644
--- a/libstdc++-v3/src/c++11/random.cc
+++ b/libstdc++-v3/src/c++11/random.cc
@@ -79,7 +79,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
unsigned int eax, ebx, ecx, edx;
// Check availability of cpuid and, for now at least, also the
// CPU signature for Intel's
- if (__get_cpuid_max(0, &ebx) > 0 && ebx == 0x756e6547)
+ if (__get_cpuid_max(0, &ebx) > 0 && ebx == signature_INTEL_ebx)
{
__cpuid(1, eax, ebx, ecx, edx);
if (ecx & bit_RDRND)
OpenPOWER on IntegriCloud