Re: Disabling lwl and lwr instruction generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Mar 2003, 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.

I got lwl and lwr from a memcpy() with two void pointers...

I quickly changed those to the (aligned) structure pointers instead, and
then memcpy() changed to ordinary word loads and stores.

So, is somebody starting a toolchain for that new Chinese CPU? :-)

-Richard


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux