https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49300
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Piotr Wyderski from comment #0) > 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. Not really. $ more pextrq.s pextrq $1, %xmm0, a $ gcc -c -m32 pextrq.s pextrq.s: Assembler messages: pextrq.s:1: Error: `pextrq' is only supported in 64-bit mode