public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* __builtin_ia32_cmpltps and friends return wrong variable of variable?
@ 2003-09-24 19:43 Gerard Basler
  0 siblings, 0 replies; only message in thread
From: Gerard Basler @ 2003-09-24 19:43 UTC (permalink / raw)
  To: gcc-help

Hello,

I'm trying to write a small program using sse intrinsics and I have the
following problem:

__builtin_ia32_cmpltps and friends return "v4si" but I think it should
be "v4sf"!? Even in the online manual is wrong?
http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/X86-Built-in-Functions.htm

cmpltps is an sse instruction therefore "v4sf" should be returned.
"v4si" belongs to sse2!

This is the error message:

gcc-sse-test.cpp: In function `void CalcPixelRowMandel(int, unsigned
int*)':
gcc-sse-test.cpp:81: cannot convert `vector int' to `vector float' in
   assignment

I am now confused... please help!

Thanks.

Gérard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-24 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 19:43 __builtin_ia32_cmpltps and friends return wrong variable of variable? Gerard Basler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).