public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Daniel Egger <degger@fhm.edu>
To: Matt Thomas <matt@3am-software.com>
Cc: GCC Developer Mailinglist <gcc@gcc.gnu.org>
Subject: Re: AltiVec in gcc-current: questions.
Date: Sat, 10 Aug 2002 09:07:00 -0000	[thread overview]
Message-ID: <1028977308.8173.15.camel@sonja.de.interearth.com> (raw)
In-Reply-To: <5.1.0.14.2.20020810000144.04175008@3am-software.com>

Am Sam, 2002-08-10 um 09.57 schrieb Matt Thomas:

>          vmrghh dst,zero,src
 
> where dst is a vector unsigned int and src is a vector unsigned short.
> (dst could equally be a vector signed int).  But the builtins say
> that vmrg[hl]h only result in V8HI.

This is correct. The result of the vec_merge* operations is always the
same type as the arguments.

> This wouldn't be so bad if I could cast the vectors but the compiler
> seems to disallow that.

Where did that fail? Casting vectors should be fine...
 
-- 
Servus,
       Daniel

      reply	other threads:[~2002-08-10  9:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-10  1:00 Matt Thomas
2002-08-10  9:07 ` Daniel Egger [this message]

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=1028977308.8173.15.camel@sonja.de.interearth.com \
    --to=degger@fhm.edu \
    --cc=gcc@gcc.gnu.org \
    --cc=matt@3am-software.com \
    /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).