This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PowerPC wrong integers on host (was Re: PowerPC `rlwinm' codegen bug )


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]