[Zlib-devel] POSTINC under m68k
Cosmin Truta
cosmin at cs.toronto.edu
Fri Sep 12 18:26:55 EDT 2003
Ok, Gunther,
I am forwarding your observation to the zlib-devel list.
If you say that the m68k family works in postinc addressing modes, then
it's probably worthwhile to use POSTINC.
I think that POSTINC should be defined in zconf.h or zutil.h, and I'd
personally prefer zutil.h. But in order to do this, we need a macro that
informs the prepreocessor about the m68k CPU. Is there any? Otherwise,
the definition of POSTINC must be put in makefiles.
Best regards,
Cosmin
PS: If you will send your future messages to zlib-devel at zlib.net, all
subscribers will have a chance to see your comments.
---------- Forwarded message ----------
Date: Fri, 12 Sep 2003 06:02:09 -0400
From: Gunther Nikl <gni at gecko.de>
To: Cosmin Truta <cosmin at cs.toronto.edu>
Subject: Re: zlib 1.2.0.x (fwd)
Hello Cosmin,
> I have a question about POSTINC: does it really make a difference in size?
> If there are only few extra bytes to talk about (as I would expect), then
> I think we shouldn't bother.
The difference with GCC 3.3 is 64/68 bytes depending on the compile flags.
Its true that there seems to be no difference in speed on my 68060 but on
< 68060 I expect it to be a win. The m68k family has postinc addressing
modes and thus I thought that m68k is a candidate to enable it for them.
Gunther
More information about the Zlib-devel
mailing list