From: Robert de Bath <robert$@mayday.cix.co.uk>
To: Harry Kalogirou <harkal@gmx.net>
Cc: Linux-8086 <linux-8086@vger.kernel.org>
Subject: Re: More dev86 changes (0.16.7) [About the optimiser]
Date: Sat, 3 Aug 2002 12:01:11 +0100 (BST) [thread overview]
Message-ID: <792cfcad22189d73@mayday.cix.co.uk> (raw)
In-Reply-To: <1028367438.471.5.camel@cool>
On 3 Aug 2002, Harry Kalogirou wrote:
> Hi Robert,
>
> lately I was studing the assembly code bcc was generating and I noticed
> that it generates a lot of code like this :
>
> mov ax, 6[bp]
> mov bx, 8[bp]
> xchg ax, bx
>
> Will it be hard to convince the compiler to generate
>
> mov ax, 8[bp]
> mov bx, 6[bp]
>
> instead?
There's aren't many places xchg is used by bcc, I'd guess this one is
shifting longs but it'd help a lot if you gave me some of the original
C code too.
--
Rob. (Robert de Bath <robert$ @ debath.co.uk>)
<http://www.cix.co.uk/~mayday>
next prev parent reply other threads:[~2002-08-03 11:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-02 20:18 More dev86 changes (0.16.7) Robert de Bath
2002-08-02 20:24 ` Manuel Novoa III
2002-08-03 10:17 ` More dev86 changes (0.16.7) [About the optimiser] Harry Kalogirou
2002-08-03 11:01 ` Robert de Bath [this message]
2002-08-03 11:31 ` Robert de Bath
2002-08-03 12:24 ` Harry Kalogirou
2002-08-10 19:36 ` More dev86 changes (0.16.7) Manuel Novoa III
2002-08-10 20:28 ` Robert de Bath
2002-08-11 1:06 ` Manuel Novoa III
2002-08-11 16:44 ` dev86-0.16.8 cpp bugs Manuel Novoa III
2002-08-11 19:19 ` Robert de Bath
2002-08-11 20:01 ` Manuel Novoa III
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=792cfcad22189d73@mayday.cix.co.uk \
--to=robert$@mayday.cix.co.uk \
--cc=harkal@gmx.net \
--cc=linux-8086@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox