This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Endian swapping with C code on ARM


Richard Earnshaw <rearnsha@gcc.gnu.org> writes:

> On Tue, 2004-07-13 at 19:15, Richard Henderson wrote:
>> On Tue, Jul 13, 2004 at 05:39:41PM +0200, Falk Hueffner wrote:
>> > I have trouble understanding the point of this frobbing.
>> 
>> Well, for one, QImode is 32 bits on c4x, and SImode is 128 bits.
>
> Which means we have to be very careful to define what we mean by 'byte'
> swapping.

In the documentation I explicitely point out that "byte" always means
exactly 8 bit in this context. I think that's most useful considering
what bswap would be used for.

-- 
	Falk


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