From: Andi Kleen <ak@muc.de>
To: ultralinux@vger.kernel.org
Subject: Re: VIS
Date: Fri, 17 Jul 1998 11:22:47 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-90222358531053@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-90222358531047@msgid-missing>
"David S. Miller" <davem@dm.cobaltmicro.com> writes:
> From: Andi Kleen <ak@muc.de>
> Date: 17 Jul 1998 01:37:07 +0200
>
> "David S. Miller" <davem@dm.cobaltmicro.com> writes:
>
> > (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)
>
> The big advantage of the Sun solution is that their templates are schedulable,
> while this is just impossible with the gcc inline assembly.
>
> Not true at all, it depends upon how a port was done. The Sparc
> backend creates a situation where all use inline asm's are considered
> multi-instruction. GCC does not require this. And if this were
> changed, inline assembly could be scheduled just like anything else.
In theory it could be done (by specifying the function units in a fourth
column similar to what is done in the machine descriptions). The problem with
that is that it would add horrible compiler version/CPU revision dependencies
to the code. When I understand it correctly then Sun's approach avoids this
problem - their templates are not pretty, but portable over revisions.
-Andi
next prev parent reply other threads:[~1998-07-17 11:22 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 ` VIS David S. Miller
1998-07-16 23:37 ` VIS Andi Kleen
1998-07-17 3:58 ` VIS David S. Miller
1998-07-17 11:22 ` Andi Kleen [this message]
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-90222358531053@msgid-missing \
--to=ak@muc.de \
--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.