nmmintrin.h revision 205408
11539Srgrimes/*===---- nmmintrin.h - SSE intrinsics -------------------------------------=== 21539Srgrimes* 31539Srgrimes* Permission is hereby granted, free of charge, to any person obtaining a copy 41539Srgrimes* of this software and associated documentation files (the "Software"), to deal 51539Srgrimes* in the Software without restriction, including without limitation the rights 61539Srgrimes* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 71539Srgrimes* copies of the Software, and to permit persons to whom the Software is 81539Srgrimes* furnished to do so, subject to the following conditions: 91539Srgrimes* 101539Srgrimes* The above copyright notice and this permission notice shall be included in 111539Srgrimes* all copies or substantial portions of the Software. 121539Srgrimes* 131539Srgrimes* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 141539Srgrimes* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 151539Srgrimes* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 161539Srgrimes* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 171539Srgrimes* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 181539Srgrimes* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 191539Srgrimes* THE SOFTWARE. 201539Srgrimes* 211539Srgrimes*===-----------------------------------------------------------------------=== 221539Srgrimes*/ 231539Srgrimes 241539Srgrimes#ifndef _NMMINTRIN_H 251539Srgrimes#define _NMMINTRIN_H 261539Srgrimes 271539Srgrimes#ifndef __SSE4_2__ 281539Srgrimes#error "SSE4.2 instruction set not enabled" 291539Srgrimes#else 301539Srgrimes 311539Srgrimes/* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h, 321539Srgrimes just include it now then. */ 331539Srgrimes#include <smmintrin.h> 341539Srgrimes#endif /* __SSE4_2__ */ 351539Srgrimes#endif /* _NMMINTRIN_H */