This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC wrong integers on host (was Re: PowerPC `rlwinm' codegen bug )
- To: Todd Vierling <tv at pobox dot com>
- Subject: Re: PowerPC wrong integers on host (was Re: PowerPC `rlwinm' codegen bug )
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 06 Jan 1999 00:40:47 -0500
- Cc: egcs-bugs at cygnus dot com
>>>>> Todd Vierling writes:
Todd> It seems that all the messing with bitfields in rs6000.c uses HOST_WIDE_INT,
Todd> which on my host (Alpha) is NOT 32 bits. This falls under the `DUH!'
Todd> category.
Ah, yes, you did not specify your target. The PowerPC port is
known to assume 32-bit words in a number of locations. A fundamental
problem is that the PowerPC port "knows" that a GCC CONST_INT is 32-bits
for some tests when materializing integer constants -- patterns matching
CONST_INT assume that they only will need to handle 32-bits.
If you want to help start cleaning this up, that would be great.
David