This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
x86 Intrinsics in GCC 4.2 (_mm_slli_epi32)
- From: "Mike Lewis" <mikelikespie at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 1 Aug 2007 10:49:10 -0700
- Subject: x86 Intrinsics in GCC 4.2 (_mm_slli_epi32)
Hi,
I'm having an issue getting my software to compile with GCC 4.2. I
use x86 intrinsics such as _mm_slli_epi32 and I pass the second
parameter as a variable. This works fine with GCC 4.1, and ICC 9.1.
Now, with GCC 4.2 I get "error: shift must be an immediate" for the
lines.
here's the version info of the GCC 4.2 I am using: gcc (GCC) 4.2.0
(Gentoo 4.2.0 p1.4)
Thanks,
Mike