From: "H. Peter Anvin" <hpa@zytor.com>
To: Etienne Lorrain <etienne_lorrain@yahoo.fr>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
vgoyal@in.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: Re : Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
Date: Tue, 06 Feb 2007 16:59:27 -0800 [thread overview]
Message-ID: <45C9246F.9050300@zytor.com> (raw)
In-Reply-To: <965140.82745.qm@web26914.mail.ukl.yahoo.com>
Etienne Lorrain wrote:
> H. Peter Anvin wrote:
>> I've long wished that someone would do a proper 16-bit x86 port of gcc;
>
>> however, the .code16gcc is usually good enough, although it produces
>> code which is a lot bigger than it needs to be.
>
> It is only that much bigger if you compare to 16 bits integer compilers,
> but once you deal with 32 bits integers in real mode you have one extra byte
> out of the two - which is still better than dealing with dx:ax.
>
> Last time I compiled (long time ago) some piece of code with and without
> .code16gcc it was approx 15% bigger - approx what you get when optimising.
>
That's not a valid comparison, because you're using 32-bit registers to
hold 16-bit pointers, and then sticking 67 prefixes on completely
unnecessarily.
-hpa
next prev parent reply other threads:[~2007-02-07 0:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 22:19 Re : Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3 Etienne Lorrain
2007-02-07 0:59 ` H. Peter Anvin [this message]
2007-02-07 2:48 ` Eric W. Biederman
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=45C9246F.9050300@zytor.com \
--to=hpa@zytor.com \
--cc=ebiederm@xmission.com \
--cc=etienne_lorrain@yahoo.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=vgoyal@in.ibm.com \
/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