linux-mips
[Top] [All Lists]

Re: Disabling lwl and lwr instruction generation

To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: Re: Disabling lwl and lwr instruction generation
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 13 Mar 2003 02:18:55 +0100
Cc: Ranjan Parthasarathy <ranjanp@efi.com>, "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <20030313005203.GH13122@rembrandt.csv.ica.uni-stuttgart.de>; from ica2_ts@csv.ica.uni-stuttgart.de on Thu, Mar 13, 2003 at 01:52:03AM +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <D9F6B9DABA4CAE4B92850252C52383AB0796823C@ex-eng-corp.efi.com> <20030313014338.C29568@linux-mips.org> <20030313005203.GH13122@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Thu, Mar 13, 2003 at 01:52:03AM +0100, Thiemo Seufer wrote:

> > On Wed, Mar 12, 2003 at 10:05:20AM -0800, Ranjan Parthasarathy wrote:
> > 
> > > Is there a way to tell gcc to not generate the lwl, lwr instructions?
> > 
> > Gcc will only ever generate these instructions when 
> > __attribute__((unaligned))
> > is used.
> 
> Which might be not that obvious, e.g. __attribute__((packed)) can cause such
> instructions, too.

Typo - I meant __attribute__((packed)).  There is no such thing as
 __attribute__((unaligned)).

  Ralf

<Prev in Thread] Current Thread [Next in Thread>