From: Simon Chopin <chopin.simon@googlemail.com>
To: gcc@gcc.gnu.org
Subject: Complex vectorization
Date: Thu, 24 Mar 2011 11:55:00 -0000 [thread overview]
Message-ID: <20110324114154.GB28413@student94> (raw)
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
Hi,
I'm currently working on trying to implement a way to use the SIMD
instructions of the SSEx family when computing a vector of complex
numbers.
I have to say that I have never worked on compilation techniques before,
and that I only have little understanding of the vectorization problems.
I've spent a fait amount of time reading documentation and code, and I
came to the conclusion that, at least for the multiplication and
division of complex numbers, I had to implement them as functions in the
libgcc as their scalar counterpart, __mul*c3 and __div*c3.
I face a couple of issues here : what are the C types corresponding to
the vector types, assuming they exist ?
And, also important : I understand that the processor has to be in a
certain state to use the SIMD instructions. Will it stay that way when
calling a function, thus changing partially the environment ?
Have a nice day,
Simon Chopin
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2011-03-24 11:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 11:55 Simon Chopin [this message]
2011-03-24 12:53 ` Richard Guenther
2011-03-24 14:47 ` Simon Chopin
2011-03-24 15:46 ` Richard Guenther
2011-03-24 21:04 ` Richard Henderson
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=20110324114154.GB28413@student94 \
--to=chopin.simon@googlemail.com \
--cc=gcc@gcc.gnu.org \
/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).