------- Comment #3 from ramana at gcc dot gnu dot org 2009-07-06 09:54 ------- (In reply to comment #2) > IIRC push-multiple and pop-multiple are not supported yet. Richard E.? >
I am not sure what you mean here. push and pop multiple are supported to the best of the cases that GCC can detect them. since load and store multiple are not first class citizens, the ARM backend attempts to detect them in the form of peephole2's and peephole's. However this case isn't to do with push or pop multiple but to do with saving space in the thumb prologue and epilogue by emitting push and pop multiple instructions instead of explicit instructions to manipulate the stack. Notice that r2 and r3 are not used in the code that Carrot is proposing in comment #1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657