This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: m68k-coff-gcc and NOPs


+-+-----------------------------------------------------------------+-+
|o|                                                                 |o|
|o|  > Does anybody know why the 68K version of gcc compiles a      |o|
|o|  > NOP instruction at the end of each function, after the       |o|
|o|  > RTS?                                                         |o|
|o|                                                                 |o|
+-+-----------------------------------------------------------------+-+

It's been a long time since I worked with the Motorola chips, but if I
remember correctly, the design of the instruction pipeline required a
NOP after the return instruction for best performance.





------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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