This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizer questions/issues with EBCDIC i370/s390 modes.
- From: Dave Pitts <dpitts at cozx dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 17:55:43 -0600
- Subject: Re: Optimizer questions/issues with EBCDIC i370/s390 modes.
- Organization: Colorado Zephyrs
- References: <200208212111.RAA28120@makai.watson.ibm.com>
- Reply-to: dpitts at cozx dot com
David Edelsohn wrote:
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.
OK, got these figured out. Whew, is this getting ugly.
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?
The s390 mode doesn't have any longlong.h entries. I'll have to think
about this one.
Any idea who wrote these macros? They may have some insight.
David
--
Dave Pitts PULLMAN: Travel and sleep in safety and comfort.
dpitts@cozx.com My other RV IS a Pullman (Colorado Pine).
http://www.cozx.com/~dpitts