| 1 |
/* Copyright (C) 2024-2025 Free Software Foundation, Inc. |
| 2 |
This file is part of GCC. |
| 3 |
GCC is free software; you can redistribute it and/or modify |
| 4 |
it under the terms of the GNU General Public License as published by |
| 5 |
the Free Software Foundation; either version 3, or (at your option) |
| 6 |
any later version. |
| 7 |
GCC is distributed in the hope that it will be useful, |
| 8 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 |
GNU General Public License for more details. |
| 11 |
Under Section 7 of GPL version 3, you are granted additional |
| 12 |
permissions described in the GCC Runtime Library Exception, version |
| 13 |
3.1, as published by the Free Software Foundation. |
| 14 |
You should have received a copy of the GNU General Public License and |
| 15 |
a copy of the GCC Runtime Library Exception along with this program; |
| 16 |
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
| 17 |
<http://www.gnu.org/licenses/>. */ |
| 18 |
|
| 19 |
#if !defined _IMMINTRIN_H_INCLUDED |
| 20 |
#error "Never use <avx10_2copyintrin.h> directly; include <immintrin.h> instead." |
| 21 |
#endif |
| 22 |
|
| 23 |
#ifndef _AVX10_2COPYINTRIN_H_INCLUDED |
| 24 |
#define _AVX10_2COPYINTRIN_H_INCLUDED |
| 25 |
|
| 26 |
extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
| 27 |
_mm_move_epi32 (__m128i __A) |
| 28 |
{ |
| 29 |
return _mm_set_epi32 (0, 0, 0, ((__v4si) __A)[0]); |
| 30 |
} |
| 31 |
|
| 32 |
extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
| 33 |
_mm_move_epi16 (__m128i __A) |
| 34 |
{ |
| 35 |
return _mm_set_epi16 (0, 0, 0, 0, 0, 0, 0, ((__v8hi) __A)[0]); |
| 36 |
} |
| 37 |
|
| 38 |
#endif /* _AVX10_2COPYINTRIN_H_INCLUDED */ |