This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: impact of -minsert-sched-nops


>>>>> Jack Howarth writes:

Jack> Does anyone know what the impact is of using -minsert-sched-nops
Jack> on a non-Power4 processor? That is if I compile some fortran with
Jack> -minsert-sched-nops on g77 for use on a G5, will the same code work
Jack> properly on a G4 as well? Thanks in advance for any clarifications.

	Yes, the NOPs have no effect on G4 processors.  It's the normal
PowerPC NOP instruction.

	However, targeting G5 may generate some other new instructions.
If one does not specify G5 processor, then GCC does not know what
instructions need special group.  Catch-22, unfortunately.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]