linux-mips
[Top] [All Lists]

Re: Disabling lwl and lwr instruction generation

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: Disabling lwl and lwr instruction generation
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Thu, 13 Mar 2003 01:52:03 +0100
Cc: Ranjan Parthasarathy <ranjanp@efi.com>, "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <20030313014338.C29568@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <D9F6B9DABA4CAE4B92850252C52383AB0796823C@ex-eng-corp.efi.com> <20030313014338.C29568@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
Ralf Baechle 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.


Thiemo

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