public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dorit Naishlos <DORIT@il.ibm.com>
To: "Mads Lindstrøm" <mads_lindstroem@yahoo.dk>
Cc: gcc@gcc.gnu.org
Subject: Re: more SIMD operations
Date: Mon, 08 Dec 2003 16:56:00 -0000	[thread overview]
Message-ID: <OFA2C44E2B.94C3B9BA-ONC2256DF6.00592C62-C2256DF6.005DD255@il.ibm.com> (raw)





> I am currently developing a background subtraction
> program and I am looking at SIMD instructions to speed
> it up. I would like to do this without the use of
> assempler. I have therefore been looking at GCC's
> support of such operations and found
> http://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html.

Another form of support for this kind of operations is the builtin
functions, as in -
http://gcc.gnu.org/onlinedocs/gcc/PowerPC-AltiVec-Built-in-Functions.html,
which might or might not be relevant for you depending on your target
machine.

> However GCC seems only to support +, -, *, /, and
> unary minus. Are there any plans to support more
> operators? I am especially thinking about saturated
> versions of  +, -, *, /, and absdiff.

Yes. As part of the autovectorization project -
http://gcc.gnu.org/projects/tree-ssa/vectorization.html, we will need to
add support for additional operators. We still need to decide what form
this support will take (generic builtin functions maybe), and to decide
which set of operations we are going to support. Saturated operations are
strong candidates. Saturation in general is something we plan to address
(as you can see on the webpage).

dorit

             reply	other threads:[~2003-12-08 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 16:56 Dorit Naishlos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-07 19:19 Mads Lindstrøm

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=OFA2C44E2B.94C3B9BA-ONC2256DF6.00592C62-C2256DF6.005DD255@il.ibm.com \
    --to=dorit@il.ibm.com \
    --cc=gcc@gcc.gnu.org \
    --cc=mads_lindstroem@yahoo.dk \
    /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).