This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]