Thread (16 messages) 16 messages, 7 authors, 2007-03-26

Re: [Cbe-oss-dev] [PATCH] force -mno-string option on cell

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-03-23 20:46:20

On Friday 23 March 2007, Segher Boessenkool wrote:
=A0=A0=A0=A0=A0=A0=A0=A0CFLAGS_whatever.o :=3D -msome-flags
=20
It would be even better to not lie to the compiler by
telling it it can use the LS area as normal memory, since
evidently it cannot :-)
Yes, this is the important point. I actually think the first
patch that just replaces memcpy with memcpy_fromio is the
right solution for the specific problem.

Avoiding certain instructions in the kernel may be a good
thing to do as well, but this is not at all a cell specific
thing.

Maybe we should have a more detailed CPU selection Kconfig
option like

CPU Family
   * 64 bit common (power3/4/5/6, ppc970, cell, *star)
   * 32 bit common (6xx, 82xx, 83xx, 86xx)
   * 40x/44x
   * ...

Minimum supported CPU (gcc -march=3D, depending on above selection)
   * 603
   * 604
   * 750
   * power3
   * power4
   * 970

Optimize for CPU (gcc -mtune)
   (subset of the -march list as before)

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help