Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/xmmintrin.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Copyright (C) 2002-2017 Free Software Foundation, Inc. | 1 /* Copyright (C) 2002-2018 Free Software Foundation, Inc. |
2 | 2 |
3 This file is part of GCC. | 3 This file is part of GCC. |
4 | 4 |
5 GCC is free software; you can redistribute it and/or modify | 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 | 6 it under the terms of the GNU General Public License as published by |
1009 | 1009 |
1010 /* Sets the low SPFP value of A from the low value of B. */ | 1010 /* Sets the low SPFP value of A from the low value of B. */ |
1011 extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__)) | 1011 extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
1012 _mm_move_ss (__m128 __A, __m128 __B) | 1012 _mm_move_ss (__m128 __A, __m128 __B) |
1013 { | 1013 { |
1014 return (__m128) __builtin_ia32_movss ((__v4sf)__A, (__v4sf)__B); | 1014 return (__m128) __builtin_shuffle ((__v4sf)__A, (__v4sf)__B, |
1015 __extension__ | |
1016 (__attribute__((__vector_size__ (16))) int) | |
1017 {4,1,2,3}); | |
1015 } | 1018 } |
1016 | 1019 |
1017 /* Extracts one of the four words of A. The selector N must be immediate. */ | 1020 /* Extracts one of the four words of A. The selector N must be immediate. */ |
1018 #ifdef __OPTIMIZE__ | 1021 #ifdef __OPTIMIZE__ |
1019 extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) | 1022 extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |