1/* Copyright (C) 2006 Free Software Foundation, Inc.
2
3 This file is part of GCC.
4
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
--- 15 unchanged lines hidden (view full) ---
25 Public License. */
26
27/* Implemented from the specification included in the Intel C++ Compiler
28 User Guide and Reference, version 9.1. */
29
30#ifndef _TMMINTRIN_H_INCLUDED
31#define _TMMINTRIN_H_INCLUDED
32
33#ifdef __SSSE3__
34#include <pmmintrin.h>
35
36static __inline __m128i __attribute__((__always_inline__))
37_mm_hadd_epi16 (__m128i __X, __m128i __Y)
38{
39 return (__m128i) __builtin_ia32_phaddw128 ((__v8hi)__X, (__v8hi)__Y);
40}
41
--- 183 unchanged lines hidden ---
2
3 This file is part of GCC.
4
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
--- 15 unchanged lines hidden (view full) ---
25 Public License. */
26
27/* Implemented from the specification included in the Intel C++ Compiler
28 User Guide and Reference, version 9.1. */
29
30#ifndef _TMMINTRIN_H_INCLUDED
31#define _TMMINTRIN_H_INCLUDED
32
33#ifdef __SSSE3__
34#include <pmmintrin.h>
35
36static __inline __m128i __attribute__((__always_inline__))
37_mm_hadd_epi16 (__m128i __X, __m128i __Y)
38{
39 return (__m128i) __builtin_ia32_phaddw128 ((__v8hi)__X, (__v8hi)__Y);
40}
41
--- 183 unchanged lines hidden ---