opt_random.h: Include pmmintrin.h instead of x86intrin.h, and only do so when __SSE3__

* 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

From-SVN: r228786
This commit is contained in:
Nathan Froyd 2015-10-13 20:55:44 +00:00
parent d9a6bd32ad
commit 141aa58b53
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-10-13 Nathan Froyd <froydnj@gcc.gnu.org>
* 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
2015-10-11 Joseph Myers <joseph@codesourcery.com>
* crossconfig.m4 (GLIBCXX_CROSSCONFIG) <*-linux* | *-uclinux* |

View File

@ -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

View File

@ -40,7 +40,7 @@
#include <array>
#include <ext/cmath>
#ifdef __SSE2__
# include <x86intrin.h>
# include <emmintrin.h>
#endif
#if defined(_GLIBCXX_USE_C99_STDINT_TR1) && defined(UINT32_C)