------- Comment #6 from geoffk at gcc dot gnu dot org  2007-10-17 21:28 -------
Shouldn't you have to use

_mm_sll_epi32(s, _mm_cvtsi32_si128 (c))

instead?  Or does the 'i' in 'slli' stand for 'int' not 'immediate'?

I thought that the list of _mm_sl* intrinsics in the assembly reference guide
(Intel doc 253667,  <http://www.intel.com/design/processor/manuals/253667.pdf>,
page 4-172 and 4-173) were supposed to match up one-for-one with the
instructions forms (on page 4-170).  The assembly reference also says that
_mm_slli_epi32 generates a single instruction, as it is listed in table C-1.

On the other hand, icc's documentation,
<http://download.intel.com/support/performancetools/c/linux/v9/intref_cls.pdf>,
on page 137, says for _mm_slli_si128, 'imm must be an immediate', but doesn't
say that for _mm_slli_epi32.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32961

Reply via email to