This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49300] New: [x86] Missing SSE4.1 intrinsic function
- From: "piotr.wyderski at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 6 Jun 2011 09:57:40 +0000
- Subject: [Bug c/49300] New: [x86] Missing SSE4.1 intrinsic function
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49300
Summary: [x86] Missing SSE4.1 intrinsic function
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: piotr.wyderski@gmail.com
The _mm_extract_epi64() function is available only on x64, but
according to the instruction set, its underlying pextrq instruction
has the following parameters:
PEXTRQ r/m64, xmm2, imm8
so the m64 mode is available also on 32-bit x86. The function is defined
in smmintrin.h:
#ifdef __x86_64__
extern __inline long long __attribute__((__gnu_inline__, __always_inline__,
__artificial__))
_mm_extract_epi64 (__m128i __X, const int __N)
{
return __builtin_ia32_vec_ext_v2di ((__v2di)__X, __N);
}
#endif