This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New back end ia16: 16-bit Intel x86
Rask Ingemann Lambertsen wrote:
>
>> That backend just got to the point where we can compare code sizes; the
>> code appears 10-20% smaller than the i386 backend with .code16gcc and
>> -Os. Although that is less than I would have expected, that is without
>> any optimizations whatsoever and so the resulting code is actually quite
>> poor.
>
> You could probably save at least as much by using 16-bit integers, thus
> avoiding the 0x66 prefixes.
>
Yes, with 16-bit integers it reduced the code size even further.
-hpa