This is the mail archive of the gcc-patches@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: PATCH: problem with BImode and BITS_PER_UNIT != 8


Richard Henderson wrote :
> 
> On Mon, Sep 25, 2000 at 09:46:41PM +0100, Herman ten Brugge wrote:
> > 	* rtl.c: Modify calculation of mode_bitsize array when
> > 	BITS_PER_UNIT != 8.
> 
> Alternately, we could use 0 instead of a specific bit size when
> we want things to be in terms of units.

I do not understand this. The c4x target allways had QImode defined as
32 bits. QImode in the new machmode.def file is defined as 8 bits. My
patch modifies this into 32 bits by multiplying the value by
(BITS_PER_UNIT / 8). This patch is also needed for the 1750a and dsp16xx.

Where should we put the 0 into this calculation?

	Herman.

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