summaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-13 20:55:44 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-13 20:55:44 +0000
commit2fb114d0b27803f56463d2703a7b2d87c78a6cb7 (patch)
treef2b06731895afcb27aaf49776355936f72faccdb /libstdc++-v3/config
parent43895be5773360d358760e215f3d7b6a09267bfd (diff)
downloadgcc-2fb114d0b27803f56463d2703a7b2d87c78a6cb7.tar.gz
* config/cpu/i486/opt/bits/opt_random.h: Include pmmintrin.h instead
of x86intrin.h, and only do so when __SSE3__ * include/ext/random: Include emmintrin.h instead of x86intrin.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228786 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h b/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
index 4495569ab26..a9f6c1355e7 100644
--- a/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
+++ b/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
@@ -30,7 +30,9 @@
#ifndef _BITS_OPT_RANDOM_H
#define _BITS_OPT_RANDOM_H 1
-#include <x86intrin.h>
+#ifdef __SSE3__
+#include <pmmintrin.h>
+#endif
#pragma GCC system_header