From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24831 invoked by alias); 24 Sep 2003 19:43:17 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 24824 invoked from network); 24 Sep 2003 19:43:16 -0000 Received: from unknown (HELO ntardis.ee.ethz.ch) (129.132.2.217) by sources.redhat.com with SMTP; 24 Sep 2003 19:43:16 -0000 Received: from localhost (localhost [127.0.0.1]) by ntardis.ee.ethz.ch (Postfix) with ESMTP id 2A512D93CA for ; Wed, 24 Sep 2003 21:43:16 +0200 (MEST) Received: from ntardis.ee.ethz.ch ([127.0.0.1]) by localhost (ntardis [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22664-01-5 for ; Wed, 24 Sep 2003 21:43:16 +0200 (MEST) Received: from tardis-a03.ee.ethz.ch (tardis-a03.ee.ethz.ch [129.132.3.13]) by ntardis.ee.ethz.ch (Postfix) with ESMTP id F1972D9318 for ; Wed, 24 Sep 2003 21:43:15 +0200 (MEST) Received: by tardis-a03.ee.ethz.ch (Postfix, from userid 12121) id 8AF3DAC05; Wed, 24 Sep 2003 21:43:15 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by tardis-a03.ee.ethz.ch (Postfix) with ESMTP id 73F5B8105 for ; Wed, 24 Sep 2003 21:43:15 +0200 (MEST) Date: Wed, 24 Sep 2003 19:43:00 -0000 From: Gerard Basler To: gcc-help@gcc.gnu.org Subject: __builtin_ia32_cmpltps and friends return wrong variable of variable? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by amavisd-new at ee.ethz.ch X-SW-Source: 2003-09/txt/msg00279.txt.bz2 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=E9rard