From: "David S. Miller" <davem@dm.cobaltmicro.com>
To: ultralinux@vger.kernel.org
Subject: Re: VIS
Date: Thu, 16 Jul 1998 13:26:38 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-90222358531050@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-90222358531047@msgid-missing>
Date: Thu, 16 Jul 1998 15:12:05 +0200
From: Sven Grundmann <grundema@uni-duesseldorf.de>
Ok I understand that you can't help me with that rc5des
client. But i downloaded the VIS SDK for usage of VIS in my own
computations and read in the documentaion that i need a sun
compiler version 4 or higher ! They have an inline expansion file
in their SDK ( vis.il ) . I am not sure if i can use that with gcc
( cause i don't have that cc 4.x ) and i never used Assembler on a
sun.
(side comment: this *.il inline assembler interface of sunpro is one
of the things I totally think they got wrong and which gcc has a much
superier interface, look at the syntax, it's just gross)
You are right, they will not work "as is" with gcc and would all need
to be rewritten. It's all trivial, for example the first one you
showed would be something like:
extern __inline__ int vis_edge8(void *frs1, void *frs2)
{
__asm__ __volatile__("edge8 %0,%2,%0"
: "=&r" (frs1)
: "0" (frs1), "r" (frs1));
return (int) frs1;
}
in gcc...
And don't forget to tell gcc to pass -Av9a to the assembler.
Later,
David S. Miller
davem@dm.cobaltmicro.com
next prev parent reply other threads:[~1998-07-16 13:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-16 12:23 VIS Sven Grundmann
1998-07-16 12:27 ` VIS David S. Miller
1998-07-16 13:12 ` VIS Sven Grundmann
1998-07-16 13:26 ` David S. Miller [this message]
1998-07-16 23:37 ` VIS Andi Kleen
1998-07-17 3:58 ` VIS David S. Miller
1998-07-17 11:22 ` VIS Andi Kleen
1998-07-17 12:34 ` VIS David S. Miller
1998-07-17 12:44 ` VIS Andi Kleen
1998-07-17 12:46 ` VIS David S. Miller
1998-07-17 13:29 ` VIS Andi Kleen
1998-07-17 13:42 ` VIS David S. Miller
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=marc-linux-ultrasparc-90222358531050@msgid-missing \
--to=davem@dm.cobaltmicro.com \
--cc=ultralinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.