Optimizer questions/issues with EBCDIC i370/s390 modes.

David Edelsohn dje@watson.ibm.com
Wed Aug 21 14:12:00 GMT 2002


>>>>> Dave Pitts writes:

Dave> I've a few questions concerning the operation of the optimizer when cross
Dave> compiling on an ASCII based system for an EBCDIC based system. These
Dave> things work correctly when compiling natively on an EBCDIC system. I'm
Dave> using the 3.2 release with my i370 changes.

	The right place to begin looking for strcpy and printf
optimizations probably  is builtins.c and c-common.c.

	The asms are trying to inline 32x32->64 multiply and equivalent
divide.  I think that impossible reload means that GCC can't figure out
how to generate valid instructions to move the arguments into the
registers required by the asm constraints.  Maybe the s390 port can
provide some guidance?

David



More information about the Gcc mailing list