From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23833 invoked by alias); 22 Dec 2006 10:35:09 -0000 Received: (qmail 23822 invoked by uid 22791); 22 Dec 2006 10:35:07 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Dec 2006 10:34:54 +0000 Received: (qmail 17722 invoked from network); 22 Dec 2006 10:34:52 -0000 Received: from unknown (HELO ?10.0.0.101?) (shinwell@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Dec 2006 10:34:52 -0000 Message-ID: <458BB4C5.3030000@codesourcery.com> Date: Fri, 22 Dec 2006 10:35:00 -0000 From: Mark Shinwell User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Paolo Bonzini CC: gcc patches Subject: Re: Stricter implicit conversions between vectors, revised patch References: <458ABCF8.3020504@codesourcery.com> <458BB0B6.6000200@lu.unisi.ch> In-Reply-To: <458BB0B6.6000200@lu.unisi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01559.txt.bz2 Paolo Bonzini wrote: > [...] why __builtin_altivec_vcmpgefp does not return a > vector bool int. Ah, so that applies for vcmpgefp as well, ok. > So, I think your patch is correct, except that you also have to change > the corresponding C++ code, which is quite wrong (predicates are defined > as templates, and this has let a wrong name through): > > __altivec_binary_pred(vec_cmple, > - __builtin_altivec_cmpge (a2, a1)) > + __builtin_vec_cmpge (a2, a1)) I did wonder about that one, but failed to mention it in the mail :-) Will fix. >> This patch exhibits no changes in testsuite results with all default >> languages on x86_64-unknown-linux-gnu. I haven't quite reached this >> on powerpc64-unknown-linux-gnu but I think the only outstanding problem >> is due to this vcmpgefp issue. > > What is this problem? Given what you say, I believe there is no problem. I'll run the testsuite again; it looks like we are finally there. Thanks, Mark