linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* is gcc optimized for g4 processors ?
       [not found] <8EC5DD61D2E46E3CC125687900528BB1.00528C13C1256879@kehl.dalim.de>
@ 2000-02-02 17:01 ` Stephane GEORGES
  2000-02-02 17:33   ` Holger Bettag
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephane GEORGES @ 2000-02-02 17:01 UTC (permalink / raw)
  Cc: linuxppc-dev


I'm doing performance tests on my G4 - 400 AGP.
I would like to know if gcc (egcs-2.91.66) can be optimized for G4 processor.

Does -mcpu=7400 exists ?

--

/====================================================================/|
| Stephane GEORGES                     |                             ||
| DALiM SOFTWARE GmbH      R&D         |    Tel: +49 7851 9196 40    ||
| Strassburger Str.6                   |    Fax: +49 7851 7357 6     ||
| D-77696                              |                             ||
| Kehl-Sundheim (Germany)              |    E-mail: sg@dalim.de      ||
|____________________________________________________________________|/


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: is gcc optimized for g4 processors ?
  2000-02-02 17:01 ` is gcc optimized for g4 processors ? Stephane GEORGES
@ 2000-02-02 17:33   ` Holger Bettag
  2000-02-02 17:36   ` René Pachernegg
  2000-02-02 17:38   ` David Edelsohn
  2 siblings, 0 replies; 4+ messages in thread
From: Holger Bettag @ 2000-02-02 17:33 UTC (permalink / raw)
  To: linuxppc-dev


Stephane GEORGES <sg@dalim.de> writes:

>
>
> I'm doing performance tests on my G4 - 400 AGP.
> I would like to know if gcc (egcs-2.91.66) can be optimized for G4 processor.
>
> Does -mcpu=7400 exists ?
>
I don't think the option is in there yet. But -mcpu=604e should fit the 7400
quite well, for both integer and floating point code. The only big scheduling
difference would be for integer multiplications.

(The 604e has a separate, pipelined integer multiplier, while the 7400's is
non-pipelined and blocks one of the integer units, but has an early-exit-
capability if one the factors has less than 32 significant bits.)

  Holger


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: is gcc optimized for g4 processors ?
  2000-02-02 17:01 ` is gcc optimized for g4 processors ? Stephane GEORGES
  2000-02-02 17:33   ` Holger Bettag
@ 2000-02-02 17:36   ` René Pachernegg
  2000-02-02 17:38   ` David Edelsohn
  2 siblings, 0 replies; 4+ messages in thread
From: René Pachernegg @ 2000-02-02 17:36 UTC (permalink / raw)
  To: Stephane GEORGES; +Cc: linuxppc-dev


Stephane GEORGES wrote:
>
> I'm doing performance tests on my G4 - 400 AGP.
> I would like to know if gcc (egcs-2.91.66) can be optimized for G4 processor.
>
> Does -mcpu=7400 exists ?
It doesnt seem to exist.
Have a look at http://gcc.gnu.org/onlinedocs/gcc_2.html (Docs of all the
command line options) !

Regards
	René

>
> --
>
> /====================================================================/|
> | Stephane GEORGES                     |                             ||
> | DALiM SOFTWARE GmbH      R&D         |    Tel: +49 7851 9196 40    ||
> | Strassburger Str.6                   |    Fax: +49 7851 7357 6     ||
> | D-77696                              |                             ||
> | Kehl-Sundheim (Germany)              |    E-mail: sg@dalim.de      ||
> |____________________________________________________________________|/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: is gcc optimized for g4 processors ?
  2000-02-02 17:01 ` is gcc optimized for g4 processors ? Stephane GEORGES
  2000-02-02 17:33   ` Holger Bettag
  2000-02-02 17:36   ` René Pachernegg
@ 2000-02-02 17:38   ` David Edelsohn
  2 siblings, 0 replies; 4+ messages in thread
From: David Edelsohn @ 2000-02-02 17:38 UTC (permalink / raw)
  To: Stephane GEORGES; +Cc: linuxppc-dev


>>>>> Stephane GEORGES writes:

Stephane> I'm doing performance tests on my G4 - 400 AGP.
Stephane> I would like to know if gcc (egcs-2.91.66) can be optimized for G4 processor.

Stephane> Does -mcpu=7400 exists ?

	Currently there are no scheduling definitions for MPC7400
integrated into GCC.

David

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-02 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8EC5DD61D2E46E3CC125687900528BB1.00528C13C1256879@kehl.dalim.de>
2000-02-02 17:01 ` is gcc optimized for g4 processors ? Stephane GEORGES
2000-02-02 17:33   ` Holger Bettag
2000-02-02 17:36   ` René Pachernegg
2000-02-02 17:38   ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).