public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Shinwell <shinwell@codesourcery.com>
To: Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
Cc: gcc patches <gcc-patches@gcc.gnu.org>
Subject: Re: Stricter implicit conversions between vectors, revised patch
Date: Fri, 22 Dec 2006 10:35:00 -0000	[thread overview]
Message-ID: <458BB4C5.3030000@codesourcery.com> (raw)
In-Reply-To: <458BB0B6.6000200@lu.unisi.ch>

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

  reply	other threads:[~2006-12-22 10:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21 16:57 Mark Shinwell
2006-12-22 10:17 ` Paolo Bonzini
2006-12-22 10:35   ` Mark Shinwell [this message]
2006-12-22 13:35     ` Mark Shinwell
2006-12-23 18:46       ` Mark Shinwell
2006-12-28  8:48         ` Gerald Pfeifer
2007-01-08  9:57           ` Mark Shinwell
2007-01-08 16:00             ` Gerald Pfeifer
2007-01-03 22:17         ` Mark Mitchell
2007-01-09  4:16           ` Andrew Pinski
2007-01-11 23:17           ` Joseph S. Myers
2007-01-12  8:29             ` Paolo Bonzini
2007-01-12 13:16               ` Joseph S. Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=458BB4C5.3030000@codesourcery.com \
    --to=shinwell@codesourcery.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=paolo.bonzini@lu.unisi.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).