comparison gcc/config/i386/emmintrin.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) 2003-2017 Free Software Foundation, Inc. 1 /* Copyright (C) 2003-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
111 111
112 /* Sets the low DPFP value of A from the low value of B. */ 112 /* Sets the low DPFP value of A from the low value of B. */
113 extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__)) 113 extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
114 _mm_move_sd (__m128d __A, __m128d __B) 114 _mm_move_sd (__m128d __A, __m128d __B)
115 { 115 {
116 return (__m128d) __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B); 116 return __extension__ (__m128d) __builtin_shuffle ((__v2df)__A, (__v2df)__B, (__v2di){2, 1});
117 } 117 }
118 118
119 /* Load two DPFP values from P. The address must be 16-byte aligned. */ 119 /* Load two DPFP values from P. The address must be 16-byte aligned. */
120 extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__)) 120 extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
121 _mm_load_pd (double const *__P) 121 _mm_load_pd (double const *__P)