MPC8360e stmw/lmw

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

 



Help!

We've got some C code on the Freescale MPC8360e (powerpc) for which
we're trying to get the compiler to generate load/store multiple
instructions, particularly when saving registers to the stack on a
function call. We've tried using the -mstatic and -mmultiple compiler
flags however it still issues stw instructions for each register. I
have read that declaring global registers can prevent the store
multiple instructions from being used however I cannot find anywhere
in the code where we do that. Is there a flag I can set to throw a
compiler warning or an error for when the compiler refuses to use
load/store multiple instructions (even with the -mstatic and
-mmultiple flags)?

We're using Qnx Neutrino 6.5 with GCC 4.4.2.

Sincerely,

Anthony Amaro, Jr.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux